|
|
@ -293,7 +293,7 @@ class CCRole(Cog):
|
|
|
|
if cmd["targeted"]:
|
|
|
|
if cmd["targeted"]:
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
target = discord.utils.get(
|
|
|
|
target = discord.utils.get(
|
|
|
|
message.guild.members, mention=message.content.split()[1]
|
|
|
|
message.guild.members, mention=message.content.split(maxsplit=1)[1]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
except IndexError: # .split() return list of len<2
|
|
|
|
except IndexError: # .split() return list of len<2
|
|
|
|
target = None
|
|
|
|
target = None
|
|
|
|