正规365体育投注

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferences any time.

Questions tagged [discord]

正规365体育投注 For use with the Discord API, which provides an interface that allows you to program bots for the Discord messaging services.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

How can I Send DM to certain user with ID?

let user = client.users.cache.get(config.admin); ... user.send(exampleEmbed); TypeError: Cannot read property 'send' of undefined "admin": "451744624......"
0
votes
0answers
4 views

Discord.JS Music Bot won't play sound

I've been making a music bot, however it does not seem to want to play audio. I have installed ffmpeg, opusscript, ytdl-core and all the essential NPM packages that are needed to play music. When I ...
0
votes
0answers
8 views

DiscordJS : Issue with Userinfo command

I'm making a DiscordJS Bot and I have an issue with my userinfo command. I want to know when the user join the guild, and it reply with the date of today. I'm sure the user didn't join today. Here's ...
0
votes
0answers
11 views

Discord.js reminder command that works after bot reset

I have a reminder command on my bot, but I'd like for it to store reminders in case my bot resets. I don't know how I'd go about doing this. Can anyone help me? This is my command: const ms = ...
0
votes
0answers
16 views

is there a way for my discord bot to send random video from a specified youtube channel?

The goal of the command is for the bot to send a random video posted from a chosen youtube channel. is this possible? I'm using discord.js for the bot
0
votes
1answer
26 views

How can bot clear script skip the pinned messages?

I made a script called clear. This script works as intended. But how can my clear script skip the pinned messages in the channel? This is my script: module.exports.run = async (bot, message, args) =...
0
votes
0answers
12 views

Discord.js random role reactions

I'm trying to make a command that sends an embed and reacts with an emoji and when a member clicks the emoji it gives them a random role. any idea on how I would go about doing this?
-1
votes
0answers
5 views

How to get title and other keys from Reddit json?

Here's a bot that fetches the json data and then posts the image of a burger. I want to also get the title and the other objects from that post but i'm just dazzled as to how to properly syntax it. ...
-2
votes
0answers
12 views

how to code a discord bot to return the role of a member?

ok so i have no experience with discord bots, what im trying to do is code a bot to the following: for command $duel @member: *the bot check the role of both members. *the bot give each member an HP ...
0
votes
0answers
17 views

What does addRoles require as a member (to add the role to) Discord.js [duplicate]

Alright so I'm pretty new to the Discord.js environment but I've been looking and trying everything from everywhere but I always get the same errors for this and I don't really know why. Specifecally ...
0
votes
1answer
17 views

Discord bot clear command error [INVALID_TYPE]: Supplied options is not an object

When I or some random user try to use the !clear command I see this message in my channel. "Yeah... That's not a number? I also can't delete 0 messages by the way. Something went wrong... " + this ...
0
votes
1answer
23 views

Python discord bot scheduling

I am making d-day count and notice bot in discord now. i need my bot to send d-day count message every 12 hours. how can i make that happen?? import discord from discord.ext import commands from bs4 ...
0
votes
0answers
6 views

discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions error for setting up roles

I am trying to setup roles for my discord bot but keep getting this error: discord.errors.Forbidden: 403 Forbidden (error code: 50013) My Code: @client.event async def on_member_join(member): ...
0
votes
0answers
26 views

Delete message over than 99 in discord.js

Ok. I search many things to delete over than 99 messages. But I cannot make it. I downed limit 99 to 5 because of test. My code is What is wrong? Command is " !clear (amount) " start1: while ...
0
votes
0answers
15 views

The embed that shows the list of youtube videos shows up but the embed for the chosen video doesn't (discord.js)

I'm very very new to javascript but always wanted to learn it so here I am. I was making a discord music bot and already managed to integrate the youtube-search module into the bot. I followed some ...

15 30 50 per page
1
2 3 4 5
270