![]() Let’s setup a discord bot via the discord developer portal. Pre-requirements for working with create-discord-bot 2.1 Create new discord applicationīefore we start working on the actual discord bot in python and showcase the functionalities of the script. If you never have setup a discord bot before, you might want to take section 2 as a guide on how to register a bot and get the access token for the API. If you already have a test bot setup in the developer portal you can skip the entire section 2 and jump straight into section 3. it does not create specific commands or cogs or modules for you (apart from admin) Cogs or uncategorised commands are not enforced A particular structure or unit tests are enforced (only for autoloading commands and cogs) What the script and default setup does not do: ![]() Lastly a fully configured logging system, as well as, folders and files for MVC unit tests are created. The default environment comes with pre-configured autoloading of commands, an admin module that allows to load/unload or reload Cogs from within the discord application, as well as settings loading from. This means, that with a command you can create a bot, create class-based commands (Cogs) and function-based commands, as well as quickly convert the project to a docker-compose based deployment environment. The script is oriented on the widely used `create-react-app` and `django’s manage.py` Quickly setup a development and production environment for a discord bot with python based on discordpy. The create-discord-bot python package focuses on one thing: Foreword - create-discord-bot in a nutshell Create-discord-bot simple script to quickly build a discord bot development environment 1. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |