use lmddgtfy instead of lmgtfy

This commit is contained in:
Nexus 2024-05-15 17:28:53 +01:00
parent ce4dd1c4d6
commit 2c71385532
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -368,7 +368,7 @@ class AutoResponder(commands.Cog):
await self.transcode_hevc_to_h264(reaction.message, additional=extra)
if reaction.emoji.name == "\U0001f310":
if reaction.message.id not in self.lmgtfy_cache:
url = "https://lmgtfy2.com/?q=" + quote_plus(reaction.message.content)
url = "https://lmddgtfy.net/?q=" + quote_plus(reaction.message.content)
m = await reaction.message.reply(f"[Here's the answer to your question]({url})")
await m.edit(suppress=True)
self.lmgtfy_cache.append(reaction.message.id)