Giter VIP home page Giter VIP logo

saiteja-madha / discord-js-bot Goto Github PK

View Code? Open in Web Editor NEW
623.0 24.0 635.0 34.72 MB

🤖 Multipurpose discord bot built using discord.js v14 with moderation, music, ticketing, translation, and much more

Home Page: https://strangedocs.hostz.me

License: Apache License 2.0

JavaScript 59.44% Less 24.84% CSS 12.00% EJS 3.71% Shell 0.01% Procfile 0.01%
discord-js discord-bot automod moderation music discord-js-v14 discordjs multipurpose-discord-bot slash-commands bot

discord-js-bot's Introduction

👨🏻‍💻  About Me

  • 🏫   Software Engineer graduate at Arizona State University.
  • 🚀   Experienced in developing and deploying API's using MuleSoft Anypoint Platform.
  • 🤔   Open to collaborating with others on open-source projects and sharing knowledge.
  • 💬   Ask me anything about discord bots.
  • 🌱   Currently learning Docker and Kubernetes.

🛠  Tech Stack

Python Typescript Java Bash

MySQL PostgreSQL MongoDB

HTML5 CSS JavaScript JSON Bootstrap React

Git GitHub Markdown

Visual Studio Code IntelliJ Eclipse


📈  My Stats


discord-js-bot's People

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discord-js-bot's Issues

Avatar command - Bug

Describe the bug
Embed title of avatar command displayed as undefined

To Reproduce
Use !avatar

USER_BANNER_NOT_FETCHED Error

Describe the bug
Error when login into dashboard

To Reproduce
Login to the dashboard on localhost

If possible

  • NodeJS version: v16.11.0
  • Bot version: 3.3.1

TypeError: Cannot read property 'inviteCache' of undefined

Describe the bug

