Just trying new things

pull/9/head
sgoudham 4 years ago
parent 8e426aac42
commit 75765deae8

@ -91,6 +91,7 @@ async def send_starboard_and_update_db(self, payload, action):
else: else:
if new_stars >= self.bot.get_starboard_min_stars(payload.guild_id): if new_stars >= self.bot.get_starboard_min_stars(payload.guild_id):
self.bot.cache_store_starboard_message(message.id, payload.guild_id, star_message.id) self.bot.cache_store_starboard_message(message.id, payload.guild_id, star_message.id)
self.bot.update_starboard_message(message.id, payload.guild_id, new_stars)
else: else:
self.bot.cache_store_starboard_message(message.id, payload.guild_id, None) self.bot.cache_store_starboard_message(message.id, payload.guild_id, None)

Loading…
Cancel
Save