This commit is contained in:
2022-07-24 09:53:19 +03:00
parent 5298783ce4
commit 1011e287c9
6 changed files with 36 additions and 16 deletions

View File

@@ -5,7 +5,7 @@ from disnake.ext import commands
class Bot_info(commands.Cog, name='Bot Info'):
def __init__(self, bot):
def __init__(self, bot: object) -> object:
self.bot = bot # defining bot as global var in class
@commands.Cog.listener() # this is a decorator for events/listeners