From b2120cd66178e2f982ac1a01404c3274a2ded6e2 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Mon, 26 Oct 2020 13:35:10 +0000 Subject: [PATCH] Update SetPermFlag.cs --- Core/Commands/Self/SetPermFlag.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Commands/Self/SetPermFlag.cs b/Core/Commands/Self/SetPermFlag.cs index ab7541c..6344379 100644 --- a/Core/Commands/Self/SetPermFlag.cs +++ b/Core/Commands/Self/SetPermFlag.cs @@ -9,7 +9,7 @@ namespace BSB.Commands.Self public class SetPermFlag : CoreCommand_3arg { public override string[] ArgTypes { get { return new[] { "Avatar", "Text","Text (True|Flase)", "Text (True|Flase)" }; } } - public override string[] ArgHints { get { return new[] { "Avatar [UUID or Firstname Lastname]", "Flag", "State to set the flag to","Make the permission sticky" }; } } + public override string[] ArgHints { get { return new[] { "Avatar [UUID or Firstname Lastname]", "Flag: friend, group, animation, teleport or command", "State to set the flag to","Make the permission sticky" }; } } public override string Helpfile { get { return "Makes the bot pay a avatar"; } } public override bool CallFunction(string[] args) { @@ -17,7 +17,7 @@ namespace BSB.Commands.Self { if(UUID.TryParse(args[0],out UUID targetUUID) == true) { - string[] AcceptedFlags = new string[] { "friend", "group", "animation", "teleport", "commands" }; + string[] AcceptedFlags = new string[] { "friend", "group", "animation", "teleport", "command" }; if(AcceptedFlags.Contains(args[1]) == true) { if(bool.TryParse(args[2],out bool stateflag) == true)