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())
|
if (muteRole.Empty())
|
||||||
{
|
{
|
||||||
var timeoutResult =
|
var timeoutResult = await TimeoutUserAsync(
|
||||||
await TimeoutUserAsync(target, reason, duration, guildId, user, currentUser, until, ct);
|
target, reason, duration, guildId, user, currentUser, until, ct);
|
||||||
return timeoutResult;
|
return timeoutResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
var muteRoleResult =
|
var muteRoleResult = await RoleMuteUserAsync(
|
||||||
await RoleMuteUserAsync(target, reason, guildId, data, user, until, muteRole, ct);
|
target, reason, guildId, data, user, until, muteRole, ct);
|
||||||
return muteRoleResult;
|
return muteRoleResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue