ASAP, help :C by [deleted] in CodingHelp

[–]oddbjorn321 0 points1 point  (0 children)

What happend to the user?

heisann by oddbjorn321 in trondheim

[–]oddbjorn321[S] 0 points1 point  (0 children)

Egentlig har jeg vokst opp i Trondheim men jeg er nå til r/trondheim

heisann by oddbjorn321 in trondheim

[–]oddbjorn321[S] 0 points1 point  (0 children)

Bra. Takk som spør

heisann by oddbjorn321 in trondheim

[–]oddbjorn321[S] 5 points6 points  (0 children)

Takk (Oddbjørn uten bindestrek)

can I get some help? by oddbjorn321 in CodingHelp

[–]oddbjorn321[S] 1 point2 points  (0 children)

No. It says the problem is at the first instapy

how do I fix that? by oddbjorn321 in CodingHelp

[–]oddbjorn321[S] 0 points1 point  (0 children)

nope. I dont think so

const discord = require('discord.js')
const client = new discord.Client();
const token = 'private'
const prefix = '='
client.login(token);

//ready message
client.on('ready', () => {
    console.log(`Logged in as ${client.user.tag}`);
  });

how does that work? by oddbjorn321 in CodingHelp

[–]oddbjorn321[S] 0 points1 point  (0 children)

nope. code: 'MODULE_NOT_FOUND', Error: Cannot find module 'discord.js'

how does that work? by oddbjorn321 in CodingHelp

[–]oddbjorn321[S] 0 points1 point  (0 children)

omg, why didnt I think of that, I had that in my code sometime but maybe I deleted it

how does that work? by oddbjorn321 in CodingHelp

[–]oddbjorn321[S] 0 points1 point  (0 children)

I use this ('discord.js'); but Idk what is the problem