Skip to content

Commit

Permalink
Fix Liquidation Confirmation Message Member (#551)
Browse files Browse the repository at this point in the history
* sent the liq confirmation message to wrong user, misc badge cleanup

* small typo for continued risk chunks
  • Loading branch information
zmattingly committed Sep 19, 2024
1 parent 4287b47 commit a1b2c43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/agimus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: agimus
description: A helm chart for a discord bot that also runs a mysql db
type: application
version: v2.10.21
appVersion: v2.10.21
version: v2.10.22
appVersion: v2.10.22
4 changes: 2 additions & 2 deletions cogs/tongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ async def risk(self, ctx:discord.ApplicationContext, randomized:bool, first_badg
if len(tongo_pot_chunks) > 1:
for t_chunk in tongo_pot_chunks[1:]:
chunk_embed = discord.Embed(
title=f"Index requested by **{user_member.display_name}** (Continued)",
title=f"TONGO! Badges risked by **{user_member.display_name}** (Continued)!",
color=discord.Color.dark_purple()
)
chunk_embed.add_field(
Expand Down Expand Up @@ -960,7 +960,7 @@ async def _perform_confront(self, active_tongo, active_chair, auto_confront=Fals
value=f"* {liquidation_reward['badge_name']} ✨"
)
try:
await player_member.send(embed=player_liquidation_embed)
await liquidation_member.send(embed=player_liquidation_embed)
except discord.Forbidden:
logger.info(f"Unable to send liquidation message to {player_member.display_name}, they have their DMs closed.")
pass
Expand Down
3 changes: 3 additions & 0 deletions migrations/v2.10.22.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
UPDATE badge_info SET badge_name = "Starfleet Outpost Crew 2260s" WHERE badge_filename = "Starfleeta_Outpost_Crew.png";
UPDATE badge_info SET badge_url = "https://www.startrekdesignproject.com/symbols/starfleet-outpost-crew-2260s" WHERE badge_filename = "Starfleeta_Outpost_Crew.png";
UPDATE badge_info SET badge_url = "https://www.startrekdesignproject.com/symbols/starbase-yorktown-(kelvin)" WHERE badge_filename = "Starbase_Yorktown_Kelvin";

0 comments on commit a1b2c43

Please sign in to comment.