Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yoshaas_gateway-1.0.5-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

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

Hashes for yoshaas-gateway-1.0.5.tar.gz
Algorithm Hash digest
SHA256 5718fd64062b2e2b3997343dbdacc986ae0d310ae5ca637cd19eade4b880c54b
MD5 c37761353f8f0ac08151e54ba4d2f3a3
BLAKE2b-256 1c647bd3a97325d764f80f0713817596dd42bb7549f391930753a617e6321a14

See more details on using hashes here.

File details

Details for the file yoshaas_gateway-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for yoshaas_gateway-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f36720786ef4009f7ca037c791b332c1d4af9ffad9b32a96c2acaab46fe760d8
MD5 ec43943e645ea2c9c2304a3a8b50f93f
BLAKE2b-256 8223844eb9a6255c85acaf418be3a2000204264785c3655ce74543ca6bbd4a84

See more details on using hashes here.

Supported by

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