Strip the reason from whitespace in Mutes cog (#4749)

This commit is contained in:
jack1142 2021-01-23 20:52:50 +01:00 committed by GitHub
parent e106dfaece
commit db20cad395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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