Skip to content

Commit 2a75dfb

Browse files
committed
feat: update embed footer display format
1 parent 3832fb6 commit 2a75dfb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tux/ui/embeds.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from loguru import logger
66

77
from tux.bot import Tux
8+
from tux.utils.config import Config
89
from tux.utils.constants import CONST
910

1011

@@ -140,7 +141,9 @@ def get_footer(
140141
user_display_avatar: str | None = None,
141142
) -> tuple[str, str | None]:
142143
try:
143-
text: str = f"{user_name}@atl $" if user_name else "tux@atl $"
144+
text: str = (
145+
f"{user_name}@discord $" if user_name else f"{Config.BOT_NAME.lower()}@discord $"
146+
) # TODO: Make this configurable with the new config system.
144147
text += f" {round(bot.latency * 1000)}ms" if bot else ""
145148

146149
except Exception as e:

0 commit comments

Comments
 (0)