Skip to content

Commit e492b57

Browse files
committed
Hotfixes
1 parent 00071c6 commit e492b57

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

modules/genius/genius.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async def create_ticket(self, userId):
261261
)
262262

263263
msg = await tc.send(
264-
f"Hey <@{userId}>! Welcome to your support channel! Please explain your issue here and someone will help you shortly. Alternatively, join your assigned vc.", # This text was definitely not stolen ;)
264+
f"Hey <@{userId}>! Welcome to your support channel! Please explain your issue here and someone will help you shortly. Alternatively, join your assigned vc. To add your teammates to this ticket, type /add <name>. Remember to close the ticket after you're done!", # This text was definitely not stolen ;)
265265
components=[button3]
266266
)
267267
await msg.pin()

storage/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ def backup(self):
5050

5151
def _save_file(self, path):
5252
with open(path, "wb") as file:
53-
data = orjson.dumps(self.container.to_dict())
53+
data = orjson.dumps(self.container.to_dict(), option=orjson.OPT_NON_STR_KEYS)
5454
file.write(data)

utils/embeds.py

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,33 @@
55
"Nerf R' Us 🔫",
66
"Let's face it, programming 🖥, *is hard*. So while you're racking your brains working on prototypes, remember to take breathers!\n\n\
77
In fact, if you're up for destressing, come on down to **Nerf R' Us**!\n\n\
8-
Here, you'll get to wield **modded**, *high calibre* weaponry* in a simple but fun game of can shooting 🎯\n\n\n\
9-
At the end of the day, individuals/pairs with the highest scores get a special prize! 👀\n\n\n\
8+
Here, you'll get to wield **modded**, *high calibre* weaponry* in a simple but fun game of can shooting 🎯\n\n\
9+
At the end of the day, teams with the highest scores get a special prize! 👀\n\n\n\
1010
We're located south of the Green Patch, queue up with the bot and we'll ping ya when you can come! 📍\n\n\
1111
Weaponry include:",
1212
color="#F9AC42",
13-
footer="*no actual weapons lah, just nerf guns",
13+
footer="*no actual weapons lah, just nerf guns\n\nAll blasters provided by Mr Ben, thank you!!",
1414
image="https://cdn.discordapp.com/attachments/900759773178396785/903654583845417040/bytehackz2021.003.png",
1515
)
16-
NERF_GUN.add_field("EH Spectre", "desc", inline=True)
17-
NERF_GUN.add_field("Mega Cycloneshock", "desc", inline=True)
18-
NERF_GUN.add_field("Pharoah Ultra 7", "desc", inline=True)
19-
NERF_GUN.add_field("Nerf Longshot", "desc", inline=True)
16+
NERF_GUN.add_field(
17+
"EH Spectre",
18+
".",
19+
inline=True)
20+
21+
NERF_GUN.add_field(
22+
"Mega Cycloneshock",
23+
".",
24+
inline=True)
25+
26+
NERF_GUN.add_field(
27+
"Pharoah Ultra 7",
28+
".",
29+
inline=True)
30+
31+
NERF_GUN.add_field(
32+
"Nexus Pro",
33+
".",
34+
inline=True)
2035

2136
GENIUS_BAR = Embed(
2237
"Genius Bar 🧠",

0 commit comments

Comments
 (0)