Awashcard0
Awashcard0
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 5/18/2024 in #djs-voice
joinVoiceChannel is not a function. But its in dependencies
Thank you, I need some sleep.
4 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 2/29/2024 in #djs-questions
Send dm from command file
ty
6 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 2/29/2024 in #djs-questions
Send dm from command file
I think i need to get the client somehow
6 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 2/29/2024 in #djs-questions
Send dm from command file
[email protected] node 20.11.1
6 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/13/2023 in #djs-questions
check if channel id is in guild id
I the the gild this way const guild = client.guilds.resolve(guildId);
11 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/13/2023 in #djs-questions
check if channel id is in guild id
when I run it this happens
if (guild.channels.cache.get(ids.chat) === undefined) {
^

TypeError: Cannot read properties of null (reading 'channels')
at Object.<anonymous> (C:\Users\awash\Downloads\all mod\index.js:80:11)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Module._load (node:internal/modules/cjs/loader:922:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47

Node.js v18.13.0
if (guild.channels.cache.get(ids.chat) === undefined) {
^

TypeError: Cannot read properties of null (reading 'channels')
at Object.<anonymous> (C:\Users\awash\Downloads\all mod\index.js:80:11)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Module._load (node:internal/modules/cjs/loader:922:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47

Node.js v18.13.0
11 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/13/2023 in #djs-questions
check if channel id is in guild id
I found the code on stack Overflow and I think it's meant to be ran in a command file not a on-demand file found the code on stack Overflow and I think it's meant to be ran in a command. I want to run it every 10 seconds not from a command.
11 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/13/2023 in #djs-questions
check if channel id is in guild id
Hello?
11 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/6/2023 in #djs-questions
Ping not working
ok then what should I do
13 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/6/2023 in #djs-questions
Ping not working
Im trying to make it work
13 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/6/2023 in #djs-questions
Ping not working
const { SlashCommandBuilder } = require('discord.js');

module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Get the ping to discord'),
async execute(message, client, args) {
message.followUp(`Ping to discord :- ${Math.round(client.ws.ping)}ms`);
},
};
const { SlashCommandBuilder } = require('discord.js');

module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Get the ping to discord'),
async execute(message, client, args) {
message.followUp(`Ping to discord :- ${Math.round(client.ws.ping)}ms`);
},
};
13 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/6/2023 in #djs-questions
Ping not working
still got the same error
13 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
runing the index.js file
24 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
they don't show up when I press / in Discord
24 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
yes
24 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
yes
24 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
wdym?
24 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
This is the template
const { Command } = require("reconlx");
const ee = require('../../settings/embed.json')
const config = require('../../settings/config.json')

module.exports = new Command({
// options
name: '',
description: ``,
userPermissions: [],
category : "",
// command start
run: async ({ client, interaction, args }) => {
// Code
}
})
const { Command } = require("reconlx");
const ee = require('../../settings/embed.json')
const config = require('../../settings/config.json')

module.exports = new Command({
// options
name: '',
description: ``,
userPermissions: [],
category : "",
// command start
run: async ({ client, interaction, args }) => {
// Code
}
})
24 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
node 18.13.0
24 replies
DIAdiscord.js - Imagine an app
Created by Awashcard0 on 3/5/2023 in #djs-questions
Api error??
djs 14.7.1
24 replies