Simple discord gateway library
Project description
Simple way to interact with your discord bot.
Installation
pip install yoshaas-gateway
Example Usage
from discord_gateway import Intents
from discord_gateway.commands import CommandsBot
bot = CommandsBot(command_prefix='!', intents=Intents.All)
@bot.event
async def on_ready():
print(bot.user.tag, 'is up')
@bot.command()
async def ping(ctx):
await ctx.reply('pong!')
bot.run('TOKEN HERE') # Runs your bot
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
yoshaas-gateway-1.0.5.tar.gz
(12.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yoshaas-gateway-1.0.5.tar.gz.
File metadata
- Download URL: yoshaas-gateway-1.0.5.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5718fd64062b2e2b3997343dbdacc986ae0d310ae5ca637cd19eade4b880c54b
|
|
| MD5 |
c37761353f8f0ac08151e54ba4d2f3a3
|
|
| BLAKE2b-256 |
1c647bd3a97325d764f80f0713817596dd42bb7549f391930753a617e6321a14
|
File details
Details for the file yoshaas_gateway-1.0.5-py3-none-any.whl.
File metadata
- Download URL: yoshaas_gateway-1.0.5-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f36720786ef4009f7ca037c791b332c1d4af9ffad9b32a96c2acaab46fe760d8
|
|
| MD5 |
ec43943e645ea2c9c2304a3a8b50f93f
|
|
| BLAKE2b-256 |
8223844eb9a6255c85acaf418be3a2000204264785c3655ce74543ca6bbd4a84
|