From da5848adc4933881db2d3d79ec0e65dc828407e7 Mon Sep 17 00:00:00 2001 From: Sean Stoves Date: Sun, 9 Aug 2020 09:51:24 -0400 Subject: [PATCH] Customizing output of congrats msg as per Luna --- ChaosBot/Discord/Services/ExperienceHandler.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ChaosBot/Discord/Services/ExperienceHandler.cs b/ChaosBot/Discord/Services/ExperienceHandler.cs index 15a8552..b02482a 100644 --- a/ChaosBot/Discord/Services/ExperienceHandler.cs +++ b/ChaosBot/Discord/Services/ExperienceHandler.cs @@ -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)