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.0.tar.gz (11.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.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

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

Hashes for yoshaas-gateway-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1b9d9aef60cf7c96add0681a03121ab0c8c75332bfabdbd4dd0b5c80d9909f5f
MD5 aa9e4f02b0bf69fb3f0cefe12b6e4750
BLAKE2b-256 0485286770dc3aa39622eabb34ea40fad2f41b47938442012ca0ae02d7a05590

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yoshaas_gateway-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42d7636be780f0f17e20af6e43d7e0e234ab266846ceb9b4e1bf5923a708e6f0
MD5 0f67c8b2771f38385ff5b474197a59ab
BLAKE2b-256 1b3f0680952cf5d5512e502330865b3eec4e5c89a61729eecec70b182dc2e533

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