DiscordEasy - LeConstellationniste/Discord.py-Framework- GitHub Wiki
DiscordEasy
DiscordEasy is a package to make functional Bot discord very easily and quickly. Several features are already implemented such as the lack of arguments in a command and the lack of permissions, many errors in a command are already handled.
In addition, you can choose a custom prefix, a custom separator arguments...
Global Information
-
Authors
-
Version: 1
-
License: CC0 1.0 Universal
-
Utility link
Requierements
Mandatory
Optionnal
- colorama (For coulour logs)
Installation
To install this package, you can use the following commands.
pip3 install git+https://github.com/LeConstellationniste/Discord.py-Framework-.git@main
Don't forget to install dependencies.
To update the package, you can use:
pip3 install git+https://github.com/LeConstellationniste/Discord.py-Framework-.git@main --upgrade
OR
pip3 install git+https://github.com/LeConstellationniste/Discord.py-Framework-.git@main -U
Features
| Feature | First version | Current version | Description | Last update |
|---|---|---|---|---|
| Custom prefix | 1 | β | Choose the prefix for your bot | π 2021-01-18 |
| Custom separator arguments | 1 | β | Choose a separator arguments (default a white space) | π 2021-01-20 |
| Name & aliases | 1 | β | You can choose a custom name and aliases for your commands (default, the name is the attribute _name_ of the function) | π 2021-01-18 |
| Managing the lack of arguments | 1 | β | The lack of arguments are automatically managed. A error message is send in the channel of command | π 2021-01-19 |
| Conversion input of a command | 1 | β | Conversion str -> types if types_options argument is specified |
π 2021-01-19 |
| Managing errors of type arguments | 1 | β | A bad type passing in a command are managed if types_options argument is used. A error message is send in the channel of command |
π 2021-01-19 |
| Managing of Permissions error | 1 | β | With class CommandAdmin and CommandSuperAdmin you can create admin commands. A error message is send in the channel of command | π 2021-01-20 |
| Checks functions | 1 | β | You can specify a list of check function (wich return a boolean) to check if a command or a listener can be executed or not. A error message is send in the channel of command if the user don't valid the list of checks. | π 2021-01-25 |
| Decorators | 1 | β | You can create command and listener with decorators. | π 2021-01-25 |
| Color logs | 1 | β | With the class Logs, you can display logs with the date, if you have installed colorama package, the logs are colored |
π 2021-01-18 |
| Datetime format logs | 1 | β | You can change the datetime format of logs with attribute class Logs.date_fmt. |
π 2021-01-30 |
| Save logs | 1 | β | You can save logs with path_save argument of staticmethods of the class Logs |
π 2021-01-25 |