None
если команда не найдена).SPECIAL_COMMANDS_NAMES = []
special_commands_strings = []
for cmdname in SPECIAL_COMMANDS_NAMES:
cmd = bot.get_command(cmdname)
special_commands_strings.append(cmd.name)
special_commands_strings.extend(cmd.aliases)
discord.Client
нет метода delete_message
: https://discordpy.readthedocs.io/en/v1.3.4/migrati... on_message
это объект сообщения)