ItIzYe
ItIzYe
DIAdiscord.js - Imagine an app
Created by ItIzYe on 2/17/2024 in #djs-questions
discord.js not working on raspberri pi
Hi, does somebody know why i can’t install discord.js on my Raspberry Pi 4 (Pi OS Lite)? Reinstalling and deleting the nide_modules folder won’t help
9 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
Hi, I updated my discord.js to version @14.11 and wanted to update my intents, but somehow, GatewayIntentBits is seen as property of index.js and not if discord.js which means that i cant import Intents. Has anybody a solution for this? Code:
const {Discord, Client, GatewayIntentBits, Partials, Collection, MessageEmbed,} = require('discord.js');
const fs = require('fs');
const sleep = require('sleep-promise');

const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent],
partials: [Partials.Channel, Partials.Message]});
const {Discord, Client, GatewayIntentBits, Partials, Collection, MessageEmbed,} = require('discord.js');
const fs = require('fs');
const sleep = require('sleep-promise');

const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent],
partials: [Partials.Channel, Partials.Message]});
77 replies