%mentions

This commit is contained in:
klemek
2021-01-13 16:32:48 +01:00
parent 5d994a82e0
commit 86dc115697
8 changed files with 190 additions and 3 deletions
+8
View File
@@ -38,6 +38,14 @@ def mention(member_id: int) -> str:
return f"<@{member_id}>"
def alt_mention(member_id: int) -> str:
return f"<@!{member_id}>"
def role_mention(role_id: int) -> str:
return f"<@&{role_id}>"
def channel_mention(channel_id: int) -> str:
return f"<#{channel_id}>"