Category "discord"

How to make a music bot join the voice call

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

i can`t repair this err: BITFIELD_INVALID

const { MessageEmbed } = require(`discord.js`) const Discord = require("discord.js"); const nodemon = require("nodemon"); const client = new Discord.Client({

My bot sending multiple messages, discord.js

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

Discord.py disconnect from voice channel

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

MySQL Query in Discord.js returns "unkown"

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

Making a say command in discord.py

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

How to access certain parts of a Discord input

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

Cannot implicitly convert type 'DSharpPlus.CommandsNext.CommandsNextExtension' to 'DSharpPlus.CommandsNext.CommandsNextConfiguration'

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

I want my discord bot to send a random message to a text room given by user [by channel id or channel name]

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

Discord Bot unable to send 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

builder error: 'openssl/rand.h' not found [Windows 10]

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

Discord bot wont respond to messages sent in dms

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

discord bot: client.start(Token) not working

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 = '.')

Color codes for discord.py

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

Python/Discord --I'm making a discord bot but having some problems with the os module:

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

403 Forbidden (error code: 50001): Missing Access when adding role | discord.py

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

How to track the number of command uses and mentions by the user?

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

Is there a way of creating more than 3 inlined fields in a discord.js embeded message?

I am trying to create an embed for a discord bot using node.js. I want the embed to have 4 inlined fields so that there effectively are 4 columns with and an ar

Get Discord ping message/Windows 10 popup notification

Assuming that someone @everyone or @Ping Role on one of my Discord server. There will be a pop-up for Windows 10 for the ping. Are there any way to get that pin

Nextcord Slash Command | nextcord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body

I was migrating my bot from discord.py to nextcord and I changed my help command to a slash command, but it kept showing me this error: nextcord.errors.HTTPExc