TypeError: Cannot read property 'inviteCache' of undefined
    at setStatus (/home/strange/Desktop/discord-js-bot/src/commands/invites/invitetracker.js:84:17)
    at InviteTracker.messageRun (/home/strange/Desktop/discord-js-bot/src/commands/invites/invitetracker.js:50:28)
    at InviteTracker.executeCommand (/home/strange/Desktop/discord-js-bot/src/structures/Command.js:159:18)
    at module.exports (/home/strange/Desktop/discord-js-bot/src/events/message/messageCreate.js:25:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

To Reproduce
Enable/disable invite tracker

Expected behavior
Configuration change without any error

If possible

  • Bot version: 4.0.1

Add a blacklist/whitelist feature for owners

Is your command request related to a problem? Please describe.
No

Describe what command you'd like
I want a blacklist/whitelist feature which owners can use and can block users from accessing bot commands and also to their discretion they can opt for whitelisting blacklisted users so they can use commands again for the bot.

Better Logging

Is your feature request related to a problem? Please describe.
Discord logging

Describe the solution you'd like
Log messages can be done as follows

  • to console using something like chalk library
  • to discord channel using webhooks
  • complete dump to text file

Lavalink usage for music

Is your feature request related to a problem? Please describe.
Music commands won't work on Replit

Describe the solution you'd like
Erelajs or any other lavalink client for music commands

Cannot read properties of undefined | automod

Describe the bug

TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at Automod.messageRun (/usr/src/app/src/commands/admin/automod/automod.js:196:30)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Automod.executeCommand (/usr/src/app/src/structures/Command.js:160:7) 

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.1.0

Issue ar guildDelete.js

DiscordAPIError: Missing Access
at RequestHandler.execute (/home/container/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/container/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
at async GuildMemberManager._fetchSingle (/home/container/node_modules/discord.js/src/managers/GuildMemberManager.js:388:18)
at async module.exports (/home/container/src/events/guild/guildDelete.js:9:48)  
Sometimes When user leave bot won't do farewell, but sometimes it works fine

Thankyou

Owner commands

You should make owner commands so only the people who use it can see it which should only be the owners so use ephemeral, i can assist if you need it, i have made a few changes to it on my version on my pc.

Unknown Member

Describe the bug

DiscordAPIError: Unknown Member
    at RequestHandler.execute (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
    at async GuildMemberManager._fetchSingle (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/managers/GuildMemberManager.js:388:18)
    at async parse (/home/strange/Desktop/discord-js-bot/src/handlers/greeting.js:19:23)
    at async buildGreeting (/home/strange/Desktop/discord-js-bot/src/handlers/greeting.js:53:54)
    at async Object.sendFarewell (/home/strange/Desktop/discord-js-bot/src/handlers/greeting.js:105:20)

[BUG] Unmute doesnt unmute

Describe the bug
The code allows you to mute a person, but when you unmute, it doesnt remove the muted role.

To Reproduce
Steps to reproduce the behavior: Try to unmute anyone, it will happen

Expected behavior
It is expected to unmute the person on command.

Screenshots
If applicable, add screenshots to help explain your problem. - ok

If possible

  • NodeJS version: 16.9
  • Bot version: 3.2.1
    image

Slash embed command

Is your command request related to a problem? Please describe.
I'd like an advanced embed slash command
Describe what command you'd like
A command with a lot of options

Additional context
Add any other context or screenshots about the feature request here.

Getting disconnected randomly while playing track

I tried the bot and it works completely fine but sometimes it get disconnected from VC randomly and logs an error. I have filed the .env and config.json file completely but still it gets disconnected.
All dependencies are correctly installed and running with node 16.x .
Its not the host problem as i tried deploying it at many vps

Slash ticket limit

TypeError [COMMAND_INTERACTION_OPTION_TYPE]: Option "amount" is of type: STRING; expected INTEGER.

Error Embed is not well formated

Describe the bug
Error embed doesn't have a valid code formatting

To Reproduce

  • Enable error webhook
  • Wait for any error

Expected behavior
Embed description to be formatted in

Error details

Discord Status Issue in Dashboard

Describe the bug
Whether your status is set to dnd, online or idle ; the dashboard will show the offline status only.

To Reproduce
This happens when you launch your bot dashboard and sign in from your discord account.

Expected behavior
If the user's status is set to dnd, online, idle or offline ; it should show that status only in the dashboard and not just show offline status regardless of what your status is set to in discord.

Additional Info

  • NodeJS version: 16.13.1

Bug With Pokemon Command

Describe the bug
###pokedex command aint workin it says for any pokemon "pokemon not found"

To Reproduce
use pokedex command

Expected behavior
you should get a error in you terminal/console

Screenshots
If applicable, add screenshots to help explain your problem.

Operation `giveaways.find()` buffering timed out after 10000ms

Describe the bug

MongooseError: Operation `giveaways.find()` buffering timed out after 10000ms
    at Timeout.<anonymous> (/usr/src/app/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js:198:23)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)

To Reproduce

  1. Provide an invalid DB details
  2. Wait for the bot to start

Expected behavior
Bot should terminate with connection error instead

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.1.0

Discord API Error - Not Found

Describe the bug

DiscordAPIError: 404: Not Found
    at RequestHandler.execute (/usr/src/app/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/usr/src/app/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
    at async UserManager.fetch (/usr/src/app/node_modules/discord.js/src/managers/UserManager.js:93:18)
    at async module.exports (/usr/src/app/src/events/guild/guildDelete.js:17:17) 

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.1.0

Dashboard custom url without replit!

Hey! Me again, I forgot to ask last time how do I make it so that I can use a custom url without replit as replit struggles with v16 of node rn and won't forever upgrade which is bad when I'm away!

Counter Channel Bug

Describe the bug
Channel counters don't update after bot restart

To Reproduce

  • Setup any counter channel
  • Wait for the bot to restart

Expected behavior
Channel counters should be updated even after the bot restarts

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.0.0

Invalid redirect uri

Describe the bug
Invalid Redirect uri
To Reproduce
go to the dashboard and try and login

Expected behavior
login me in
Screenshots
image

If possible

  • NodeJS version: 16
  • Bot version: latest

Additional context
Add any other context about the problem here.

Mongo E11000 error

'MongoError:' E11000 duplicate key error collection: test.guilds index: guildId_1 dup key: { guildId: null }

If possible

  • NodeJS version: 16.11.1
  • Bot version: 4.0.1

Additional context
I have changed mongoURI, bot token, but still it wont work

Mongoose error

when I add the bot on a server, it doesn't respond to commands and gives this error on the console:

mongoError: E11000 duplicate key error collection: test.guilds index: id_1 dup key: { id: null }

Error [INTERACTION_ALREADY_REPLIED] - meme.js

Describe the bug

Error [INTERACTION_ALREADY_REPLIED]: The reply to this interaction has already been sent or deferred.
    at ButtonInteraction.deferUpdate (/usr/src/app/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:180:46)
    at InteractionCollector.<anonymous> (/usr/src/app/src/commands/fun/meme.js:65:22)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.1.0

Counter Status Error

File: counter-setup.js
Error: TypeError: db.getSettings is not a function
Fix: Change line 74 from 'const config = await db.getSettings(guild.id);' to 'const config = await db.getConfig(guild.id);'
const config = await db.getConfig(guild.id);

[BUG] Warning Context Permissions

Describe the bug
Warning context can be used by everyone

To Reproduce
Right click any user name > Apps > BotName > Warn

Expected behavior
Only moderators are expected to use this

Dashboard Toast Notification

When a configuration is saved on the dashboard, send a toast notification to show if it is successful or failed

Events file for ready.js

Hello! i was just wondering how i could go about adding an events file for ready.js aand other files

Music Channel (BUG)

Describe the bug
Bot doesn't leave when music channel is empty

To Reproduce
Run the music command and leave the channel.

Expected behavior
That the bot stops playing music and leaves the channel if the only member is the.

If possible

  • NodeJS version: 16
  • Bot version: 3.3.0

Additional context
No.

Channel not cached

Error [CHANNEL_NOT_CACHED]: Could not find the channel where this message came from in the cache!
    at Message.edit (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/Message.js:653:46)
    at InteractionCollector.<anonymous> (/home/strange/Desktop/discord-js-bot/src/commands/utility/help.js:196:16)
    at InteractionCollector.emit (node:events:406:35)
    at InteractionCollector.stop (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/interfaces/Collector.js:197:10)
    at InteractionCollector._handleGuildDeletion (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/InteractionCollector.js:228:12)
    at BotClient.emit (node:events:406:35)
    at GuildDeleteAction.handle (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/actions/GuildDelete.js:47:14)
    at Object.module.exports [as GUILD_DELETE] (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/handlers/GUILD_DELETE.js:4:30)
    at WebSocketManager.handlePacket (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:350:31)
    at WebSocketShard.onPacket (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:443:22)
    at WebSocketShard.onMessage (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:300:10)
    at WebSocket.onMessage (/home/strange/Desktop/discord-js-bot/node_modules/ws/lib/event-target.js:199:18)
    at WebSocket.emit (node:events:394:28)
    at Receiver.receiverOnMessage (/home/strange/Desktop/discord-js-bot/node_modules/ws/lib/websocket.js:1022:20)
    at Receiver.emit (node:events:394:28)
    at Receiver.dataMessage (/home/strange/Desktop/discord-js-bot/node_modules/ws/lib/receiver.js:522:14)

Music System Bug

Describe the bug
While Playing A Song It Should Be Like Only We/Song Requesters Can Access The /stop /skip etc... commands But Any One Can Access /stop /skip Commands Please Change It So That Only Admins can use those commands while a track is being played. ty

To Reproduce
Steps to reproduce the behavior:
try /play (song of your choice) next log into your alt account and try /stop

Cannot read properties of undefined | logger

Describe the bug

TypeError: Cannot read properties of undefined (reading 'length')
    at sendWebhook (/usr/src/app/src/helpers/logger.js:24:44)
    at sendLogs (/usr/src/app/src/helpers/logger.js:57:25)
    at exports.error (/usr/src/app/src/helpers/logger.js:71:34)
    at checkForUpdates (/usr/src/app/src/utils/botUtils.js:7:33)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async startupCheck (/usr/src/app/src/utils/botUtils.js:63:3)
    at async /usr/src/app/bot.js:20:3

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.1.0

DiscordAPIError: Missing Permissions

Describe the bug

DiscordAPIError: Missing Permissions
    at RequestHandler.execute (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
    at async TextChannel.send (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:175:15)

To Reproduce

  • mention the bot where in the text channel where it does not have Write permissions

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.0.1

message_reference: Unknown message

Describe the bug
Invalid Form Body
message_reference: Unknown message

Screenshots

DiscordAPIError: Invalid Form Body
message_reference: Unknown message
at RequestHandler.execute (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
at async TextChannel.send (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:172:15)
at async Play.executeCommand (/home/strange/Desktop/discord-js-bot/src/structures/Command.js:161:7)

Cannot send messages to this user

Describe the bug
Cannot send messages to this user

To Reproduce

  • Block the bot
  • Use any command to make the bot DM you

Expected behavior
DM should be sent only if possible

Error Log

DiscordAPIError: Cannot send messages to this user
    at RequestHandler.execute (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
    at async DMChannel.send (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:172:15)

Music

Please Add More More Commands music

Slash Command Permissions

Describe the bug
Slash Command doesn't return if permission is missing

To Reproduce

  • use any slash command with permissions configured
  • run the command

Expected behavior

  • if user lacks the permission, it should't run

Issue at voiceStateUpdate

I found this issue when I'm listening Music with my friends and if my friend leave voice channel after a minute bot will leave too, I try to fixed my self and remove .destroy(); at the end bot not leaving the voice channel before the queue end, but its works fine when my friends leaving VC bot still in the VC bot will leave when queue end.

Code before:
17: // if there's still 1 member,
18: client.musicManager.get(guild.id) && client.musicManager.get(guild.id).destroy();

Code After:
17: // if there's still 1 member,
18: client.musicManager.get(guild.id) && client.musicManager.get(guild.id);

TypeError: Cannot read property 'user' of undefined

Describe the bug

TypeError: Cannot read property 'user' of undefined
    at /home/strange/Desktop/discord-js-bot/dashboard/app.js:33:30
    at Layer.handle [as handle_request] (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:317:13)
    at /home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:335:12)
    at next (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:275:10)
    at session (/home/strange/Desktop/discord-js-bot/node_modules/express-session/index.js:196:71)
    at Layer.handle [as handle_request] (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:317:13)
    at /home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:335:12)
    at next (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:275:10)
    at serveStatic (/home/strange/Desktop/discord-js-bot/node_modules/serve-static/index.js:75:16)
    at Layer.handle [as handle_request] (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:317:13)
    at /home/strange/Desktop/discord-js-bot/node_modules/express/lib/router/index.js:284:7

If possible

  • NodeJS version: 16.6.2
  • Bot version: 4.0.1

Error [CHANNEL_NOT_CACHED]: Could not find the channel where this message came from in the cache!

Describe the bug

Error [CHANNEL_NOT_CACHED]: Could not find the channel where this message came from in the cache!
    at Message.edit (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/Message.js:653:46)
    at InteractionCollector.<anonymous> (/home/strange/Desktop/discord-js-bot/src/commands/utility/help.js:196:32)
    at InteractionCollector.emit (node:events:406:35)
    at InteractionCollector.stop (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/interfaces/Collector.js:197:10)
    at InteractionCollector._handleGuildDeletion (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/InteractionCollector.js:228:12)
    at BotClient.emit (node:events:406:35)
    at GuildDeleteAction.handle (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/actions/GuildDelete.js:47:14)
    at Object.module.exports [as GUILD_DELETE] (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/handlers/GUILD_DELETE.js:4:30)
    at WebSocketManager.handlePacket (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:350:31)
    at WebSocketShard.onPacket (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:443:22)
    at WebSocketShard.onMessage (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:300:10)
    at WebSocket.onMessage (/home/strange/Desktop/discord-js-bot/node_modules/ws/lib/event-target.js:199:18)
    at WebSocket.emit (node:events:394:28)
    at Receiver.receiverOnMessage (/home/strange/Desktop/discord-js-bot/node_modules/ws/lib/websocket.js:1022:20)
    at Receiver.emit (node:events:394:28)
    at Receiver.dataMessage (/home/strange/Desktop/discord-js-bot/node_modules/ws/lib/receiver.js:522:14)

To Reproduce

  1. Invite bot to a guild
  2. Use !help command
  3. Remove bot from that guild
  4. Error happens

Play Command - Error

Describe the bug
Play command error out if incorrect song is selected

To Reproduce
Steps to reproduce the behavior:

  • use play command
  • out of 5 options to select a song enter some random string

Expected behavior
Message to be displayed showing incorrect input

Error Log

RangeError: Provided argument must be present.
    at Function.validate (/root/discord-js-bot/node_modules/erela.js/dist/structures/Utils.js:46:19)
    at Queue.add (/root/discord-js-bot/node_modules/erela.js/dist/structures/Queue.js:38:33)
    at Play.messageRun (/root/discord-js-bot/src/commands/music/play.js:142:22)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Play.execute (/root/discord-js-bot/src/structures/Command.js:170:5)
    at async module.exports (/root/discord-js-bot/src/events/message/messageCreate.js:29:9)

If possible

  • Bot version: 3.3.0

Ticket Log Channel: Cannot read property 'me' of undefined

Describe the bug
Cannot read property 'me' of undefined

To Reproduce
Use command !ticket log #channel

Expected behavior
Log channel needs to be configured

Screenshots

TypeError: Cannot read property 'me' of undefined
at canSendEmbeds (/home/strange/Desktop/discord-js-bot/src/utils/guildUtils.js:19:47)
at setupLogChannel (/home/strange/Desktop/discord-js-bot/src/commands/admin/ticket/ticket.js:396:8)
at Ticket.messageRun (/home/strange/Desktop/discord-js-bot/src/commands/admin/ticket/ticket.js:184:24)
at Ticket.executeCommand (/home/strange/Desktop/discord-js-bot/src/structures/Command.js:159:18)
at module.exports (/home/strange/Desktop/discord-js-bot/src/events/message/messageCreate.js:25:11)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

If possible

  • NodeJS version: 16.6.0
  • Bot version: 4.0.0

Greeting thumbnail command doesn't work

Describe the bug
The greeting thumbnail command doesn't work

To Reproduce

  • set welcome/farewell thumbnail on

Expected behavior
Thumbnail should be enabled

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.