Code Monkey home page Code Monkey logo

draconianbot's Introduction

Hey there, I'm ckt1031 πŸ˜ƒ

I'm a high school student from Hong Kong, with an unbridled passion for programming and a solid fascination in both frontend and backend development.

I absolutely love diving into new technologies, exploring the depths of their capabilities, and finding ingenious solutions to intricate problems.

Why Programming?

β€œProgramming is the new literacy of the digital age, and like every other form of literacy, it empowers those who learn it to change their lives and the world around them.”

I'm enthusiastic about exploring the potential of different programming languages and am driven to create tools that help make our lives better. My excitement extends to the world of AI, especially Generative AI, which holds the key to unlocking unimaginable possibilities in the future!

draconianbot's People

Contributors

ckt1031 avatar dependabot[bot] avatar fakekoolisw avatar nodoy5 avatar renovate[bot] avatar rjmanhas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

draconianbot's Issues

Bot Script Enhancement and Maintaining

  • Enhancement
    Since i have enough time to code bots in my free time, and the bot script contains many bugs and unstable issue. The bot script will be enhanced in the end of this month and fixing high memory usage when running the bot with global variables and unused features.

  • v13 Updates
    we have seen many bots are upgraded to discordjs v13 and user friendly for slash commands interactions. The bot will also follow the trend of discord javascript framework updates.

question

Do you want me to go and add docs to all the code?

Porbleme

quand je lance mon bot sa mes sa

PS C:\Users\ZeGamer.c\Desktop\DraconianJSBot-main> node shard.js Command Loaded setprefix.js Command Loaded 8ball.js Command Loaded meme.js Command Loaded poke.js Command Loaded reverse.js Command Loaded smug.js Command Loaded snipe.js Command Loaded tickle.js Command Loaded gend.js Command Loaded greroll.js Command Loaded gstart.js Command Loaded cat.js Command Loaded changemymind.js Command Loaded circle.js Command Loaded clyde.js Command Loaded delete.js Command Loaded gay.js Command Loaded kiss.js Command Loaded ngif.js Command Loaded pat.js Command Loaded petpet.js Command Loaded rip.js Command Loaded spank.js Command Loaded trigger.js Command Loaded channel.js Command Loaded help.js Command Loaded ping.js Command Loaded roleinfo.js Command Loaded send-image.js Command Loaded serverinfo.js Command Loaded setafk.js Command Loaded stats.js Command Loaded uptime.js Command Loaded vote.js Command Loaded whois.js Command Loaded ban.js Command Loaded clear.js Command Loaded clearwarn.js Command Loaded createchannel.js Command Loaded createemoji.js Command Loaded kick.js Command Loaded lockchannel.js Command Loaded mute.js Command Loaded rename.js Command Loaded slowmode.js Command Loaded unban.js Command Loaded unlockchannel.js Command Loaded unmute.js Command Loaded warn.js Command Loaded warnings.js Command Loaded autoplay.js Command Loaded jumpto.js Command Loaded loop.js Command Loaded pause.js Command Loaded play.js Command Loaded queue.js Command Loaded resume.js Command Loaded skip.js Command Loaded stop.js Command Loaded volume.js Command Loaded 4knsfw.js Command Loaded anal.js Command Loaded ass.js Command Loaded hentai.js Command Loaded holo.js Command Loaded porn.js Command Loaded pussy.js Command Loaded thigh.js Command Loaded urban.js Command Loaded wallpaper.js Command Loaded reload.js Command Loaded reset-database.js Command Loaded aes256.js Command Loaded avatar.js Command Loaded deaes256.js Command Loaded embed.js Command Loaded enlarge.js Command Loaded timer.js Command Loaded translate.js Command Loaded weather.js Server is Ready! loaded Event: disconnect.js loaded Event: error.js loaded Event: guildCreate.js loaded Event: guildDelete.js loaded Event: guildMemberAdd.js loaded Event: message.js loaded Event: messageDelete.js loaded Event: ready.js loaded Event: giveawayReactionAdded.js loaded Event: giveawayReactionRemoved.js loaded Event: addList.js loaded Event: addSong.js loaded Event: empty.js loaded Event: error.js loaded Event: initQueue.js loaded Event: playList.js loaded Event: playSong.js loaded Event: searchCancel.js loaded Event: searchResult.js (node:3868) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid token was provided. at WebSocketManager.connect (C:\Users\ZeGamer.c\Desktop\DraconianJSBot-main\node_modules\discord.js\src\client\websocket\WebSocketManager.js:133:26) at Client.login (C:\Users\ZeGamer.c\Desktop\DraconianJSBot-main\node_modules\discord.js\src\client\Client.js:223:21) at processTicksAndRejections (internal/process/task_queues.js:93:5) (Use node --trace-warnings ...to show where the warning was created) (node:3868) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:3868) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [DisTube] Downloaded youtube-dl 2021.04.17 (node:9940) UnhandledPromiseRejectionWarning: Error [SHARDING_READY_TIMEOUT]: Shard 0's Client took too long to become ready. at Timeout.onTimeout (C:\Users\ZeGamer.c\Desktop\DraconianJSBot-main\node_modules\discord.js\src\sharding\Shard.js:163:16) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) (Usenode --trace-warnings ...to show where the warning was created) (node:9940) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:9940) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

voici se qu'il y'a dans mon .env

{
"token": "le token de mon bot"
}

ban bug

(node:352) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of null
at module.exports (/home/runner/OurIdleStrategy/events/client/message.js:6:64)
at Client.emit (events.js:315:20)
at Client.EventEmitter.emit (domain.js:483:12)
at MessageCreateAction.handle (/home/runner/OurIdleStrategy/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/home/runner/OurIdleStrategy/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/home/runner/OurIdleStrategy/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/home/runner/OurIdleStrategy/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
at WebSocketShard.onMessage (/home/runner/OurIdleStrategy/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
at WebSocket.onMessage (/home/runner/OurIdleStrategy/node_modules/ws/lib/event-target.js:132:16)
at WebSocket.emit (events.js:315:20)
(node:352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:352) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

in replit

Error: libuuid.so.1: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1239:18)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/home/runner/DraconianBot/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
Error: libuuid.so.1: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1239:18)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/home/runner/DraconianBot/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency @discordjs/builders to v1.8.2
  • fix(deps): update dependency discord.js to v14.15.3
  • πŸ” Create all rate-limited PRs at once πŸ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
Dockerfile
github-actions
.github/workflows/lint.yml
  • actions/checkout v4
  • actions/setup-node v3
npm
package.json
  • @discordjs/builders 1.8.1
  • @discordjs/rest 2.3.0
  • @esbuild-kit/esm-loader 2.6.5
  • @sentry/node 8.4.0
  • @vitalets/google-translate-api 9.2.0
  • axios 1.7.2
  • canvas 2.10.2
  • chalk 5.3.0
  • cross-env 7.0.3
  • crypto-js 4.2.0
  • dayjs 1.11.11
  • deepmerge 4.3.1
  • discord-api-types 0.37.85
  • discord.js 14.15.2
  • dotenv 16.4.5
  • fastify 4.27.0
  • gifencoder 2.0.1
  • glob 10.4.1
  • mongoose 8.4.0
  • ms 2.1.3
  • node-cache 5.1.2
  • pidusage 3.0.2
  • string-similarity 4.0.4
  • xml2js 0.6.2
  • zod 3.23.8
  • @ckt1031/eslint-config 1.1.17
  • @ckt1031/prettier-config 1.1.17
  • @ckt1031/tsconfig 1.1.17
  • @types/crypto-js 4.2.2
  • @types/gifencoder 2.0.3
  • @types/ms 0.7.34
  • @types/node 20.12.12
  • @types/pidusage 2.0.5
  • @types/string-similarity 4.0.2
  • @types/xml2js 0.4.14
  • @typescript-eslint/eslint-plugin 6.21.0
  • eslint 8.57.0
  • nodemon 3.1.1
  • prettier 3.2.5
  • typescript 5.4.5
  • node >=16.9.0
  • npm >=7
  • npm 10.2.1

  • Check this box to trigger a request for Renovate to run again on this repository

ReferenceError

I have this problem when running the script:
ReferenceError: __dirname is not defined in ES module scope

Need Help It Says An Error

Fontconfig error: Cannot load default config file (node:4163) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid token was provided. at WebSocketManager.connect (/home/runner/DraconianJSBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:133:26) at Client.login (/home/runner/DraconianJSBot/node_modules/discord.js/src/client/Client.js:223:21) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:4163) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:4163) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [DisTube] Downloaded youtube-dl 2021.03.14 (node:4156) UnhandledPromiseRejectionWarning: Error [SHARDING_READY_TIMEOUT]: Shard 0's Client took too long to become ready. at Timeout.onTimeout (/home/runner/DraconianJSBot/node_modules/discord.js/src/sharding/Shard.js:163:16) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) (node:4156) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:4156) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Command Cooldown is not working

Go to: events/client/message.js line 30 code:

	const cooldownAmount = (command.cooldown || 2) * 1000;

Error: Can't find command.cooldown that's why it goes 2 seconds by default to all commands.

I tried adding this (example):

module.exports.help = {
	name: "help",
	description: "This command is used for displaying all commands.",
	usage: "p!help",
	accessableby: "Members",
	aliases: [],
	cooldown: 60 //1 Minutes or 60 Seconds
};

And still didn't work, there's a problem with the command.cooldown can't find the value of cooldown.

It doesn't work

Describe the bug
I configuered everything and it isn't working, all the slash commands loaded but when I try to use anything it doesn't work! Not even the help command

PLEASE HELP

help

(node:25220) UnhandledPromiseRejectionWarning: Error [TOKEN_INVALID]: An invalid token was provided.
at WebSocketManager.connect (C:\Users\user\Downloads\DraconianJSBot-main\DraconianJSBot-main\node_modules\discord.js\src\client\websocket\WebSocketManager.js:133:26)
at Client.login (C:\Users\user\Downloads\DraconianJSBot-main\DraconianJSBot-main\node_modules\discord.js\src\client\Client.js:223:21)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:25220) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:25220) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[DisTube] Downloaded youtube-dl 2021.02.04.1
(node:93068) UnhandledPromiseRejectionWarning: Error [SHARDING_READY_TIMEOUT]: Shard 0's Client took too long to become ready.
at Timeout.onTimeout (C:\Users\user\Downloads\DraconianJSBot-main\DraconianJSBot-main\node_modules\discord.js\src\sharding\Shard.js:163:16)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
(Use node --trace-warnings ... to show where the warning was created)
(node:93068) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:93068) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Bug with prefix

Good afternoon, I noticed that after you updated the bot, now it gives the error "message", you can check for yourself. If it's not hard for you, then fix this error.

Error while building

`(command ->) npm run build

[email protected] prebuild
rimraf ./dist && npm run lint:type

[email protected] lint:type
tsc --noemit

src/commands/message/general/help.ts:6:45 - error TS2307: Cannot find module '../../../../config/bot.json' or its corresponding type declarations.

6 import { name as botname, githubLink } from '../../../../config/bot.json';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/commands/slash/help.ts:8:45 - error TS2307: Cannot find module '../../../config/bot.json' or its corresponding type declarations.

8 import { name as botname, githubLink } from '../../../config/bot.json';
~~~~~~~~~~~~~~~~~~~~~~~~~~

src/events/discord/interaction-create.ts:6:25 - error TS2307: Cannot find module '../../../config/bot.json' or its corresponding type declarations.

6 import { ownerId } from '../../../config/bot.json';
~~~~~~~~~~~~~~~~~~~~~~~~~~

src/events/discord/message-create.ts:11:25 - error TS2307: Cannot find module '../../../config/bot.json' or its corresponding type declarations.

11 import { ownerId } from '../../../config/bot.json';
~~~~~~~~~~~~~~~~~~~~~~~~~~

src/events/discord/ready.ts:6:31 - error TS2307: Cannot find module '../../../config/bot.json' or its corresponding type declarations.

6 import { defaultPrefix } from '../../../config/bot.json';
~~~~~~~~~~~~~~~~~~~~~~~~~~

src/index.ts:8:27 - error TS2307: Cannot find module '../config/bot.json' or its corresponding type declarations.

8 import { useShards } from '../config/bot.json';
~~~~~~~~~~~~~~~~~~~~

src/loaders/command.ts:16:43 - error TS2307: Cannot find module '../../config/bot.json' or its corresponding type declarations.

16 import { disabledCommandCatagories } from '../../config/bot.json';
~~~~~~~~~~~~~~~~~~~~~~~

src/utils/database.ts:3:42 - error TS2307: Cannot find module '../../config/db_model.json' or its corresponding type declarations.

3 import { guildConfig, snipeConfig } from '../../config/db_model.json';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/utils/messages.ts:3:19 - error TS2307: Cannot find module '../../config/emojis.json' or its corresponding type declarations.

3 import emoji from '../../config/emojis.json';
~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 9 errors in 9 files.

Errors Files
1 src/commands/message/general/help.ts:6
1 src/commands/slash/help.ts:8
1 src/events/discord/interaction-create.ts:6
1 src/events/discord/message-create.ts:11
1 src/events/discord/ready.ts:6
1 src/index.ts:8
1 src/loaders/command.ts:16
1 src/utils/database.ts:3
1 src/utils/messages.ts:3
`

