Skip to main content

An API wrapper in Python for Guilded's user & bot APIs

Project description

Welcome to guilded.py, a discord.py-esque asynchronous Python wrapper for Guilded's user and bot APIs. 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()
# If you're using a userbot, you would use UserbotClient() instead.

@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')
# If you're using a userbot, you would use an email & password instead of an access token.

Bot example

import guilded
from guilded.ext import commands

bot = commands.Bot(command_prefix='!')
# If you're using a userbot, you would use UserbotBot() instead.

@bot.command()
async def ping(ctx):
    await ctx.send('pong!')

bot.run('token')
# If you're using a userbot, you would use an email & password instead of an access 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.

  1. Join the Guilded-API server
  2. Click on the far-left plus sign
  3. Click the "Follow" button on the guilded.py group

Project details


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.1.0.tar.gz (183.3 kB view hashes)

Uploaded Source

Built Distribution

guilded.py-1.1.0-py3-none-any.whl (220.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page