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.0.tar.gz
(11.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.0.tar.gz.
File metadata
- Download URL: yoshaas-gateway-1.0.0.tar.gz
- Upload date:
- Size: 11.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 |
1b9d9aef60cf7c96add0681a03121ab0c8c75332bfabdbd4dd0b5c80d9909f5f
|
|
| MD5 |
aa9e4f02b0bf69fb3f0cefe12b6e4750
|
|
| BLAKE2b-256 |
0485286770dc3aa39622eabb34ea40fad2f41b47938442012ca0ae02d7a05590
|
File details
Details for the file yoshaas_gateway-1.0.0-py3-none-any.whl.
File metadata
- Download URL: yoshaas_gateway-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.9 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 |
42d7636be780f0f17e20af6e43d7e0e234ab266846ceb9b4e1bf5923a708e6f0
|
|
| MD5 |
0f67c8b2771f38385ff5b474197a59ab
|
|
| BLAKE2b-256 |
1b3f0680952cf5d5512e502330865b3eec4e5c89a61729eecec70b182dc2e533
|