fix(aurora): fixed a non-async function being awaited
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s

This commit is contained in:
Seaswimmer 2024-05-24 03:56:32 -04:00
parent 797fd561c9
commit 599ab8c51d
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -11,6 +11,7 @@ from ..models.partials import PartialUser
from .config import config
from .utils import get_bool_emoji, get_next_case_number, get_pagesize_str
async def message_factory(
color: Color,
guild: Guild,
@ -87,7 +88,7 @@ async def message_factory(
embed.set_author(name=guild.name)
embed.set_footer(
text=f"Case #{await get_next_case_number(guild.id):,}",
text=f"Case #{get_next_case_number(guild.id):,}",
icon_url="attachment://arrow.png",
)