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
In the works. Fortunately, if you've used discord.py before, you'll already have a head start.
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 the Guilded-API 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.3.0.tar.gz
(163.3 kB
view hashes)
Built Distribution
guilded.py-1.3.0-py3-none-any.whl
(211.5 kB
view hashes)
Close
Hashes for guilded.py-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dadf390c398333523e148fffb3055d41ad4056c253e53a6c68282b69b6f6f6f6 |
|
MD5 | dfd04a440c8f3e8c5c0a849e7e1ac5eb |
|
BLAKE2b-256 | 7540e7b0d86cd5d059b1c4fcb2a6c8551d23f0c6ba9ae81b9d8a236e7f33186e |