I was looking around in Discord.JS and creating a bot, but every time I want to turn on the bot, ( using node index.js) this error happens: throw new Error("Th
So I have this temp role command and I have made it to save the member id and time for the role in a JSON file so the command can't be run on a single member tw
I would like to know if its possible to tag user inside message. For example: msg.channel.send('display and tag user <@426369340> , thanks!').then(msg =
So i have been seeing many youtube vids and got a working code but I cannot find the error in my code import discord from discord import Embed from itertools im
const { MessageEmbed } = require(`discord.js`) const Discord = require("discord.js"); const nodemon = require("nodemon"); const client = new Discord.Client({
To explain briefly, the code is to make already existing buttons after restart of the bot usable again, I store for this the channelId and the messageId. Howeve
So I was making a bot in discord.py which joins a voice channel and disconnects from it after a delay of 3 seconds, just to test how to make it disconnect. I ha
I've improved my code a lot over the past few days but I'm finally stuck. My query is returning "unknown". I've attached the code and a screenshot of the databa
I want to make a simple say command in discord.py (ex.!say something - the bot says "something" and deletes the command message) but every code I found doesn't
I am quite new to the discord library in python and have currently made a discord bot. I have an idea for a few commands that vary the users input. e.g ~TEST 4
I try to make a discord bot in c# with plugin d# and I have this error that shouldn't exist I watch a tutorial and I copy the code so it should work public cla
so what I am trying to do is when a user write a command such as !setchannel #test or !setchannel 86xxxxxxxxxxxxxxx then the bot will send the random messages
I'm developing a discord bot, but I'm having some problems that I've never had. My discord bot is unable to send messages. The bot doesn't contain any deprecate
I'm learning Vlang and I want to make a simple discord bot with it, so I tried with https://github.com/Terisback/discord.v but I had error I fixed. But finally
I have setup all of the required intents including DIRECT_MESSAGES though the client messageCreate event doesn't appear to be picking up the command and respond
trying to run a discord bot this is the code import discord from discord.ext import commands TOKEN: str = "Token" client = commands.Bot(command_prefix = '.')
I found it a bit difficult and annoying to change colors in discord.py (embed color for instance). I made a class for the different color codes to use in discor
This is my code which caused errors when added: if message.content == "ID start": dir=(r'C:\\Users\\User\Desktop\User Profiles') file = message.author
I am trying to ass different roles to people rapidly to give users the impression of their name being rainbow ( yes I know its against TOS ), and I am starting
I just wanted to know if there's a way to count how many times a command has been used in my Discord server like on screenshot. I'm new with coding. I used dis