mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-15 08:55:17 +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
|
# has intensity
|
||||||
if not user:
|
if not user:
|
||||||
try:
|
try:
|
||||||
args = target.split(" ")
|
args = target.split()
|
||||||
intensity = int(args[-1])
|
intensity = int(args[-1])
|
||||||
name = " ".join(args[:-1])
|
name = " ".join(args[:-1])
|
||||||
user = guild.get_member_named(name)
|
user = guild.get_member_named(name)
|
||||||
|
|
Loading…
Reference in a new issue