From 3aefb2d9916096865f9515b26f5db0e5eb8c891f Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sat, 20 Aug 2016 20:53:01 +0200 Subject: [PATCH] Fixes to some missing commands --- src/NadekoBot/Modules/Searches/Searches.cs | 2 +- .../Resources/CommandStrings.Designer.cs | 36 +++++++++---------- src/NadekoBot/Resources/CommandStrings.resx | 18 +++++----- src/NadekoBot/project.json | 2 +- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/NadekoBot/Modules/Searches/Searches.cs b/src/NadekoBot/Modules/Searches/Searches.cs index 8854093b..14331c89 100644 --- a/src/NadekoBot/Modules/Searches/Searches.cs +++ b/src/NadekoBot/Modules/Searches/Searches.cs @@ -248,7 +248,7 @@ $@"🌍 **Weather for** 【{obj["target"]}】 [LocalizedCommand, LocalizedDescription, LocalizedSummary] [RequireContext(ContextType.Guild)] - public async Task UrbanDictionary(IMessage imsg, [Remainder] string query = null) + public async Task Ud(IMessage imsg, [Remainder] string query = null) { var channel = imsg.Channel as ITextChannel; diff --git a/src/NadekoBot/Resources/CommandStrings.Designer.cs b/src/NadekoBot/Resources/CommandStrings.Designer.cs index c1790e81..bf1f80b2 100644 --- a/src/NadekoBot/Resources/CommandStrings.Designer.cs +++ b/src/NadekoBot/Resources/CommandStrings.Designer.cs @@ -575,27 +575,27 @@ namespace NadekoBot.Resources { /// /// Looks up a localized string similar to Shows a mentioned person's avatar.. /// - public static string av_desc { + public static string avatar_desc { get { - return ResourceManager.GetString("av_desc", resourceCulture); + return ResourceManager.GetString("avatar_desc", resourceCulture); } } /// /// Looks up a localized string similar to `~av "@SomeGuy"`. /// - public static string av_summary { + public static string avatar_summary { get { - return ResourceManager.GetString("av_summary", resourceCulture); + return ResourceManager.GetString("avatar_summary", resourceCulture); } } /// /// Looks up a localized string similar to av. /// - public static string av_text { + public static string avatar_text { get { - return ResourceManager.GetString("av_text", resourceCulture); + return ResourceManager.GetString("avatar_text", resourceCulture); } } @@ -7406,27 +7406,27 @@ namespace NadekoBot.Resources { /// /// Looks up a localized string similar to Shows weather data for a specified city and a country. BOTH ARE REQUIRED. Use country abbrevations.. /// - public static string we_desc { + public static string weather_desc { get { - return ResourceManager.GetString("we_desc", resourceCulture); + return ResourceManager.GetString("weather_desc", resourceCulture); } } /// /// Looks up a localized string similar to `~we Moscow RF`. /// - public static string we_summary { + public static string weather_summary { get { - return ResourceManager.GetString("we_summary", resourceCulture); + return ResourceManager.GetString("weather_summary", resourceCulture); } } /// /// Looks up a localized string similar to we. /// - public static string we_text { + public static string weather_text { get { - return ResourceManager.GetString("we_text", resourceCulture); + return ResourceManager.GetString("weather_text", resourceCulture); } } @@ -7541,27 +7541,27 @@ namespace NadekoBot.Resources { /// /// Looks up a localized string similar to Searches youtubes and shows the first result. /// - public static string yt_desc { + public static string youtube_desc { get { - return ResourceManager.GetString("yt_desc", resourceCulture); + return ResourceManager.GetString("youtube_desc", resourceCulture); } } /// /// Looks up a localized string similar to `~yt query`. /// - public static string yt_summary { + public static string youtube_summary { get { - return ResourceManager.GetString("yt_summary", resourceCulture); + return ResourceManager.GetString("youtube_summary", resourceCulture); } } /// /// Looks up a localized string similar to yt. /// - public static string yt_text { + public static string youtube_text { get { - return ResourceManager.GetString("yt_text", resourceCulture); + return ResourceManager.GetString("youtube_text", resourceCulture); } } } diff --git a/src/NadekoBot/Resources/CommandStrings.resx b/src/NadekoBot/Resources/CommandStrings.resx index 10d9f8e2..e33eeace 100644 --- a/src/NadekoBot/Resources/CommandStrings.resx +++ b/src/NadekoBot/Resources/CommandStrings.resx @@ -2115,22 +2115,22 @@ `~memegen biw "gets iced coffee" "in the winter"` - + we - + Shows weather data for a specified city and a country. BOTH ARE REQUIRED. Use country abbrevations. - + `~we Moscow RF` - + yt - + Searches youtubes and shows the first result - + `~yt query` @@ -2349,13 +2349,13 @@ `~videocall "@SomeGuy"` - + av - + Shows a mentioned person's avatar. - + `~av "@SomeGuy"` diff --git a/src/NadekoBot/project.json b/src/NadekoBot/project.json index e72bf3c9..a4e9e9f9 100644 --- a/src/NadekoBot/project.json +++ b/src/NadekoBot/project.json @@ -1,6 +1,6 @@ { "version": "1.0.0-*", - "description": "General purposee Discord bot written in C#.", + "description": "General purpose Discord bot written in C#.", "authors": [ "Kwoth" ], "copyright": "Kwoth", "buildOptions": {