diff --git a/src/NadekoBot/Modules/Gambling/Gambling.cs b/src/NadekoBot/Modules/Gambling/Gambling.cs index 09cefdbcb..5a9c52b0b 100644 --- a/src/NadekoBot/Modules/Gambling/Gambling.cs +++ b/src/NadekoBot/Modules/Gambling/Gambling.cs @@ -135,7 +135,6 @@ public partial class Gambling : GamblingModule }); [Cmd] - [RequireContext(ContextType.Guild)] public async Task Timely() { var val = Config.Timely.Amount; diff --git a/src/NadekoBot/Modules/Permissions/GlobalPermissions/GlobalPermissionService.cs b/src/NadekoBot/Modules/Permissions/GlobalPermissions/GlobalPermissionService.cs index 43cafc176..1afa801ff 100644 --- a/src/NadekoBot/Modules/Permissions/GlobalPermissions/GlobalPermissionService.cs +++ b/src/NadekoBot/Modules/Permissions/GlobalPermissions/GlobalPermissionService.cs @@ -92,13 +92,13 @@ public class GlobalPermissionService : IExecPreCommand, INService { if (priv) { - if (bs.Blocked.Commands.Add(commandName)) + if (bs.DmBlocked.Commands.Add(commandName)) { added = true; } else { - bs.Blocked.Commands.Remove(commandName); + bs.DmBlocked.Commands.Remove(commandName); added = false; }