Update bot to include a enable and disable command
This commit is contained in:
parent
20373ae79b
commit
2496106f90
4 changed files with 42 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue