Spaces:
Paused
Paused
Captain Ezio commited on
Commit ·
4889d13
1
Parent(s): d414ecb
Update README.md
Browse files
README.md
CHANGED
|
@@ -152,11 +152,13 @@ To get a list of all variable click [here](https://telegra.ph/Captain-03-27)
|
|
| 152 |
To add your very own plugin just use the format given below and go through the [utils](https://github.com/iamgojoof6eyes/Gojo_Satarou/blob/master/Powers/utils) and [custom_filters](https://github.com/iamgojoof6eyes/Gojo_Satarou/blob/master/Powers/utils/custom_filters.py)
|
| 153 |
|
| 154 |
```python
|
| 155 |
-
from traceback import
|
| 156 |
|
| 157 |
-
from Powers.utils.custom_filters import command
|
| 158 |
from Powers import LOGGER
|
| 159 |
-
from Powers.bot_class import Gojo
|
|
|
|
|
|
|
| 160 |
|
| 161 |
@Gojo.on_message(command("<your command>")) # Pass additional filters if you need
|
| 162 |
async def <def name>(<arguments to take>):
|
|
|
|
| 152 |
To add your very own plugin just use the format given below and go through the [utils](https://github.com/iamgojoof6eyes/Gojo_Satarou/blob/master/Powers/utils) and [custom_filters](https://github.com/iamgojoof6eyes/Gojo_Satarou/blob/master/Powers/utils/custom_filters.py)
|
| 153 |
|
| 154 |
```python
|
| 155 |
+
from traceback import format_exc
|
| 156 |
|
| 157 |
+
from Powers.utils.custom_filters import command
|
| 158 |
from Powers import LOGGER
|
| 159 |
+
from Powers.bot_class import Gojo
|
| 160 |
+
# All the import provided above is mandotry in case you don't want to use logger remove the first and third import
|
| 161 |
+
# Import more funcs and module as per your need
|
| 162 |
|
| 163 |
@Gojo.on_message(command("<your command>")) # Pass additional filters if you need
|
| 164 |
async def <def name>(<arguments to take>):
|