Add refresh

This commit is contained in:
Jonathan Müller
2025-06-30 19:31:41 +02:00
parent 7e86b09dae
commit fe78f17adf

View File

@@ -969,6 +969,7 @@ async def remove_votes(ctx, first: discord.Option(discord.SlashCommandOptionType
cur.execute("DELETE FROM yes_votes WHERE discord_id_recruit = ?", (first.id, ))
cur.execute("DELETE FROM no_votes WHERE discord_id_recruit = ?", (first.id, ))
await ctx.respond(f"Done.", ephemeral=True)
await process_refresh()
def check_roles(member, recruit_id):
for role in member.roles: