mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
Update MuteCommand.cs
This commit is contained in:
parent
6fab8eca8a
commit
63daf8bcd8
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public sealed class MuteCommand : ICommand {
|
||||||
await MuteMemberAsync(cmd, toMute, duration, guildData, reason);
|
await MuteMemberAsync(cmd, toMute, duration, guildData, reason);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async Task MuteMemberAsync(CommandProcessor cmd, SocketGuildUser toMute,
|
private static async Task MuteMemberAsync(CommandProcessor cmd, IGuildUser toMute,
|
||||||
TimeSpan duration, GuildData data, string reason) {
|
TimeSpan duration, GuildData data, string reason) {
|
||||||
var requestOptions = Utils.GetRequestOptions($"({cmd.Context.User}) {reason}");
|
var requestOptions = Utils.GetRequestOptions($"({cmd.Context.User}) {reason}");
|
||||||
var role = data.MuteRole;
|
var role = data.MuteRole;
|
||||||
|
|
Loading…
Add table
Reference in a new issue