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

Uploaded Source

File details

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

File metadata

  • Download URL: pydis_discord-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 eb6993a43378ed145fb3ee72042ab1b70e758607c14375f2cf7c96c104c0a64a
MD5 c87d890593008a0d6fc3d4aca3cb53ee
BLAKE2b-256 fde0059f3c2b46d297ac039d63af267e7e80d48131c0069624baff223e8f0930

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