fix globe reaction
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 4m13s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 4m13s
This commit is contained in:
parent
f4411022b9
commit
ce4dd1c4d6
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ class AutoResponder(commands.Cog):
|
||||||
extra = [attachment.url for attachment in reaction.message.attachments]
|
extra = [attachment.url for attachment in reaction.message.attachments]
|
||||||
if self.allow_on_demand_transcoding:
|
if self.allow_on_demand_transcoding:
|
||||||
await self.transcode_hevc_to_h264(reaction.message, additional=extra)
|
await self.transcode_hevc_to_h264(reaction.message, additional=extra)
|
||||||
if reaction.emoji == discord.PartialEmoji.from_str("\U0001f310"):
|
if reaction.emoji.name == "\U0001f310":
|
||||||
if reaction.message.id not in self.lmgtfy_cache:
|
if reaction.message.id not in self.lmgtfy_cache:
|
||||||
url = "https://lmgtfy2.com/?q=" + quote_plus(reaction.message.content)
|
url = "https://lmgtfy2.com/?q=" + quote_plus(reaction.message.content)
|
||||||
m = await reaction.message.reply(f"[Here's the answer to your question]({url})")
|
m = await reaction.message.reply(f"[Here's the answer to your question]({url})")
|
||||||
|
|
Loading…
Reference in a new issue