Exemple #1
0
 /// <summary>
 /// Send an error message with arguments. The form is an embed with the error color.<br/>
 /// If the key starts with "#", the first word delimited by "_" is the prefix for the translation.<br/>
 /// If the key doesn't start with "#", the prefix of the translation is the lower module type of this class.
 /// </summary>
 public Task <IUserMessage> ReplyErrorAsync(IMessageChannel channel, Snowflake guildId, string key, params object[] args)
 {
     return(channel.SendErrorMessageAsync(Localization.GetText(guildId, key, args)));
 }