Feat/better messages (#318)

* improve messages and UX

* move log statement

Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
This commit is contained in:
Alex Ott
2023-01-03 13:13:44 +01:00
committed by GitHub
co-authored by Andreas Köpf
parent b26d62761e
commit e7515fd08e
7 changed files with 394 additions and 193 deletions
-7
View File
@@ -24,13 +24,6 @@ def format_time(dt: datetime, fmt: t.Literal["t", "T", "D", "f", "F", "R"]) -> s
raise ValueError(f"`fmt` must be 't', 'T', 'D', 'f', 'F' or 'R', not {fmt}")
EMPTY = "\u200d"
"""Zero-width joiner.
This appears as an empty message in Discord.
"""
def mention(
id: hikari.Snowflakeish,
type: t.Literal["channel", "role", "user"],