Spaces:
Running
Running
Remove super init
Browse files- discord_bot.py +1 -1
discord_bot.py
CHANGED
@@ -151,7 +151,7 @@ for command in json_data["command"]:
|
|
151 |
|
152 |
class Test:
|
153 |
def __init__(self, *args, **kwargs):
|
154 |
-
super().__init__(*args, **kwargs)
|
155 |
self.tree = app_commands.CommandTree(self)
|
156 |
async def setup_hook(self):
|
157 |
# 在这里你可以注册动态生成的命令
|
|
|
151 |
|
152 |
class Test:
|
153 |
def __init__(self, *args, **kwargs):
|
154 |
+
#super().__init__(*args, **kwargs)
|
155 |
self.tree = app_commands.CommandTree(self)
|
156 |
async def setup_hook(self):
|
157 |
# 在这里你可以注册动态生成的命令
|