Skip to main content

An Discord API v10 wrapper for Python 3

Project description

Pydis

=========================================== Make your Discord Bot quickly and easily on Python!

Features

  • Modern code! (async await)
  • Don't worrie by Intents! (Intents are not needed here)
  • Easy to use!
  • Easy to extend!
  • Easy to understand!
  • Easy to maintain!
  • Lightweight!
  • Fast!
  • Open source!
  • Python 3.6+
  • Discord.py library fork

Installation

pip install pydis-discord=1.0.0

Usage

Alert: There is a wiki on Github

Making a Ping Pong bot!

from pydis import GatewayDiscordApp

bot = GatewayDiscordApp()

@bot.event
async def on_ready():
    print('Ready!')

@bot.event
async def on_message(message):
    if message.content == 'ping':
        await message.channel.send('Pong! :ping_pong:')

bot.run()

License

MIT License

TODO

  • Create slash commands easier!
  • More wiki
  • Examples

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

pydis_discord-1.0.1.tar.gz (475.0 kB view details)

Uploaded Source

File details

Details for the file pydis_discord-1.0.1.tar.gz.

File metadata

  • Download URL: pydis_discord-1.0.1.tar.gz
  • Upload date:
  • Size: 475.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pydis_discord-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0e48c910bc293b5d7b9bb27dffe74fcf9bd9f61deb10ffda03f3bea1fdad5443
MD5 3782389fe4d460b045a7b49ba3e0a506
BLAKE2b-256 e73076d4f0636de9672e965434360e378dfa2590bae95fdfb5f5a9246fc32301

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