diff --git a/NadekoBot/Classes/Permissions/PermissionChecker.cs b/NadekoBot/Classes/Permissions/PermissionChecker.cs index 5694ad91..9955e56e 100644 --- a/NadekoBot/Classes/Permissions/PermissionChecker.cs +++ b/NadekoBot/Classes/Permissions/PermissionChecker.cs @@ -38,7 +38,7 @@ namespace NadekoBot.Classes.Permissions { return false; if (channel.IsPrivate) - return false; + return command.Category == "Help"; timeBlackList.TryAdd(user, DateTime.Now); diff --git a/NadekoBot/Commands/HelpCommand.cs b/NadekoBot/Commands/HelpCommand.cs index 2395656d..8923c07d 100644 --- a/NadekoBot/Commands/HelpCommand.cs +++ b/NadekoBot/Commands/HelpCommand.cs @@ -49,7 +49,11 @@ namespace NadekoBot.Commands { }); }; - public static string HelpString => "**LIST OF COMMANDS CAN BE FOUND ON THIS LINK**\n\n "; + public static string HelpString => $"You can use `{NadekoBot.Config.CommandPrefixes.Help}modules` command to see a list of all modules.\n" + + $"You can use `{NadekoBot.Config.CommandPrefixes.Help}commands ModuleName`" + + $" (for example `{NadekoBot.Config.CommandPrefixes.Help}commands Administration`) to see a list of all of the commands in that module.\n" + + $"For a specific command help, use `{NadekoBot.Config.CommandPrefixes.Help}h \"Command name\"` (for example `-h \"!m q\"`)" + + "**LIST OF COMMANDS CAN BE FOUND ON THIS LINK**\n\n "; public Action DoGitFunc() => e => { string helpstr = @@ -121,6 +125,6 @@ You can join nadekobot server by simply private messaging NadekoBot, and you wil return str; } - public HelpCommand(DiscordModule module) : base(module) {} + public HelpCommand(DiscordModule module) : base(module) { } } } diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index c1c12839..bb205f59 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -198,10 +198,8 @@ namespace NadekoBot { repliedRecently = true; await e.Channel.SendMessage(HelpCommand.HelpString); - await Task.Run(async () => { - await Task.Delay(2000); - repliedRecently = true; - }); + await Task.Delay(2000); + repliedRecently = false; } catch { } } }