Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Commit

Permalink
Add busy ignore system for managers
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed Dec 20, 2017
1 parent 03cf880 commit 4b2e1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samurai/Modules/ModuleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ref position
var context = new CommandContext(DiscordClient, message);
using (var typing = context.Channel.EnterTypingState())
{
if (++Busy > ApplicationConfig.Busy)
if (++Busy > ApplicationConfig.Busy && !ApplicationConfig.Managers.Contains(context.User.Id))
{
await context.Channel.SendMessageAsync
(
Expand Down

0 comments on commit 4b2e1d3

Please sign in to comment.