v0.0.6\nplay_audio fixes
This commit is contained in:
@@ -12,7 +12,7 @@ from lib import logger
|
||||
|
||||
|
||||
class Admin(commands.Cog, name='Admin'):
|
||||
def __init__(self, bot):
|
||||
def __init__(self, bot: commands.Bot):
|
||||
self.bot = bot # a defining bot as global var in class
|
||||
|
||||
@commands.Cog.listener() # this is a decorator for events/listeners
|
||||
|
||||
Reference in New Issue
Block a user