diff options
author | 2019-01-07 19:45:57 +0100 | |
---|---|---|
committer | 2019-01-07 19:45:57 +0100 | |
commit | 5f4e617a98422a588e98e1e0d067e638877c5d65 (patch) | |
tree | 5ec6490d62f9c6e634eaddcf9362c1e1202bea58 | |
parent | Clarifying comment (diff) |
Reverting modlog.py to original state
-rw-r--r-- | bot/cogs/modlog.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/bot/cogs/modlog.py b/bot/cogs/modlog.py index a167ba9e8..0561b5afb 100644 --- a/bot/cogs/modlog.py +++ b/bot/cogs/modlog.py @@ -127,23 +127,6 @@ class ModLog: await self.bot.get_channel(channel_id).send(content=content, embed=embed, files=files) - async def send_log_embeds( - self, embeds: List[Embed], content: Optional[str], - channel_id: int = Channels.modlog, ping_everyone: bool = False, - ): - - if ping_everyone: - if content: - content = f"@everyone\n{content}" - else: - content = "@everyone" - - if content: - await self.bot.get_channel(channel_id).send(content=content) - - for embed in embeds: - await self.bot.get_channel(channel_id).send(embed=embed) - async def on_guild_channel_create(self, channel: GUILD_CHANNEL): if channel.guild.id != GuildConstant.id: return |