need to strip bad whitespace in target

This commit is contained in:
brandons209 2020-02-09 18:33:03 -05:00
parent bba8dd73ed
commit 67013189b8

View file

@ -62,6 +62,7 @@ class RolePlay(commands.Cog):
bot.remove_command("flip")
def get_user_and_intensity(self, guild: discord.Guild, target: str):
target = target.strip()
user = None
intensity = 1
if "<@!" == target[:3] and ">" == target[-1]: