mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-17 10:53:39 +12:00
strip and split it good
This commit is contained in:
parent
67013189b8
commit
94b5f0e15f
|
@ -75,7 +75,7 @@ class RolePlay(commands.Cog):
|
|||
# has intensity
|
||||
if not user:
|
||||
try:
|
||||
args = target.split(" ")
|
||||
args = target.split()
|
||||
intensity = int(args[-1])
|
||||
name = " ".join(args[:-1])
|
||||
user = guild.get_member_named(name)
|
||||
|
|
Loading…
Reference in a new issue