mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-14 01:36:08 +03:00
some small changes
Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
parent
d74d97f9f4
commit
e37149eb0f
1 changed files with 4 additions and 4 deletions
|
@ -161,13 +161,13 @@ public class MuteCommandGroup : CommandGroup
|
|||
|
||||
if (muteRole.Empty())
|
||||
{
|
||||
var timeoutResult =
|
||||
await TimeoutUserAsync(target, reason, duration, guildId, user, currentUser, until, ct);
|
||||
var timeoutResult = await TimeoutUserAsync(
|
||||
target, reason, duration, guildId, user, currentUser, until, ct);
|
||||
return timeoutResult;
|
||||
}
|
||||
|
||||
var muteRoleResult =
|
||||
await RoleMuteUserAsync(target, reason, guildId, data, user, until, muteRole, ct);
|
||||
var muteRoleResult = await RoleMuteUserAsync(
|
||||
target, reason, guildId, data, user, until, muteRole, ct);
|
||||
return muteRoleResult;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue