Skip to content
Sign UpLog In
Profile icon

Vex TheDev

@VexTheDev
Repls
Community
VexTheDev
VexTheDev
published an Update
1 year ago
1
DiscordBot
DiscordBot
help with fivemapi
hey, im kinda new to coding , and I wanted to start a discord bot that shows info about fivem servers, i got the api from the npm website and the code from here https://github.com/xliel/Discord-Fivem-Api#example-server-stats- whenever I run the code this pops up Error: Cannot find module 'node:events' Require stack: /home/runner/take2/node_modules/discord.js/src/client/BaseClient.js /home/runner/take2/node_modules/discord.js/src/index.js /home/runner/take2/index.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) at Function.Module._load (internal/modules/cjs/loader.js:667:27) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object. (/home/runner/take2/node_modules/discord.js/src/client/BaseClient.js:3:22) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19 Please Help!
SixBeeps
SixBeeps
@VexTheDev https://faq.sixbeeps.repl.co/nodeevents1 year ago
VexTheDev
VexTheDev
@SixBeeps OMG DUDE THX SO MUCH!!!! 1 year ago