mirror of
https://github.com/NoiTheCat/WorldTime.git
synced 2024-11-24 01:14:13 +00:00
Print full command for diagnostic purposes
This commit is contained in:
parent
707bd4d803
commit
fa36516db7
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
||||||
# ------
|
# ------
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue