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

Uploaded Source

File details

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

File metadata

  • Download URL: pydis_discord-1.0.4.tar.gz
  • Upload date:
  • Size: 475.1 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.4.tar.gz
Algorithm Hash digest
SHA256 9986dc735137ff1bd5b9ce2fe425bfa54eaeced36b6a6fc19ca8be7275819ec3
MD5 39b146d15421df8a022dc39344e64c65
BLAKE2b-256 55d2bdd0bf037dc6414f2d84d6c704fc4bfa3b7755440c84e968f1df1f64ccd5

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