Skip to content

Commit

Permalink
❔ faq embed fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperAnt220 committed Sep 15, 2024
1 parent 637c690 commit ab28f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/faqs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ async def main(self, msg):
answers = content.split("\n---separator---\n")
for answer in answers:
if len(answers) == 1:
answer += "\n-# Источник: [AntBot](https://github.com/FuncFusion/antbot)"
answer += "\n-# Источник: [AntBot](<https://github.com/FuncFusion/antbot>)"
await msg.reply(answer, files=files, allowed_mentions=no_ping)
elif answers.index(answer) == 0:
await msg.reply(answer, allowed_mentions=no_ping)
elif answer != answers[-1]:
await msg.channel.send(answer, allowed_mentions=no_ping)
else:
answer += "\n-# Источник: [AntBot](https://github.com/FuncFusion/antbot)"
answer += "\n-# Источник: [AntBot](<https://github.com/FuncFusion/antbot>)"
await msg.channel.send(answer, files=files, allowed_mentions=no_ping)

0 comments on commit ab28f6a

Please sign in to comment.