I have a command that works perfectly fine, but when used as a slash command it shows as if it failed.
@lightbulb.command("tabela", "Tabela wyników na tym serwerze")
@lightbulb.implements(lightbulb.PrefixCommand, lightbulb.SlashCommand)
async def scoreboard(ctx: lightbulb.Context):
pages = []
# does stuff, fetches from the database and fills the pages list
navigator = nav.NavigatorView(pages=pages)
await navigator.send(ctx.channel_id)
I'm using the NavigatorView class from hikari-miru. Does anyone know why this happens?