Skip to content

Commit

Permalink
Fix missing return in mastodon fetch_posts()
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Oct 29, 2024
1 parent 1c86cbf commit d17e747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cogs/mastodon.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ async def fetch_mentions(self):
channel = self.redis.hget("config", "mastodon.channel")
if not channel:
print("Please !config hset config mastodon.channel #channel")
return
channel_id = channel.decode("utf-8")[2:-1]
self.channel = discord.utils.get(
self.bot.guilds[0].channels, id=int(channel_id)
Expand Down

0 comments on commit d17e747

Please sign in to comment.