v0.0.6\nplay_audio fixes
This commit is contained in:
@@ -7,7 +7,7 @@ from lib import logger
|
||||
|
||||
|
||||
class General(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
def __init__(self, bot: commands.Bot):
|
||||
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