diff --git a/commands.py b/commands.py index 4da8272..7bbe0cd 100644 --- a/commands.py +++ b/commands.py @@ -117,7 +117,7 @@ class WtCommands: color=14742263, title='Help & About', description=dedent(''' - World Time v`{0}` + World Time v{0} Serving {1} communities across {2} time zones. '''.format(BotVersion, len(self.dclient.guilds), tzcount)) ) @@ -131,6 +131,10 @@ class WtCommands: `tz.set [zone]` - Registers or updates your *zone* with the bot. `tz.remove` - Removes your name from this bot. ''')) + em.add_field(name='Admin commands', value=dedent(''' + `tz.setFor [user] [zone]` - Sets the time zone for another user. + `tz.removeFor [user]` - Removes another user's information. + '''), inline=False) em.add_field(name='Zones', value=dedent(''' This bot uses zone names from the tz database. Most common zones are supported. For a list of entries, see the "TZ database name" column under https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. '''), inline=False) diff --git a/common.py b/common.py index b40cfb9..dc031fb 100644 --- a/common.py +++ b/common.py @@ -4,7 +4,7 @@ import pytz from datetime import datetime # Bot's current version (as a string), for use in the help command -BotVersion = "1.1.2" +BotVersion = "1.2.0" # For case-insensitive time zone lookup, map lowercase tzdata entries with # entires with proper case. pytz is case sensitive.