WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 599ab8c51d - Show all commits

View file

@ -11,6 +11,7 @@ from ..models.partials import PartialUser
from .config import config from .config import config
from .utils import get_bool_emoji, get_next_case_number, get_pagesize_str from .utils import get_bool_emoji, get_next_case_number, get_pagesize_str
async def message_factory( async def message_factory(
color: Color, color: Color,
guild: Guild, guild: Guild,
@ -87,7 +88,7 @@ async def message_factory(
embed.set_author(name=guild.name) embed.set_author(name=guild.name)
embed.set_footer( 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", icon_url="attachment://arrow.png",
) )