Moving
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user