FrankFromH
FrankFromH
DIAdiscord.js - Imagine an app
Created by FrankFromH on 12/3/2023 in #djs-questions
Mentions and/or usernames in embeds
I cant get the embed welome message to return the joining members username. I have tried many ways.
const WelcomeEmbed = new EmbedBuilder()
.setColor(0x0099FF)
.setDescription('Welcome! <@${user.id}> We are happy to see you join!');
const WelcomeEmbed = new EmbedBuilder()
.setColor(0x0099FF)
.setDescription('Welcome! <@${user.id}> We are happy to see you join!');
16 replies
DIAdiscord.js - Imagine an app
Created by FrankFromH on 12/1/2023 in #djs-questions
Another error in visual
I am trying to turn my bot on using the node . command and this is the error i am getting Error: Cannot find module 'C:\Users\hartl\OneDrive\Desktop\PoT\JL_Bot' at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }
13 replies
DIAdiscord.js - Imagine an app
Created by FrankFromH on 12/1/2023 in #djs-questions
npm install discord.js
I am trying to install the discord.js but when i run that in visual it tells me npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + npm i discord.js + ~~~ + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
12 replies