diff options
| author | Rapptz <[email protected]> | 2017-04-24 00:23:23 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-04-24 00:23:23 -0400 |
| commit | 37681dd0eafa4ebdfdb96e3194cfb158002567bb (patch) | |
| tree | 2107d15ac8454b2542af402bff6a95d70afda9e7 | |
| parent | [commands] Add Context.voice_client shortcut. (diff) | |
| download | discord.py-37681dd0eafa4ebdfdb96e3194cfb158002567bb.tar.xz discord.py-37681dd0eafa4ebdfdb96e3194cfb158002567bb.zip | |
[commands] Fix lack of space in when_mentioned
| -rw-r--r-- | discord/ext/commands/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 43254a4d..33796f98 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -41,7 +41,7 @@ from .formatter import HelpFormatter def when_mentioned(bot, msg): """A callable that implements a command prefix equivalent to being mentioned, e.g. ``@bot ``.""" - return [bot.user.mention, '<@!%s>' % bot.user.id] + return [bot.user.mention + ' ', '<@!%s> ' % bot.user.id] def when_mentioned_or(*prefixes): """A callable that implements when mentioned or other prefixes provided. |