Disable auto-responder on Jimmy v3
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s

This commit is contained in:
Nexus 2024-04-26 18:28:19 +01:00
parent ea39f0fe56
commit b1d6dbf8ca
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -292,6 +292,9 @@ class AutoResponder(commands.Cog):
async def auto_responder(self, message: discord.Message): async def auto_responder(self, message: discord.Message):
if message.author == self.bot.user: if message.author == self.bot.user:
return 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 # Check for HEVC truth social links and convert into h264
if message.channel.name == "spam" and message.author != self.bot.user: if message.channel.name == "spam" and message.author != self.bot.user: