From 574ca88fd93796e1ede93acb5f8eb361c4d2768d Mon Sep 17 00:00:00 2001 From: dolfies Date: Mon, 5 Sep 2022 17:34:54 -0400 Subject: [PATCH] Stop manually setting name_localized in application command dict (fixes #365) --- discord/commands.py | 1 - 1 file changed, 1 deletion(-) diff --git a/discord/commands.py b/discord/commands.py index 27d3868f1..1db4f0b39 100644 --- a/discord/commands.py +++ b/discord/commands.py @@ -355,7 +355,6 @@ class UserCommand(BaseCommand): raise TypeError('__call__() missing 1 required positional argument: \'user\'') command = self._data - command['name_localized'] = command['name'] data = { 'application_command': command, 'attachments': [],