__init__ arguments error #57
-
|
Hello, When running the Misskey Advent Calender code as provided (only things i changed is the URL and the AuthToken) i get the Error that init don't get the right arguments.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Ah ... I understand the cause. Please change the code of the following blog as follows -class MyBot(commands.Cog):
+class MyBot(commands.Bot):
def __init__(self, cmd_prefix: str):
super().__init__(cmd_prefix) |
Beta Was this translation helpful? Give feedback.
Ah ... I understand the cause. Please change the code of the following blog as follows