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.4.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.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file yoshaas-gateway-1.0.4.tar.gz.

File metadata

  • Download URL: yoshaas-gateway-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 6545b9bac0a785a8b2a21575cfad350add3ed2a11589c8f8f2c4e1cb6a9f6791
MD5 604ee61a271e470d6e9842cb3211beb8
BLAKE2b-256 73ffce01d53941773b234a0f7623ac697927f5e389e8ab1c216aa0721d81a3be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yoshaas_gateway-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4123e8e7e21fade1388a257d8dfd38ce3154fdea48147c14cc5e17403717a1ae
MD5 512408996c3f19a06edb67857553327d
BLAKE2b-256 74505c16340d5b6a8b069e7297046808c54a067ca698c902611786d2ffb30d48

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