Discord Py

 
  1. Python Discord Docs
  2. Discordpy Aiosqlite

Discord-py-slash-command stands as the first public slash command handler library to be made for Discord Bot API libraries. You are able to easily install the discord-py-slash-command library by using the given PIP line below: pip install -U discord-py-slash-command. Examples Quick Startup. A simple music bot written in discord.py using youtube-dl. Though it's a simple example, music bots are complex and require much time and knowledge until they work perfectly. Use this as an example or a base for your own bot and extend it as you want. A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. We're a large, friendly community focused around the Python programming language. 185,717 members.

Hello there! Welcome to the official documentation of our libraryextension made for discord.py: being able to use Discord Slash Commands.

Before we start going into the advanced stuff, it is highly recommendedto check out the quickstart page first from here or below in the contents.

Discord

If there are any questions that you have about the documentationof this library extension that the docs do not currently cover over, pleasefeel free to reach out to others on the Discord!

Contents:

Discord
  • Getting Started
  • Migration
  • discord_slash package
  • discord_slash.utils package
  • Frequently Asked Questions

discord.py is a modern, easy to use, feature-rich, and async ready API wrapperfor Discord.Credits to the original lib by Rapptz

WARNING: This is not the official discord.py lib! This is a custom version to which I add some features that might be useful or just makes things easier for the lazy people. See below which features have been added. This lib will also be kept updated with the BETA version of the original lib! So things may be unstable, please keep that in mind.

Custom Features¶

Moved to:Custom Features

Features¶

  • Modern Pythonic API using async/await syntax

  • Sane rate limit handling that prevents 429s

  • Implements the entire Discord API

  • Command extension to aid with bot creation

  • Easy to use with an object oriented design

  • Optimised for both speed and memory

Getting started¶

Is this your first time using the library? This is the place to get started!

  • First steps:Introduction Quickstart Setting Up Logging

  • Working with Discord:Creating a Bot Account A Primer to Gateway Intents

  • Examples: Many examples are available in the repository.

Getting help¶

Python Discord Docs

If you’re having trouble with something, these resources might help.

  • Try the Frequently Asked Questions first, it’s got answers to all common questions.

  • Ask us and hang out with us in our Discord server.

  • If you’re looking for something specific, try the index or searching.

  • Report bugs in the issue tracker.

  • Ask in our GitHub discussions page.

Extensions¶

These extensions help you during development when it comes to common tasks.

Documentation

Manuals¶

These pages go into great detail about everything the API can do.

Meta¶

Discord

Discordpy Aiosqlite

If you’re looking for something related to the project itself, it’s here.