Minor fix
This commit is contained in:
		@@ -521,7 +521,7 @@ namespace NadekoBot.Modules.Administration
 | 
				
			|||||||
        [NadekoCommand, Usage, Description, Aliases]
 | 
					        [NadekoCommand, Usage, Description, Aliases]
 | 
				
			||||||
        [RequireContext(ContextType.Guild)]
 | 
					        [RequireContext(ContextType.Guild)]
 | 
				
			||||||
        [OwnerOnly]
 | 
					        [OwnerOnly]
 | 
				
			||||||
        public async Task NewAvatar(IUserMessage umsg, [Remainder] string img = null)
 | 
					        public async Task SetAvatar(IUserMessage umsg, [Remainder] string img = null)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            var channel = (ITextChannel)umsg.Channel;
 | 
					            var channel = (ITextChannel)umsg.Channel;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										56
									
								
								src/NadekoBot/Resources/CommandStrings.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										56
									
								
								src/NadekoBot/Resources/CommandStrings.Designer.cs
									
									
									
										generated
									
									
									
								
							@@ -303,7 +303,7 @@ namespace NadekoBot.Resources {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        ///    Looks up a localized string similar to ani anime aq.
 | 
					        ///    Looks up a localized string similar to anime ani aq.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        public static string anime_cmd {
 | 
					        public static string anime_cmd {
 | 
				
			||||||
            get {
 | 
					            get {
 | 
				
			||||||
@@ -4217,33 +4217,6 @@ namespace NadekoBot.Resources {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        ///    Looks up a localized string similar to newavatar setavatar.
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        public static string newavatar_cmd {
 | 
					 | 
				
			||||||
            get {
 | 
					 | 
				
			||||||
                return ResourceManager.GetString("newavatar_cmd", resourceCulture);
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        ///    Looks up a localized string similar to Sets a new avatar image for the NadekoBot. Argument is a direct link to an image.  .
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        public static string newavatar_desc {
 | 
					 | 
				
			||||||
            get {
 | 
					 | 
				
			||||||
                return ResourceManager.GetString("newavatar_desc", resourceCulture);
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        ///    Looks up a localized string similar to `.setavatar http://i.imgur.com/xTG3a1I.jpg`.
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        public static string newavatar_usage {
 | 
					 | 
				
			||||||
            get {
 | 
					 | 
				
			||||||
                return ResourceManager.GetString("newavatar_usage", resourceCulture);
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        ///    Looks up a localized string similar to next n.
 | 
					        ///    Looks up a localized string similar to next n.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
@@ -5918,6 +5891,33 @@ namespace NadekoBot.Resources {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        ///    Looks up a localized string similar to setavatar setav.
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        public static string setavatar_cmd {
 | 
				
			||||||
 | 
					            get {
 | 
				
			||||||
 | 
					                return ResourceManager.GetString("setavatar_cmd", resourceCulture);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        ///    Looks up a localized string similar to Sets a new avatar image for the NadekoBot. Argument is a direct link to an image.  .
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        public static string setavatar_desc {
 | 
				
			||||||
 | 
					            get {
 | 
				
			||||||
 | 
					                return ResourceManager.GetString("setavatar_desc", resourceCulture);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        ///    Looks up a localized string similar to `.setav http://i.imgur.com/xTG3a1I.jpg`.
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        public static string setavatar_usage {
 | 
				
			||||||
 | 
					            get {
 | 
				
			||||||
 | 
					                return ResourceManager.GetString("setavatar_usage", resourceCulture);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        ///    Looks up a localized string similar to setchanlname schn.
 | 
					        ///    Looks up a localized string similar to setchanlname schn.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -738,14 +738,14 @@
 | 
				
			|||||||
  <data name="setname_usage" xml:space="preserve">
 | 
					  <data name="setname_usage" xml:space="preserve">
 | 
				
			||||||
    <value>`.newnm BotName`</value>
 | 
					    <value>`.newnm BotName`</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="newavatar_cmd" xml:space="preserve">
 | 
					  <data name="setavatar_cmd" xml:space="preserve">
 | 
				
			||||||
    <value>newavatar setavatar</value>
 | 
					    <value>setavatar setav</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="newavatar_desc" xml:space="preserve">
 | 
					  <data name="setavatar_desc" xml:space="preserve">
 | 
				
			||||||
    <value>Sets a new avatar image for the NadekoBot. Argument is a direct link to an image.  </value>
 | 
					    <value>Sets a new avatar image for the NadekoBot. Argument is a direct link to an image.  </value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="newavatar_usage" xml:space="preserve">
 | 
					  <data name="setavatar_usage" xml:space="preserve">
 | 
				
			||||||
    <value>`.setavatar http://i.imgur.com/xTG3a1I.jpg`</value>
 | 
					    <value>`.setav http://i.imgur.com/xTG3a1I.jpg`</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="setgame_cmd" xml:space="preserve">
 | 
					  <data name="setgame_cmd" xml:space="preserve">
 | 
				
			||||||
    <value>setgame</value>
 | 
					    <value>setgame</value>
 | 
				
			||||||
@@ -2044,7 +2044,7 @@
 | 
				
			|||||||
    <value>`~yt query`</value>
 | 
					    <value>`~yt query`</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="anime_cmd" xml:space="preserve">
 | 
					  <data name="anime_cmd" xml:space="preserve">
 | 
				
			||||||
    <value>ani anime aq</value>
 | 
					    <value>anime ani aq</value>
 | 
				
			||||||
  </data>
 | 
					  </data>
 | 
				
			||||||
  <data name="anime_desc" xml:space="preserve">
 | 
					  <data name="anime_desc" xml:space="preserve">
 | 
				
			||||||
    <value>Queries anilist for an anime and shows the first result.</value>
 | 
					    <value>Queries anilist for an anime and shows the first result.</value>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user