Updated core.py (markdown)

Akumatic 2019-10-09 14:08:12 +02:00
parent 2f02ae1f72
commit bd14ceb6b8

@ -10,13 +10,13 @@ This extension gives the bot core functionality (error and module handling).
|on_command_error|Whenever a command error occurs, it sends the given error log to the corresponding context or to the owner's direct messages.|
## Commands
|Command|Required Permission|Description|
|---|---|---|
|`stop`|Bot Owner|Unloads all extensions and stops the bot.|
|`setGame {text}`|Bot Owner|Sets the current displayed game. If no text gets provided, it just prints the `help` command.|
|`load {ext} [true]`|Bot Owner|Loads {ext}<sup>1</sup> if its not loaded yet. {ext} gets added to autostart if you add [true].|
|`unload {ext} [true]`|Bot Owner|Unloads {ext}<sup>1</sup> if its loaded. {ext} gets removed from autostart if you add [true].|
|`reload {ext}`|Bot Owner|Reloads {ext}<sup>1</sup> if its loaded.|
|Command|Arguments|Required Permission|Description|
|---|---|---|---|
|`stop`||Bot Owner|Unloads all extensions and stops the bot.|
|`setGame`|{text}|Bot Owner|Sets the current displayed game. If no text gets provided, it just prints the `help` command.|
|`load`|{ext} [true]|Bot Owner|Loads {ext} if its not loaded yet. {ext} gets added to autostart if you add [true].<sup>1</sup>|
|`unload`|{ext} [true]|Bot Owner|Unloads {ext} if its loaded. {ext} gets removed from autostart if you add [true].<sup>1</sup>|
|`reload`|{ext} [true]|Bot Owner|Reloads {ext} if its loaded.<sup>1</sup>|
|`printExt`|Bot Owner|Sends all loaded extensions.|
<sup>1</sup> {ext} has to be in the `extensions` folder. Pass just the name (without .py) to the command.