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:
commit
1f4f2fe555
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user