Skip to content

Commit 0359234

Browse files
authored
Fix new get_command
1 parent fac922c commit 0359234

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

discord/bot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def get_command(self):
153153
"""
154154
# TODO: Do something like we did in self.commands for this
155155
return self.get_application_command
156+
156157
def get_application_command(
157158
self,
158159
name: str,
@@ -188,8 +189,6 @@ def get_application_command(
188189
return
189190
return command
190191

191-
get_application_command = get_command
192-
193192
async def sync_commands(self) -> None:
194193
"""|coro|
195194

0 commit comments

Comments
 (0)