An API wrapper in Python for Guilded's bot API
Project description
Welcome to guilded.py, a discord.py-esque asynchronous Python wrapper for Guilded's bot API. If you know discord.py, you know guilded.py.
Documentation
Documentation is available on Read the Docs.
Basic Example
import guilded
client = guilded.Client()
@client.event
async def on_ready():
print('Ready')
@client.event
async def on_message(message):
if message.author == client.user:
return
if message.content == 'ping':
await message.channel.send('pong!')
client.run('token')
Bot example
import guilded
from guilded.ext import commands
bot = commands.Bot(command_prefix='!')
@bot.command()
async def ping(ctx):
await ctx.send('pong!')
bot.run('token')
For more examples, see the examples directory in this repository.
Support
Join the guilded.py server for help & discussion. Use the #library-help channel.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
guilded.py-1.12.1.tar.gz
(203.3 kB
view hashes)
Built Distribution
guilded.py-1.12.1-py3-none-any.whl
(260.6 kB
view hashes)
Close
Hashes for guilded.py-1.12.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93f3249a48d9da4bf69aa422d371c667c8e477052400b2ca534f39a52aa261b4 |
|
MD5 | 6c0bc9e3c4ad2a7c0f167b9a039f7cfe |
|
BLAKE2b-256 | feb60ccb9ad38965c4ce36c0df2068ede1aa90e3f6b52bb5180bd0876eefc95b |