What permissions should the bot have to prevent this error from appearing?
Traceback (most recent call last):
File "*/__main__.py", line 68, in vote_sync
await self.sync_commands(check_guilds = [check_guild])
File "*/lib/python3.10/site-packages/discord/bot.py", line 647, in sync_commands
registered_guild_commands[guild_id] = await self.register_commands(
File "*/lib/python3.10/site-packages/discord/bot.py", line 476, in register_commands
prefetched_commands = await self.http.get_guild_commands(self.user.id, guild_id)
File "*/lib/python3.10/site-packages/discord/http.py", line 353, in request
raise Forbidden(response, data)
discord.errors.Forbidden: 403 Forbidden (error code: 50001): Missing Access
The error appears when trying to sync commands for a specific guild.