Customizing output of congrats msg as per Luna

This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-08-09 09:51:24 -04:00
parent e3dd02a139
commit da5848adc4

View File

@ -87,10 +87,11 @@ namespace ChaosBot.Discord.Services
if (ConfigSet != "false")
{
ulong channelId = Convert.ToUInt64(ConfigSet.Substring(2, ConfigSet.Length - 3));
await context.Guild.GetTextChannel(channelId).SendMessageAsync($"Congratulations <@{usrExperience.DiscordUserId}>, You have reached {curLevel}.");
await context.Guild.GetTextChannel(channelId).SendMessageAsync(
$"Grats <@{usrExperience.DiscordGuildId}>! You have reached level {curLevel} :wot:");
}
else
await context.Channel.SendMessageAsync($"Congratulations <@{usrExperience.DiscordUserId}>, You have reached {curLevel}. Congratulations!");
await context.Channel.SendMessageAsync($"Grats <@{usrExperience.DiscordGuildId}>! You have reached level {curLevel} :wot:");
}
}
catch (Exception ex)