WIP: Moderation type registry #26
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue