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.3.tar.gz (11.8 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.3-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

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

Hashes for yoshaas-gateway-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4f0754dad0da45c5f270442c31bff03cce244dd64d4d16adb85bea9410164f52
MD5 24af6c54a34b47755e439987378cca49
BLAKE2b-256 936ac1f5cba535dd4c671aae3bc13a42114ac92d61f4c26957445778905bd4f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yoshaas_gateway-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a405f101cf526bf47f8086bba34daa65e7390f3ed2d4f3bffdf11dc0858c09bc
MD5 e6e4e614fb3809b786d4fe8dc802d0e1
BLAKE2b-256 c7aa07e4ca14653fd1895c32d251759f2c120c32a8e0b019013c45b7b54fe2f2

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