what
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
This commit is contained in:
parent
2ca0949789
commit
733efe43b9
1 changed files with 1 additions and 4 deletions
|
@ -293,19 +293,16 @@ class AutoResponder(commands.Cog):
|
|||
async def auto_responder(self, message: discord.Message):
|
||||
if message.author == self.bot.user:
|
||||
return
|
||||
if self.bot.user.id == 1233041769373892619:
|
||||
if message.guild and await discord.utils.get_or_fetch(message.guild, "member", 1018920700234436719):
|
||||
return
|
||||
|
||||
# Check for HEVC truth social links and convert into h264
|
||||
if message.channel.name == "spam" and message.author != self.bot.user:
|
||||
await self.transcode_hevc_to_h264(message)
|
||||
|
||||
links = self.extract_links(message.content, "www.ncfe.co.uk", "ncfe.co.uk", raw=True)
|
||||
self.log.info("Found the following NCFE links: %s", links)
|
||||
if links:
|
||||
await self.copy_ncfe_docs(message, links)
|
||||
|
||||
|
||||
@commands.Cog.listener("on_reaction_add")
|
||||
async def on_reaction_add(self, reaction: discord.Reaction, user: discord.User):
|
||||
if user == self.bot.user:
|
||||
|
|
Loading…
Reference in a new issue