mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-13 17:26:08 +03:00
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());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue