Merge branch 'develop' into 'master'

Customizing output of congrats msg as per Luna

See merge request discord-bots/chaosbot!10
This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-08-09 09:53:00 -04:00
commit 1f4f2fe555

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)