≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫
≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 12/11/2023 in #djs-questions
Coding Amendment
<<NOT SOLVED BUT CLOSING AS NO LONGER RELEVANT>>
6 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 12/11/2023 in #djs-questions
Coding Amendment
Yeah, I gathered. I started updating about 2 years ago, then fell really unwell so need to start over now. Thank you for responding, though... time to do a massive overhaul I guess!
6 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 12/11/2023 in #djs-questions
Coding Amendment
Yeah, I know that and that’s my next project; i was hoping to have a fully functional file to update first though instead of trying to fix and update simultaneously since I’m going to have the V12 bot running whilst I update to V14
6 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 12/11/2023 in #djs-questions
Coding Amendment
Error:
Getting stats update..
[Error] An exception happened in process:
TypeError: Cannot read property 'memberCount' of undefined
at Timeout._onTimeout (/home/container/events/Stats.js:19:29)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[Error] An error happened in process:
ReferenceError: Cannot access 'interval' before initialization
at /home/container/events/Stats.js:10:51
at Timeout._onTimeout (/home/container/events/Stats.js:17:9)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
Getting stats update..
[Error] An exception happened in process:
TypeError: Cannot read property 'memberCount' of undefined
at Timeout._onTimeout (/home/container/events/Stats.js:19:29)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
[Error] An error happened in process:
ReferenceError: Cannot access 'interval' before initialization
at /home/container/events/Stats.js:10:51
at Timeout._onTimeout (/home/container/events/Stats.js:17:9)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
6 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/11/2022 in #djs-questions
Discord Intents
Thanks all for your support
20 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/11/2022 in #djs-questions
Discord Intents
that seems to have fixed it; thank you! 😄
20 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/11/2022 in #djs-questions
Discord Intents
So in short, if I do
const { Client, GatewayIntentBits, Partials } = require('discord.js');
const { Client, GatewayIntentBits, Partials } = require('discord.js');
Is this all I need to do?
20 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/11/2022 in #djs-questions
Discord Intents
That's what I was reading, but I got confused over which intents I need to set and how
20 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/10/2022 in #djs-questions
Code Update
Literally only have:
const { Structures } = require('discord.js')
const { Structures } = require('discord.js')
15 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/10/2022 in #djs-questions
Code Update
It's so long since I created the bot, I can't remember how I imported
15 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/10/2022 in #djs-questions
Code Update
Where would I find the "class directly exported from discord.js" so that I can make sure it is defined?
15 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/10/2022 in #djs-questions
Code Update
And where do I need to go to find that, please?
15 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/10/2022 in #djs-questions
Code Update
My concern is that there are quite a few modules that do use that constant, so I do need to define it
15 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/10/2022 in #djs-questions
Code Update
So can I just remove that entire line, then?
15 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/10/2022 in #djs-questions
Code Update
What do I need to be using instead, please? This is the error I have on my console: /home/container/structures/Guild.js:3 const Guild = Structures.get('Guild') ^ TypeError: Cannot read properties of undefined (reading 'get') at Object.<anonymous> (/home/container/structures/Guild.js:3:26) at Module._compile (node:internal/modules/cjs/loader:1099:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:999:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/container/index.js:1:1) at Module._compile (node:internal/modules/cjs/loader:1099:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) Node.js v17.9.1
15 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/9/2022 in #djs-questions
VC Text Channel Logging
Apologies, thought I had
4 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/9/2022 in #djs-questions
VC Text Channel Logging
Ah, drat; that means updating 95% of the bot. OK, thank you
4 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 8/7/2022 in #djs-questions
NPM-Node Auto Update
Whoops, indeed it isn't. My bad! facepalm
3 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 7/27/2022 in #djs-questions
UserID
Still functional on the bot for now, but thank you; I will add updating the code to my lengthy list of things to do! 😂
7 replies
DIAdiscord.js - Imagine an app
Created by ≪ °✾° ≫ 𝓓𝓮𝓵𝓽𝓪_𝓑𝓻𝓪𝓿𝓸92 ≪ °✾° ≫ on 7/27/2022 in #djs-questions
UserID
Hmm... that's not pulling through
7 replies