Преглед на файлове

Exception so that ;-; doesnt get caught up in the command not found error.

tags/v1.4.1
Roxie Gibson преди 6 години
родител
ревизия
10fe88de91
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +2
    -0
      err_handle.py

+ 2
- 0
err_handle.py Целия файл

@@ -51,6 +51,8 @@ class ErrHandle:
cc = self.servers[str(ctx.guild.id)]["custom_commands"]
if ctx.invoked_with in cc["1"]:
embed = None
elif len(ctx.message.content) < 6: # Should avoid puncutation emoticons while also not being big enough to trigger for mispelt commands,
embed = None
else:
embed = discord.Embed(description="That Command doesn't exist.")
elif isinstance(error, commands.BotMissingPermissions):

Loading…
Отказ
Запис