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.3.tar.gz
(11.8 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.3.tar.gz.
File metadata
- Download URL: yoshaas-gateway-1.0.3.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f0754dad0da45c5f270442c31bff03cce244dd64d4d16adb85bea9410164f52
|
|
| MD5 |
24af6c54a34b47755e439987378cca49
|
|
| BLAKE2b-256 |
936ac1f5cba535dd4c671aae3bc13a42114ac92d61f4c26957445778905bd4f7
|
File details
Details for the file yoshaas_gateway-1.0.3-py3-none-any.whl.
File metadata
- Download URL: yoshaas_gateway-1.0.3-py3-none-any.whl
- Upload date:
- Size: 15.8 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 |
a405f101cf526bf47f8086bba34daa65e7390f3ed2d4f3bffdf11dc0858c09bc
|
|
| MD5 |
e6e4e614fb3809b786d4fe8dc802d0e1
|
|
| BLAKE2b-256 |
c7aa07e4ca14653fd1895c32d251759f2c120c32a8e0b019013c45b7b54fe2f2
|