Update bot to include a enable and disable command

This commit is contained in:
Zontreck 2020-07-28 00:52:04 -07:00
parent 20373ae79b
commit 2496106f90
4 changed files with 42 additions and 3 deletions

View file

@ -72,6 +72,8 @@ namespace Bot
public List<string> AuthedGithubUsers { get; set; } = new List<string>();
public List<string> DisabledCommands { get; set; } = new List<string>();
public bool Authed(string GHLogin)
{
if (AuthedGithubUsers.Contains(GHLogin)) return true;