Fixed some minor things
This commit is contained in:
		@@ -5,7 +5,6 @@ using NadekoBot.Attributes;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
//todo owner only
 | 
			
		||||
namespace NadekoBot.Modules.Administration
 | 
			
		||||
{
 | 
			
		||||
    public partial class Administration
 | 
			
		||||
 
 | 
			
		||||
@@ -70,7 +70,7 @@ namespace NadekoBot.Modules.Gambling
 | 
			
		||||
                            arr[i] = rng.Next(1, n2 + 1);
 | 
			
		||||
                        }
 | 
			
		||||
                        var elemCnt = 0;
 | 
			
		||||
                        await channel.SendMessageAsync($"`{umsg.Author.Mention} rolled {n1} {(n1 == 1 ? "die" : "dice")} 1-{n2}.`\n`Result:` " + string.Join(", ", (ordered ? arr.OrderBy(x => x).AsEnumerable() : arr).Select(x => elemCnt++ % 2 == 0 ? $"**{x}**" : x.ToString()))).ConfigureAwait(false);
 | 
			
		||||
                        await channel.SendMessageAsync($"{umsg.Author.Mention} rolled {n1} {(n1 == 1 ? "die" : "dice")} 1-{n2}.\n`Result:` " + string.Join(", ", (ordered ? arr.OrderBy(x => x).AsEnumerable() : arr).Select(x => elemCnt++ % 2 == 0 ? $"**{x}**" : x.ToString()))).ConfigureAwait(false);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,8 @@ using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
namespace NadekoBot.Modules.Games
 | 
			
		||||
{
 | 
			
		||||
    //todo make currency generation change and cooldown modifyable
 | 
			
		||||
    //only by bot owner through commands
 | 
			
		||||
    public partial class Games
 | 
			
		||||
    {
 | 
			
		||||
        /// <summary>
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,7 @@ namespace NadekoBot.Modules.Searches
 | 
			
		||||
            }
 | 
			
		||||
            [LocalizedCommand, LocalizedRemarks, LocalizedSummary, LocalizedAlias]
 | 
			
		||||
            [RequireContext(ContextType.Guild)]
 | 
			
		||||
            public async Task Osu(IUserMessage umsg, string usr, string mode)
 | 
			
		||||
            public async Task Osu(IUserMessage umsg, string usr, [Remainder] string mode = null)
 | 
			
		||||
            {
 | 
			
		||||
                var channel = (ITextChannel)umsg.Channel;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2625,7 +2625,7 @@ namespace NadekoBot.Resources {
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///    Looks up a localized string similar to Toggles currency generation on this channel. Every posted message will have 2% chance to spawn a NadekoFlower. Optional parameter cooldown time in minutes, 5 minutes by default. Requires Manage Messages permission..
 | 
			
		||||
        ///    Looks up a localized string similar to Toggles currency generation on this channel. Every posted message will have 2% chance to spawn a NadekoFlower. Requires Manage Messages permission..
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public static string gencurrency_desc {
 | 
			
		||||
            get {
 | 
			
		||||
@@ -2634,7 +2634,7 @@ namespace NadekoBot.Resources {
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        ///    Looks up a localized string similar to `>gc` or `>gc 60`.
 | 
			
		||||
        ///    Looks up a localized string similar to `>gc`.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public static string gencurrency_summary {
 | 
			
		||||
            get {
 | 
			
		||||
 
 | 
			
		||||
@@ -1588,10 +1588,10 @@
 | 
			
		||||
    <value>gencurrency gc</value>
 | 
			
		||||
  </data>
 | 
			
		||||
  <data name="gencurrency_desc" xml:space="preserve">
 | 
			
		||||
    <value>Toggles currency generation on this channel. Every posted message will have 2% chance to spawn a NadekoFlower. Optional parameter cooldown time in minutes, 5 minutes by default. Requires Manage Messages permission.</value>
 | 
			
		||||
    <value>Toggles currency generation on this channel. Every posted message will have 2% chance to spawn a NadekoFlower. Requires Manage Messages permission.</value>
 | 
			
		||||
  </data>
 | 
			
		||||
  <data name="gencurrency_summary" xml:space="preserve">
 | 
			
		||||
    <value>`>gc` or `>gc 60`</value>
 | 
			
		||||
    <value>`>gc`</value>
 | 
			
		||||
  </data>
 | 
			
		||||
  <data name="leet_text" xml:space="preserve">
 | 
			
		||||
    <value>leet</value>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user