mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-01 18:19:43 +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")
|
bot.remove_command("flip")
|
||||||
|
|
||||||
def get_user_and_intensity(self, guild: discord.Guild, target: str):
|
def get_user_and_intensity(self, guild: discord.Guild, target: str):
|
||||||
|
target = target.strip()
|
||||||
user = None
|
user = None
|
||||||
intensity = 1
|
intensity = 1
|
||||||
if "<@!" == target[:3] and ">" == target[-1]:
|
if "<@!" == target[:3] and ">" == target[-1]:
|
||||||
|
|
Loading…
Reference in a new issue