fix: Add type hint for bot parameter in setup function in EvalCog and TimerCog

This commit is contained in:
Slipstream 2025-05-30 15:34:11 -06:00
parent 31fd6e5aa7
commit ece7f5f4f0
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
2 changed files with 2 additions and 2 deletions

View File

@ -57,5 +57,5 @@ class EvalCog(commands.Cog):
else:
await ctx.send(f'```py\n{value}{ret}\n```')
async def setup(bot):
async def setup(bot: commands.Bot):
await bot.add_cog(EvalCog(bot))

View File

@ -146,5 +146,5 @@ class TimerCog(commands.Cog):
self.timer_check_task.cancel()
self.save_timers() # Ensure timers are saved on unload
async def setup(bot):
async def setup(bot: commands.Bot):
await bot.add_cog(TimerCog(bot))