> For the complete documentation index, see [llms.txt](https://lostpy.gitbook.io/basediscord-py/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lostpy.gitbook.io/basediscord-py/master.md).

# Overview

* **Author**: [LostPy](https://github.com/LostPy)
* **Created at:** 2021-06-22
* **Realese**: none

### Requirements

* [discord.py](https://discordpy.readthedocs.io/en/latest/index.html)
* [discord-py-slash-command](https://discord-py-slash-command.readthedocs.io/en/latest/quickstart.html)

### Installation

To install this package

```
pip install git+https://github.com/LostPy/baseDiscord-py.git@master
```

To update the package

```
pip install -U git+https://github.com/LostPy/baseDiscord-py.git@master
```

### Main features

| Name                         | Description                                                                                                                      | First version | Last version |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | :-----------: | :----------: |
| Manage CommandNotFound error | Ignore CommandNotFound exception                                                                                                 |      1.0      |      ✔️      |
| Manage BadArgument error     | Send a error message                                                                                                             |      1.0      |      ✔️      |
| Manage MissingPermissions    | Send a error message with list of permissions required                                                                           |      1.0      |      ✔️      |
| Manage MissingRoles          | Send a error message with list of roles required                                                                                 |      1.0      |      ✔️      |
| Manage BotMissingPermissions | Send a error message with list of permissions required                                                                           |      1.0      |      ✔️      |
| Manage BotMissingRoles       | Send a error message with list of roles required                                                                                 |      1.0      |      ✔️      |
| Traceback message to owner   | Send a message with traceback to the owner of application if a error raised is not manage and if `BaseBot.send_errors` is `True` |      1.0      |      ✔️      |
| Help cog                     | a [cog](https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html) for help commands                                     |      1.0      |      ✔️      |
| Help slash command           | A help Slash command to replace the default help command of `discord.py`                                                         |      1.0      |      ✔️      |
| Owner cog                    | A [cog](https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html) for only owner application commands                   |      1.0      |      ✔️      |
| `stopBot`                    | A command of `Owner` [cog](https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html) to stop the bot                    |      1.0      |      ✔️      |
| `BaseBot.get_invitation`     | Method to get a invitation link                                                                                                  |      1.0      |      ✔️      |
| Colored log                  | A formater for colored logs. A logger can be created with `baseDiscord.utils.new_logger` function                                |      1.0      |      ✔️      |

{% hint style="info" %}
All message errors are send in a embed
{% endhint %}
