mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-17 10:53:39 +12:00
need to strip bad whitespace in target
This commit is contained in:
parent
bba8dd73ed
commit
67013189b8
|
@ -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]:
|
||||
|
|
Loading…
Reference in a new issue