Skip to main content

Pytecord - library for creating bots in discord written in Python

Project description

Dispy

logo

logo

Version Project language Python versions PyLint mark Documenation status Code style: Black

Advantages

  • Package with async/await support
  • Wrappers and decorators support
  • Simple code with syntax sugar
  • Minimal python version is 3.8
  • Readable library code

Getting started

Dispy is package for creating bots in Discord. This package use discord API and discord Gateway for handle events or, for example, sending messages. Bot use for different goals; handle information on your server, creating mini games in discord, auto moderation in your discord server and other.

For example, you can reply to message that is sended by any user using this code:

from disspy import Client, Message  # Import library
import os

TOKEN = os.environ['TOKEN']
client = Client(TOKEN)  # Create a client

@client.on_message('create')  # On message create
async def on_messagec(message: Message):
    await message.reply('Hello!')  # Reply to the message

client.run()  # Run client

Download package

Download stable version

# Windows
pip install -U disspy

# MacOS / Linux
python3 -m pip install -U disspy

Download dev version (needs git)

# Windows
git clone https://github.com/pixeldeee/disspy.git
cd dispy
pip install -U .

# MacOs / Linux
git clone https://github.com/pixeldeee/disspy.git
cd dispy
python3 -m pip install -U .

Links

Github | PyPi | Docs | Discord

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

pytecord-1.0a1.tar.gz (21.8 kB view details)

Uploaded Source

File details

Details for the file pytecord-1.0a1.tar.gz.

File metadata

  • Download URL: pytecord-1.0a1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for pytecord-1.0a1.tar.gz
Algorithm Hash digest
SHA256 79b3099f74e9a6246d344bed6af6aa614853ec348e63ed9231945773de9317c7
MD5 14ff8ee04ceef6352800b31a3dfe0235
BLAKE2b-256 a36cca6a27fe8bdce25e2261373dec6904ea2f9a72571fba5376c95df9643a50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page