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
Guilded.py has a support channel under its dedicated group for any questions you may have.
-
Join this server
-
Click on the far-left plus sign
-
Click the "Follow" button on the guilded.py group
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.9.1.tar.gz
(194.2 kB
view hashes)
Built Distribution
guilded.py-1.9.1-py3-none-any.whl
(249.7 kB
view hashes)
Close
Hashes for guilded.py-1.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68ae6e823957999c76d09bd23cc455bd8f6e78c2f7d41cc423aa031cae1c90e4 |
|
MD5 | 4c4d69845065a1670d0031312e8a2711 |
|
BLAKE2b-256 | be21f2a6e403355d52c21d4bbc754ae6c71332c961332077478763ec00f66034 |