I've never had this issue before besides when expanding my bot to more than one guild. I'm running into this issue.
for guild in guilds:
...
for command in guild_cmds:
...
self.bot.add_interaction(
command=SlashCommand(
name=command.name,
description=command.description,
options=options,
scopes=[guild],
callback=create_ctx_callback(endpoint=E,
embed_data=embed_data_copy,
dm=self.data_manager,
get_roles=self.get_roles # function
)
)
)
await self.bot.synchronise_interactions(delete_commands=True)
and I get the error: