Update src/Commands/MuteCommandGroup.cs
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com> Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
This commit is contained in:
parent
e37149eb0f
commit
d471ffa552
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public class MuteCommandGroup : CommandGroup
|
||||||
target, reason, duration, guildId, data, user, currentUser, until, ct);
|
target, reason, duration, guildId, data, user, currentUser, until, ct);
|
||||||
if (!muteMethodResult.IsSuccess)
|
if (!muteMethodResult.IsSuccess)
|
||||||
{
|
{
|
||||||
return Result.FromError(muteMethodResult.Error);
|
return muteMethodResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
var title = string.Format(Messages.UserMuted, target.GetTag());
|
var title = string.Format(Messages.UserMuted, target.GetTag());
|
||||||
|
|
Reference in a new issue