I would like to avoid as many errors as possible, but the bot may have errors during its runtime. You can run a command only once every 7 days. If it comes to errors that would be doofy of course. Is there a way to make a command usable once again/reset the cooldown for certain users?
My approach:
@trivia_channel.command(aliases=["reset"])
async def reset_cooldown(self, ctx, member: discord.Member):
await self.start.reset_cooldown(ctx, member)
await ctx.send(f"Resetted cooldown for {member}.")
trivia_channel.command is a group command.
This obviously throws errors and I don't know how to accommodate the member argument.