zeyad
zeyad
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by zeyad on 4/10/2024 in #djs-questions
Autocomplete options
No description
4 replies
SIASapphire - Imagine a framework
Created by zeyad on 3/31/2024 in #sapphire-support
Issue with inviteCreate event
Hello. I have an issue with the inviteCreate event where it won't fire unless the invite created has some sort of uses limit. is this intended?
3 replies
DIAdiscord.js - Imagine an app
Created by zeyad on 3/31/2024 in #djs-questions
Issue with inviteCreate event
Hello. I have an issue with the inviteCreate event where it won't fire unless the invite created has some sort of uses limit. is this intended?
10 replies
SIASapphire - Imagine a framework
Created by zeyad on 3/30/2024 in #sapphire-support
Ready event does not run
import { Listener } from "@sapphire/framework";
import { Client } from "discord.js";

export class ReadyListener extends Listener {
public constructor(
context: Listener.LoaderContext,
options: Listener.Options
) {
super(context, {
...options,
once: true,
event: "ready",
});
}
public run(client: Client) {
const { username, id } = client.user!;
this.container.logger.info(`Successfully logged in as ${username} (${id})`);
}
}
import { Listener } from "@sapphire/framework";
import { Client } from "discord.js";

export class ReadyListener extends Listener {
public constructor(
context: Listener.LoaderContext,
options: Listener.Options
) {
super(context, {
...options,
once: true,
event: "ready",
});
}
public run(client: Client) {
const { username, id } = client.user!;
this.container.logger.info(`Successfully logged in as ${username} (${id})`);
}
}
17 replies
DIAdiscord.js - Imagine an app
Created by zeyad on 3/28/2024 in #djs-questions
Can't edit a channel
I have a code for aa button that "closes" the ticket open. The code works fine, till i "re-open" the ticket back (using another button) then attempt to close it again, it does not want to edit the channel. code: https://srcb.in/OpLaW46Ac6
15 replies
DIAdiscord.js - Imagine an app
Created by zeyad on 1/21/2024 in #djs-questions
Returning bot's missing permissions
No description
20 replies