Skip to content

Commit

Permalink
feat: Add Hybrid notice message
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ue-Dev committed Jul 2, 2023
1 parent fdda136 commit 333cdf2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 4 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def get_latest_release_version() -> str:
status=interactions.Status.ONLINE,
send_command_tracebacks=False,
)
prefixed_setup(client, default_prefix="a$")
prefixed_setup(client, default_prefix="$")
hybrid_setup(client)
client.load_extension("exts.core.__init__")
client.load_extension("exts.fun.__init__")
Expand Down Expand Up @@ -103,7 +103,9 @@ async def bot_mentions(_msg: interactions.events.MessageCreate) -> None:
[
"I could not help much but noticed you mentioned me.",
f"You can type ``/`` and choose **{client.user.username}**",
"to see a list of available commands.",
"to start using me. Alternatively, you can use ",
"`$help` or `/help` to see a list of available ",
"commands. Thank you for choosing Articuno. ^-^",
],
),
color=0x6AA4C1,
Expand Down
10 changes: 9 additions & 1 deletion exts/core/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@ async def help(self, ctx: HybridContext) -> None:

help_list.append(
interactions.Embed(
title="List of available commands.",
title="".join(
[
"List of available commands.\n",
"<:information:1125071135575388222> ",
"If a command has **/**`$`, it supports both ",
"prefixed message (the traditional `$`<name> way)",
" and slash command (the new `/`<name> way).",
]
),
color=0x7CB7D3,
thumbnail=interactions.EmbedAttachment(
url=self.client.user.avatar.url
Expand Down

0 comments on commit 333cdf2

Please sign in to comment.