Skip to content Skip to sidebar Skip to footer
Showing posts with the label Discord

How Can I Import Only Discord From Json File?

I've got an array of objects, these objects have an identifiers array with strings. One of thes… Read more How Can I Import Only Discord From Json File?

Cannot Read Property 'send' Of Underfined

const mudaeon = require('./mudaetime.json'); const cron = require('cron'); const Di… Read more Cannot Read Property 'send' Of Underfined

Nodejs How To Put Multiple Id's Into An If

When I try to put multiple id's into an if it only registers the first one. if (message.author.… Read more Nodejs How To Put Multiple Id's Into An If

Cannot Catch Unhandledpromiserejectionwarning In Promise

so I'm trying to catch UnhandledPromiseRejectionWarning in my promise, but for some reason it&#… Read more Cannot Catch Unhandledpromiserejectionwarning In Promise

Discord Bot Editing Messages Too Slow

I want my discordbot to send send a message with an attached file in it and a text. Then the bot ha… Read more Discord Bot Editing Messages Too Slow

Discord Js - How To React Multiple Times To The Same Embed?

I've only gotten the first 'moneybag' emoji to react to the newest message in the chann… Read more Discord Js - How To React Multiple Times To The Same Embed?

Discord.messageembed Is Not A Constructor

So recently I tried adding a command handler into my discord bot. All the commands that had Embeds … Read more Discord.messageembed Is Not A Constructor

Discord.js V12 Rude Words Filter Not Working

so I am adding like a rude words filter, whenever someone says that word (lowercase or uppercase) i… Read more Discord.js V12 Rude Words Filter Not Working

Discord Js Manage Roles Permission Missing Even Though Bot Is Admin

My Discord bot isn't adding the role to the user who uses the command. My Code: if (userCmd.toL… Read more Discord Js Manage Roles Permission Missing Even Though Bot Is Admin

Command To Send Text To A Specific Channel

I want to make a command that sends the text to a channel of my choosing. Example: !command 't… Read more Command To Send Text To A Specific Channel

Discord Bot Youtube Search, Wait For Answer Of Asynchronous Function

I have built a discord but using javascript I've got one command where I want the ability to se… Read more Discord Bot Youtube Search, Wait For Answer Of Asynchronous Function

Discord.js Bot Responds When Mentioned

I'm trying to make my discord.js bot send a message when it is pinged. I was unsure how to do t… Read more Discord.js Bot Responds When Mentioned

Sending Message To A Specific Channel At A Specific Time Using Cron In Discord

I want to send a message to a specific channel at 2:00 AM in Discord. I can't get it to work. A… Read more Sending Message To A Specific Channel At A Specific Time Using Cron In Discord

Delete All Channels In A Specific Category

How to delete all channels in a specific category in Discord.JS? I tried that oldMember.guild.chan… Read more Delete All Channels In A Specific Category

Reading File Attachments (ex; .txt File) - Discord.js

Second time posting on StackOverflow so I apologize for any mistakes. Please bear with me. Same wit… Read more Reading File Attachments (ex; .txt File) - Discord.js

Creating My First Bot Using Replit But Always Error Discord.js

I have just started Discord.JS on Replit. It followed FreeCodeCamp's Tutorial on https://www.fr… Read more Creating My First Bot Using Replit But Always Error Discord.js

How To Send A Message To A Different Server | Discord Bot

I am very curious because I have seen other bots do this, the food bot command would be: '!Orde… Read more How To Send A Message To A Different Server | Discord Bot

How To Get The Creator Of A Channel On Event Channelcreate In Discord.js

Would it be possible to find the creator of a channel when the channelCreate event triggers? I'… Read more How To Get The Creator Of A Channel On Event Channelcreate In Discord.js

Discord.js Ping Command

I was trying to make a ping command for my bot here is my Code client.on('message', message… Read more Discord.js Ping Command

Kickme Command, Cannot Read Tag

im trying to get a command added to my bot, i cant quite figure out why the property of 'tag… Read more Kickme Command, Cannot Read Tag