mirror of
https://github.com/hencaric/SCNewsBot.git
synced 2026-08-17 06:56:03 +01:00
reformat code
This commit is contained in:
@@ -189,7 +189,9 @@ class Announcement:
|
|||||||
setattr(self, option.id, converted_value)
|
setattr(self, option.id, converted_value)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
async def get_embed(self, *, bot: commands.Bot, show_author: bool = False) -> discord.Embed:
|
async def get_embed(
|
||||||
|
self, *, bot: commands.Bot, show_author: bool = False
|
||||||
|
) -> discord.Embed:
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
color=bot.config.embed_color,
|
color=bot.config.embed_color,
|
||||||
title=self.title,
|
title=self.title,
|
||||||
|
|||||||
Reference in New Issue
Block a user