Button error
anybody knows why this is happening?
So I have a ticketing system that just stopped working now, for some ungodly reason, closing the ticket takes ages, it will not close it and then error out.
Code:
Favna•48d ago
Button... Button... Do you have aggressive caching configured? Could it be the button is clicking way after created (the limit would be 15 minutes if i remember correctly) and delete is called on interaction.channel so it could be uncached by that time. Maybe try calling await interaction.channel.fetch() first?
Welcome to the Sapphire Discord server! The next-gen object-oriented Discord.js bot framework can be found here.
2.2KMembers
View on DiscordWant results from more Discord servers?
More PostsShould i acquire every command or only onceHello
I just got interest to Sapphire and when i was reading advanced doc for registering commands ono error event on subcommand preconditionwhat event fires when a Subcommand's precondition (on a subcmd, not the whole class) fails? i'm not apply precondition to only one Subcommand?I was wondering if there's a decorator or something, or if I need to run the logic manually.Ready event does not run```ts
import { Listener } from "@sapphire/framework";
import { Client } from "discord.js";
export cSlash Command Error`node:events:492
throw er; // Unhandled 'error' event
^
TypeError: interaction.isChatInError when clicking buttonerror: https://srcb.in/dIL4feMtz6
code: https://srcb.in/MGmSNTYXw6
I tried using Message Component