Skip to content

Commit 570f0a4

Browse files
Updated several custom emojis and disabled @mentions in the blacklist command
1 parent 70b6d00 commit 570f0a4

13 files changed

Lines changed: 26 additions & 16 deletions

File tree

src/assets/emojis/broom.png

1.44 KB
Loading

src/assets/emojis/icon_host.png

-5.59 KB
Loading
-1.71 KB
Loading

src/assets/emojis/icon_join.png

-3.25 KB
Loading

src/assets/emojis/icon_leave.png

-3.18 KB
Loading

src/assets/emojis/oxapay.png

9.41 KB
Loading

src/assets/emojis/pingpong.png

1.57 KB
Loading

src/cogs/admin/owner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ def _fmt(entry, kind):
827827
title=f"🔨 Blacklist\n-# Users: {len(user_lines)} · Guilds: {len(guild_lines)}",
828828
pages=pages
829829
)
830-
await ctx.send(view=view)
830+
await ctx.send(view=view, allowed_mentions=discord.AllowedMentions.none())
831831

832832
# -------------------------------
833833
# INFO — look up a single entry
@@ -862,7 +862,7 @@ async def blacklist_info(self, ctx, type: str, id_or_mention: str):
862862
discord.ui.TextDisplay(content=f"**Reason:** {reason}\n**Added:** {date_str}\n**Added by:** {added_by_str}"),
863863
accent_colour=discord.Color.red(),
864864
))
865-
await ctx.send(view=view)
865+
await ctx.send(view=view, allowed_mentions=discord.AllowedMentions.none())
866866

867867
# -------------------------------
868868
# REASON — update reason on an existing entry

src/cogs/donations/cog.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _payment_layout(
9191
label="Pay Now",
9292
style=discord.ButtonStyle.link,
9393
url=pay_link,
94-
emoji="💳",
94+
emoji=get_emoji("oxapay"),
9595
)
9696
),
9797
)
@@ -301,7 +301,10 @@ async def donate(self, ctx: commands.Context, amount: float = 5.0):
301301
f"Select a cryptocurrency below to proceed:"
302302
)
303303
),
304-
_currency_select(self, amount, ctx.author.id)
304+
_currency_select(self, amount, ctx.author.id),
305+
discord.ui.TextDisplay(
306+
content=f"-# {get_emoji('oxapay')} Powered by OxaPay"
307+
)
305308
)
306309
)
307310

src/cogs/moderation/_messages.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"muted": "🔇 Muted **{member}** | Reason: {reason}",
2626
"tempmuted": "⏳ Muted **{member}** for `{duration}s` | Reason: {reason}",
2727
"unmuted": "🔊 Unmuted **{member}**.",
28-
"cleared": "🧹 Deleted `{count}` messages.",
29-
"purged": "🧹 Deleted `{count}` messages from **{member}**.",
28+
"cleared": "Deleted `{count}` messages.",
29+
"purged": "Deleted `{count}` messages from **{member}**.",
3030
"slowmode_set": "🐢 Slowmode set to `{seconds}` seconds.",
3131
"locked": "🔒 Channel locked.",
3232
"unlocked": "🔓 Channel unlocked.",
@@ -64,8 +64,8 @@
6464
"muted": "🔇 **{member}** stummgeschaltet | Grund: {reason}",
6565
"tempmuted": "⏳ **{member}** für `{duration}s` stummgeschaltet | Grund: {reason}",
6666
"unmuted": "🔊 **{member}** entstummt.",
67-
"cleared": "🧹 `{count}` Nachrichten gelöscht.",
68-
"purged": "🧹 `{count}` Nachrichten von **{member}** gelöscht.",
67+
"cleared": "`{count}` Nachrichten gelöscht.",
68+
"purged": "`{count}` Nachrichten von **{member}** gelöscht.",
6969
"slowmode_set": "🐢 Langsamodus auf `{seconds}` Sekunden gesetzt.",
7070
"locked": "🔒 Kanal gesperrt.",
7171
"unlocked": "🔓 Kanal entsperrt.",
@@ -103,8 +103,8 @@
103103
"muted": "🔇 **{member}** silenciado | Razón: {reason}",
104104
"tempmuted": "⏳ **{member}** silenciado por `{duration}s` | Razón: {reason}",
105105
"unmuted": "🔊 **{member}** desilenciado.",
106-
"cleared": "🧹 Borrados `{count}` mensajes.",
107-
"purged": "🧹 Borrados `{count}` mensajes de **{member}**.",
106+
"cleared": "Borrados `{count}` mensajes.",
107+
"purged": "Borrados `{count}` mensajes de **{member}**.",
108108
"slowmode_set": "🐢 Modo lento ajustado a `{seconds}` segundos.",
109109
"locked": "🔒 Canal bloqueado.",
110110
"unlocked": "🔓 Canal desbloqueado.",

0 commit comments

Comments
 (0)