diff --git a/Bot/Games/Trainer.fs b/Bot/Games/Trainer.fs index 816d718..43ec543 100644 --- a/Bot/Games/Trainer.fs +++ b/Bot/Games/Trainer.fs @@ -177,6 +177,9 @@ type the `/arsenal` command NOW""" let role = ctx.GetGuild().GetRole(GuildEnvironment.roleTrainee) do! ctx.GetDiscordMember().RevokeRoleAsync(role) |> Async.AwaitTask + let role = ctx.GetGuild().GetRole(GuildEnvironment.roleHacker) + do! ctx.GetDiscordMember().GrantRoleAsync(role) |> Async.AwaitTask + do! sendFollowUpMessage ctx ($"Your training is now complete. If you want to buy more **HACKS & SHIELDS**, go to the <#{GuildEnvironment.channelArmory}> and type the `/buy-hack` and `/buy-shield` commands!") }) @@ -236,6 +239,9 @@ let handleArsenal (ctx : IDiscordContext) = PlayerInteractions.executePlayerActi let role = ctx.GetGuild().GetRole(GuildEnvironment.roleTrainee) do! ctx.GetDiscordMember().RevokeRoleAsync(role) |> Async.AwaitTask + let role = ctx.GetGuild().GetRole(GuildEnvironment.roleHacker) + do! ctx.GetDiscordMember().GrantRoleAsync(role) |> Async.AwaitTask + do! sendFollowUpMessage ctx ($"Your training is now complete. If you want to buy more **HACKS & SHIELDS**, go to the <#{GuildEnvironment.channelArmory}> and type the `/buy-hack` and `/buy-shield` commands!") })