diff options
| author | 2020-10-13 10:41:17 +0200 | |
|---|---|---|
| committer | 2020-10-13 10:41:17 +0200 | |
| commit | eb82da94b5101e8399b0ac168d049cbf2d3ec93b (patch) | |
| tree | 6188ce33160d762c77b6ad130cb69eb08c1048ff | |
| parent | Merge pull request #1227 from python-discord/ducky-rescue-mission (diff) | |
| parent | Fixed hardcoded prefix in __main__.py (diff) | |
PR #1231: Dynamic prefix in activity
| -rw-r--r-- | bot/__main__.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__main__.py b/bot/__main__.py index da042a5ed..367be1300 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -58,7 +58,7 @@ bot = Bot(      redis_session=redis_session,      loop=loop,      command_prefix=when_mentioned_or(constants.Bot.prefix), -    activity=discord.Game(name="Commands: !help"), +    activity=discord.Game(name=f"Commands: {constants.Bot.prefix}help"),      case_insensitive=True,      max_messages=10_000,      allowed_mentions=discord.AllowedMentions(everyone=False, roles=allowed_roles),  |