Skip to content

Commit

Permalink
Fix getting karma emotes in checkpost
Browse files Browse the repository at this point in the history
  • Loading branch information
jackra1n committed Jan 26, 2024
1 parent b8a1159 commit b1df83b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/cogs/karma.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ async def check_post(self, ctx: commands.Context, post_id: int):
embed = discord.Embed(title='That post does not exist.')
return await ctx.send(embed=embed, delete_after=30)

server_upvote_emotes = await self._get_karma_upvote_emotes(ctx.guild)
server_downvote_emotes = await self._get_karma_downvote_emotes(ctx.guild)
server_upvote_emotes = await self._get_karma_upvote_emotes(ctx.guild.id)
server_downvote_emotes = await self._get_karma_downvote_emotes(ctx.guild.id)

channel = await self.bot.fetch_channel(post['discord_channel_id'])
message = await channel.fetch_message(post['discord_message_id'])
Expand Down

0 comments on commit b1df83b

Please sign in to comment.