Small change to text

This commit is contained in:
Joseph Ferano 2022-02-11 20:20:05 +07:00
parent a0fbe76422
commit b8f4e59cbe
2 changed files with 3 additions and 5 deletions

View File

@ -181,7 +181,8 @@ let getAchievementEmbed (player : PlayerData) description achievement =
embed.WithTitle("Achievement Unlocked!") embed.WithTitle("Achievement Unlocked!")
.WithDescription(description) .WithDescription(description)
.WithColor(DiscordColor.Gold) .WithColor(DiscordColor.Gold)
.AddField("Achievement", achievement) // .AddField("Achievement", $"🏆 {achievement}")
.AddField("Achievement", $"{achievement}")
// TODO: Once we add another achievement, fix this // TODO: Once we add another achievement, fix this
.WithImageUrl("https://s10.gifyu.com/images/MasterTraining_Degenz.gif")) .WithImageUrl("https://s10.gifyu.com/images/MasterTraining_Degenz.gif"))
.AsEphemeral(true) .AsEphemeral(true)

View File

@ -10,9 +10,6 @@ open Degenz.Messaging
let trainerAchievement = "FINISHED_TRAINER" let trainerAchievement = "FINISHED_TRAINER"
// TODO: We should either gift the weapons to the player during training, or have them buy it
// TODO: We should tell the user to type out /arsenal during the training
// TODO: How do we handle the money being generated here? It's fake but fake is confusing
let defaultHack = Armory.battleItems |> Array.find (fun i -> i.Id = int HackId.Virus) let defaultHack = Armory.battleItems |> Array.find (fun i -> i.Id = int HackId.Virus)
let defaultShield = Armory.battleItems |> Array.find (fun i -> i.Id = int ShieldId.Encryption) let defaultShield = Armory.battleItems |> Array.find (fun i -> i.Id = int ShieldId.Encryption)
@ -230,7 +227,7 @@ let handleArsenal (ctx : InteractionContext) =
do! ctx.Member.RevokeRoleAsync(role) do! ctx.Member.RevokeRoleAsync(role)
|> Async.AwaitTask |> Async.AwaitTask
do! sendFollowUpMessageFromCtx ctx "Now get out of there and go hack other Degenz!" do! sendFollowUpMessageFromCtx ctx $"Now get out of there and go hack other Degenz in the <#{GuildEnvironment.channelBattle}> channel!"
}) })
let handleButtonEvent (event : ComponentInteractionCreateEventArgs) = let handleButtonEvent (event : ComponentInteractionCreateEventArgs) =