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

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.0.tar.gz (475.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pydis_discord-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 a2b5d89bab2276a9e71098754eaf90c26fc357b914ca88c0eab3582143d7193a
MD5 bfdc0632b2e788d51abfba6801dc08c2
BLAKE2b-256 d68d9b5486e412682df25ee94711230d28af9994b3e91872060c50b2943504a1

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