Bug with prefix

In your bot does not work "serverinfo", "stats", "uptime". Please fix these defects if it is not difficult for you. Thank you if you did.

Config.js Missing

For some reason, when I run node shard.js it can't seem to find config.js. I've checked myself, and it is not there. Was it miss-placed or what?

events+music+{finish.js}

(node:1322) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'send' of undefined
at module.exports (/home/runner/AssistantRobot/events/music/finish.js:2:18)
at DisTube.emit (events.js:314:20)
at DisTube.EventEmitter.emit (domain.js:483:12)
at DisTube._handleSongFinish (/home/runner/AssistantRobot/node_modules/distube/src/DisTube.js:936:35)
at StreamDispatcher. (/home/runner/AssistantRobot/node_modules/distube/src/DisTube.js:904:34)
at StreamDispatcher.emit (events.js:326:22)
at StreamDispatcher.EventEmitter.emit (domain.js:483:12)
at finishMaybe (_stream_writable.js:639:14)
at _stream_writable.js:616:5
at StreamDispatcher._final (/home/runner/AssistantRobot/node_modules/discord.js/src/client/voice/dispatcher/StreamDispatcher.js:248:5)
(node:1322) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1322) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

sos

(node:1075) UnhandledPromiseRejectionWarning: FetchError: request to https://draconian.koolisw.tk/ failed, reason: getaddrinfo ENOTFOUND draconian.koolisw.tk
at ClientRequest. (/home/runner/PungentAwareWrapper/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (events.js:314:20)
at ClientRequest.EventEmitter.emit (domain.js:483:12)
at TLSSocket.socketErrorListener (_http_client.js:427:9)
at TLSSocket.emit (events.js:314:20)
at TLSSocket.EventEmitter.emit (domain.js:483:12)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:1075) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1075) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): lock file maintenance

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
Dockerfile
github-actions
.github/workflows/lint.yml
  • actions/checkout v3
  • actions/setup-node v3
npm
package.json
  • @discordjs/builders 1.6.3
  • @discordjs/rest 1.7.1
  • @esbuild-kit/esm-loader 2.5.5
  • @sentry/node 7.55.2
  • @vitalets/google-translate-api 9.2.0
  • axios 1.4.0
  • canvas 2.10.2
  • chalk 5.2.0
  • cross-env 7.0.3
  • crypto-js 4.1.1
  • dayjs 1.11.8
  • deepmerge 4.3.1
  • discord-api-types 0.37.45
  • discord.js 14.11.0
  • dotenv 16.3.0
  • fastify 4.18.0
  • gifencoder 2.0.1
  • glob 10.2.7
  • mongoose 7.3.0
  • ms 2.1.3
  • node-cache 5.1.2
  • pidusage 3.0.2
  • string-similarity 4.0.4
  • urban-dictionary 3.0.2
  • xml2js 0.6.0
  • zod 3.21.4
  • @ckt1031/eslint-config 1.1.8
  • @ckt1031/prettier-config 1.1.8
  • @ckt1031/tsconfig 1.1.8
  • @types/crypto-js 4.1.1
  • @types/gifencoder 2.0.1
  • @types/ms 0.7.31
  • @types/node 20.1.4
  • @types/pidusage 2.0.2
  • @types/string-similarity 4.0.0
  • @types/urban-dictionary 3.0.0
  • @types/xml2js 0.4.11
  • eslint 8.43.0
  • nodemon 2.0.22
  • prettier 2.8.8
  • typescript 5.1.3
  • node >=16.9.0
  • npm >=7
  • npm 9.7.1

  • Check this box to trigger a request for Renovate to run again on this repository

l will not set

If you are not using .env supported hosters, please add code require('dotenv').config() to the top of the code from index.js, shard.js and other place are needed to use process.env.(stuff)

Please help, it gives an error while i try to start it

Well idk what type of bug is it but its not starting

To Reproduce
Steps to reproduce the behavior:

I just started it and gave me this error

error:
Command Loaded weather.js
internal/modules/cjs/loader.js:888
throw err;
^

Error: Cannot find module './handlers/dbl-loader.js'
Require stack:

  • /home/container/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
    at Function.Module._load (internal/modules/cjs/loader.js:730:27)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at /home/container/index.js:35:2
    at Array.forEach ()
    at Object. (/home/container/index.js:34:57)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/home/container/index.js' ]
    image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.