Print full command for diagnostic purposes

This commit is contained in:
Noi 2020-02-19 09:49:18 -08:00
parent 707bd4d803
commit fa36516db7
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ class WtCommands:
command = self.commandlist[cmdBase] command = self.commandlist[cmdBase]
except KeyError: except KeyError:
return return
logPrint('Command invoked', '{0}/{1}: tz.{2}'.format(message.guild, message.author, cmdBase)) logPrint('Command invoked', '{0}/{1}: {2}'.format(message.guild, message.author, message.content))
await command(message.guild, message.channel, message.author, message.content) await command(message.guild, message.channel, message.author, message.content)
# ------ # ------

View file

@ -4,7 +4,7 @@ import pytz
from datetime import datetime from datetime import datetime
# Bot's current version (as a string), for use in the help command # Bot's current version (as a string), for use in the help command
BotVersion = "1.2.0" BotVersion = "1.2.1"
# For case-insensitive time zone lookup, map lowercase tzdata entries with # For case-insensitive time zone lookup, map lowercase tzdata entries with
# entires with proper case. pytz is case sensitive. # entires with proper case. pytz is case sensitive.