From 85508557e67a512011323b1871e4fedaf5013226 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Thu, 14 Apr 2016 22:32:39 +0200 Subject: [PATCH] added bot invite link to help --- NadekoBot/Commands/HelpCommand.cs | 5 +++-- NadekoBot/NadekoBot.cs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NadekoBot/Commands/HelpCommand.cs b/NadekoBot/Commands/HelpCommand.cs index 48a05f13..666f5148 100644 --- a/NadekoBot/Commands/HelpCommand.cs +++ b/NadekoBot/Commands/HelpCommand.cs @@ -53,8 +53,9 @@ namespace NadekoBot.Commands await e.Channel.SendMessage($"`Help for '{com.Text}':` **{com.Description}**"); }); }; - - public static string HelpString => NadekoBot.IsBot ? $"To invite {NadekoBot.Client.CurrentUser.Name} to your server, go here: <>\n" : "" + + public static string HelpString => (NadekoBot.IsBot + ? $"To add me to your server, use this link** -> \n" + : $"To invite me to your server, just send me an invite link here.") + $"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" + diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index 76e66c8b..702a60cd 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -190,7 +190,7 @@ namespace NadekoBot await Client.Connect(Creds.Token); IsBot = true; } - + Console.WriteLine(NadekoBot.Client.CurrentUser.Id); } catch (Exception ex) {