I've been tinkering around with this for a while, and I have never done permission based channel creation. I am working on a ticket function for my bot and I ca
I understand that usually the discord bots are in a listening (blocking) loop, but how can I create a function that connects, send a message or perform any acti
Is there any way to get all id's of users in one server to separate variables?
This is my discord bot source on replit import discord import discord.ext from time import sleep import os client = discord.Client() @client.event async def o
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 = '.')