mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Strip the reason from whitespace in Mutes cog (#4749)
This commit is contained in:
parent
e106dfaece
commit
db20cad395
@ -51,5 +51,5 @@ class MuteTime(Converter):
|
||||
time_data[k] = int(v)
|
||||
if time_data:
|
||||
result["duration"] = timedelta(**time_data)
|
||||
result["reason"] = argument
|
||||
result["reason"] = argument.strip()
|
||||
return result
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user