From a7872737d692cc7d5fcc0df9efa260b83024576f Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Fri, 22 Jan 2016 20:20:59 +0100 Subject: [PATCH] Added server invite to PM and help --- NadekoBot/Commands/HelpCommand.cs | 2 +- NadekoBot/Modules/Administration.cs | 2 +- NadekoBot/NadekoBot.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NadekoBot/Commands/HelpCommand.cs b/NadekoBot/Commands/HelpCommand.cs index 87e5490f..744ae36e 100644 --- a/NadekoBot/Commands/HelpCommand.cs +++ b/NadekoBot/Commands/HelpCommand.cs @@ -10,7 +10,7 @@ namespace NadekoBot { public override Func DoFunc() => async e => { - string helpstr = "Official repo: **github.com/Kwoth/NadekoBot/** \n"; + string helpstr = "Official repo: **github.com/Kwoth/NadekoBot/**\nBot Creator's server: https://discord.gg/0ehQwTK2RBhxEi0X"; string lastCategory = ""; foreach (var com in client.Commands().AllCommands) diff --git a/NadekoBot/Modules/Administration.cs b/NadekoBot/Modules/Administration.cs index 71b92cd1..422aeb3a 100644 --- a/NadekoBot/Modules/Administration.cs +++ b/NadekoBot/Modules/Administration.cs @@ -311,7 +311,7 @@ namespace NadekoBot.Modules await e.Send("Announcements disabled."); } }); - + //todo add greet/bye for everyone cgb.CreateCommand(".greetmsg") .Description("Sets a new announce message. Type %user% if you want to mention the new member.\n**Usage**: .greetmsg Welcome to the server, %user%.") .Parameter("msg", ParameterType.Unparsed) diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index ddc834fc..afdbcf31 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -24,7 +24,7 @@ namespace NadekoBot public static string password; public static string TrelloAppKey; public static bool ForwardMessages = false; - public static string BotVersion = "0.5-beta1"; + public static string BotVersion = "0.7-beta1"; static void Main() { @@ -153,7 +153,7 @@ namespace NadekoBot await OwnerUser.SendMessage(e.User +": ```\n"+e.Message.Text+"\n```"); if (repliedRecently = !repliedRecently) { - await e.Send("You can type `-h` or `-help` or `@MyName help` in any of the channels I am in and I will send you a message with my commands.\n Or you can find out what i do here: https://github.com/Kwoth/NadekoBot\nYou can also just send me an invite link to a server and I will join it.\nIf you don't want me on your server, you can simply ban me ;("); + await e.Send("You can type `-h` or `-help` or `@MyName help` in any of the channels I am in and I will send you a message with my commands.\n Or you can find out what i do here: https://github.com/Kwoth/NadekoBot\nYou can also just send me an invite link to a server and I will join it.\nIf you don't want me on your server, you can simply ban me ;(\nBot Creator's server: https://discord.gg/0ehQwTK2RBhxEi0X"); Timer t = new Timer(); t.Interval = 2000; t.Start();