Skip to content

Commit

Permalink
Update TriggerLogicController.cs (#37)
Browse files Browse the repository at this point in the history
Added Developer Name Check
  • Loading branch information
Locxion authored Dec 15, 2023
1 parent 3459e10 commit 14a35e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/TriggerLogicController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public async void HandleMessage(ChatMessage chatMessage)
chatMessage.IsVip = true;
}

if (chatMessage.Message.StartsWith("!nanodebug"))
if (chatMessage.Message.StartsWith("!nanodebug") && Constants.DEVELOPER.Contains(chatMessage.Username))
{
await HandleDebugCommands(chatMessage);
return;
Expand Down

0 comments on commit 14a35e8

Please sign in to comment.