Skip to content

Commit 34d07e9

Browse files
committed
modmail now pings and new prefix
1 parent 51572a0 commit 34d07e9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self, config: Config):
3232
intents.presences = True
3333

3434
super().__init__(
35-
command_prefix='m!',
35+
command_prefix='!!',
3636
intents=intents,
3737
help_command=None,
3838
owner_id=config.owner_id

cogs/modmail.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ async def handle_dm_message(self, message: discord.Message):
152152
timestamp=datetime.utcnow()
153153
)
154154
log_embed.set_thumbnail(url=message.author.display_avatar.url)
155-
await main_channel.send(embed=log_embed)
155+
await main_channel.send(content="@here", embed=log_embed)
156156
except Exception as e:
157157
logger.error(f"Failed to send modmail log: {e}")
158158

@@ -239,7 +239,7 @@ async def handle_thread_reply(self, message: discord.Message):
239239

240240
if message.content.startswith(tuple([p + "close" for p in prefixes])):
241241
return
242-
if message.content.startswith("m!close"):
242+
if message.content.startswith("!!close"):
243243
return
244244

245245
user = self.bot.get_user(session_user_id)
@@ -250,8 +250,8 @@ async def handle_thread_reply(self, message: discord.Message):
250250
try:
251251
files = [await f.to_file() for f in message.attachments]
252252
embed = discord.Embed(
253-
title="A moderator has replied",
254-
description=message.content,
253+
title="A Moderator has Replied",
254+
description="> "+message.content,
255255
color=discord.Color.from_str("#00ff00")
256256
)
257257
# embed.set_author(name=message.author.display_name, icon_url=message.author.display_avatar.url)

0 commit comments

Comments
 (0)