change embed color
This commit is contained in:
3
main.py
3
main.py
@@ -99,7 +99,8 @@ class Database:
|
||||
m = self.__tracked_messages[message_id]
|
||||
return discord.Embed(
|
||||
title=f"message with {len(m.reactions)} reactions",
|
||||
description="\n".join(f"{x.emoji}" + (f" ({x.emoji.removesuffix('>').split(':')[2]})" if ':' in x.emoji else "") + f" - <@&{x.role_id}>" for x in m.reactions)
|
||||
description="\n".join(f"{x.emoji}" + (f" ({x.emoji.removesuffix('>').split(':')[2]})" if ':' in x.emoji else "") + f" - <@&{x.role_id}>" for x in m.reactions),
|
||||
color=discord.Color(0xa2d2df)
|
||||
)
|
||||
|
||||
def format_message(self, message_id: int) -> str:
|
||||
|
||||
Reference in New Issue
Block a user