20,879 questions
0
votes
0
answers
11
views
How can I limit a slash command to only one, specific user?
I'm writing a Discord bot using TypeScript and Discord.js to implement a game.
As part of the game, I would like certain commands to be secret - they should be restricted to one user only, and the ...
0
votes
1
answer
16
views
Discord.py using on_voice_state_update
I am current trying to make a Discord bot that joins VC when a certain person joins and then leaves VC when they leave.
The bot should ONLY be in VC when the specific user is in VC, and then leave ...
-1
votes
0
answers
25
views
I can’t find GatewayIntentBits in the discord.js documentation. Where can I find it? [closed]
In the latest versions of discord.js, specifically starting from v13.0.0 and continuing in v14, GatewayIntentBits is an enumeration that contains different intents necessary to interact with Discord's ...
0
votes
0
answers
33
views
undefined reference to library functions that I have properly linked? [duplicate]
whilst trying to have a slightly modified version of one of the examples for using the Discord Game SDK to generate a Rich Presence for a user, I have encountered errors when trying to link said ...
0
votes
0
answers
26
views
Rate limitations and slash commands with Discord API (discord.py)
I've been encountering an issue recently- specifically with slash commands. Both with syncing them and actually using them.
So, as I understand it, whenever you make requests to the Discord API, you ...
-1
votes
0
answers
46
views
What is the correct way to send a captcha check request to hcaptcha?
I'm trying to bypass the new Discord captcha “Drag Drop”. I found a utility to solve this captcha via opencv, it solves the captcha correctly.
host = "discord.com"
site_key = "a9b5fb07-...
-4
votes
0
answers
35
views
I want to build discord.py bot with cogs and slash commands [closed]
As title says I would like to do discord.py bot with cogs and slash commands. I know how cogs work with normal text commands but I have no idea how it works if I want slash commands. Can someone ...
-3
votes
0
answers
22
views
Discord, is there such a bot? [closed]
I have a question. I have my private discord server with people I met in a certain game (we playing now as a team). This game also have official discord server where admin's are posting updates. Can i ...
1
vote
1
answer
40
views
I was trying to use the discord api. But when i enter import discord, it gets several module errors from within the package
enter image description here
Traceback (most recent call last):
File "c:\Users\My PC\OneDrive\Desktop\code\Languages\Python\Docs_disc\main.py", line 1, in <module>
import ...
0
votes
0
answers
17
views
discord oauth2 login session persistence lost on mobile after redirect
I'm working on a Discord login integration for my app, and it's mostly working, but I'm running into an issue with authentication persistence.
The login works fine on desktop — I'm redirected to ...
1
vote
1
answer
25
views
ImportError: cannot import name "Modal"
Traceback (most recent call last):
File "C:\Users\Aaaaa\Desktop\boy\bot.py", line 2, in <module>
from disnake import Intents, Modal, TextInputStyle, Embed, ButtonStyle, ActionRow, ...
0
votes
1
answer
31
views
How to Retrieve Profile Effect from the Discord User Object?
I want to retrieve the relatively new Profile Effect from a User, however it seems that the Profile Effect is not included in the User Object while the Avatar Decoration is.
I was unable to find any ...
0
votes
0
answers
28
views
How do I connect my Discord Bot to Statuspage? [closed]
I wanted to connect my discord bot to statuspage by using discord.py, like when my bot goes offline, on the statuspage it should say "Major Outage" and when it comes back online it should ...
0
votes
1
answer
53
views
Get server boost level for Discord bot
I'm writing a Discord bot in NodeJS. I'm wanting to make a check to see if the Discord server the bot is used on is boosted or not before the command fully executes. I have not been able to find out ...
-2
votes
2
answers
52
views
discord.ext.commands.errors.CommandNotFound: Command "coucou" is not found
I'm trying to create a bot Discord with Python.
I created a class MyBot like this:
import discord
from discord.ext import commands
intents = discord.Intents.all()
intents.members = True
class MyBot(...