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

Uploaded Source

File details

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

File metadata

  • Download URL: pydis_discord-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a54c2fc91fd73136b2e9c8a12f7b0a3cacdff0ccd66ef3f6321dc6f766dbad86
MD5 13c4268720a0575ebc1e131c5ec7dc6b
BLAKE2b-256 c4a80572629b50881ffe7168a9a922e5fada4ca8b82bbd2966d38f746a2f97fc

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