20,678 questions
-3
votes
0
answers
70
views
Flutter Forza Project If it is Code Review [closed]
I have a question on my flutter project. My button is not working and I dont know why.
----------------------------- ENDPOINT ------------------------------------
set search_path to public, auth;
...
0
votes
1
answer
74
views
Discord bot not playing the audio resource I want it to play (Discord.js) [closed]
I'm learning how to make a discord bot from scratch via the documentation. The bot is supposed to join a voice channel and play any audio. I've one locally that I want it to play, but it doesn't.
I've ...
Advice
1
vote
1
replies
90
views
How to track member applications with discord.py
I'm trying to add a mechanic to my bot that pings staff members whenever there's a new membership application to review. It's been a recurring issue that apps are left waiting, so I'd like to automate/...
0
votes
1
answer
130
views
"TypeError: component.toJSON is not a function" and other errors on unknown line discord.js [SOLVED]
We are trying to make a slash command for a Discord bot that creates forms.
This is a stripped-down minimal reproducible example that produces similar results:
require('dotenv').config()
const discord ...
2
votes
1
answer
160
views
Negative Unix timestamp in Ruby
I have the following Unix timestamp:
time = Time.at(-8_640_000_000_000) # => -271821-04-19 19:00:00 -0500
time.strftime('%B %-d, %Y at %-I:%M %p') # => "April 19, -271821 at 7:00 PM"
...
Advice
0
votes
10
replies
138
views
how can i fix this bot's code written in C++? it won't work because of errors in Visual Studio 2022, i need a fix please
how can i fix this bot's code? it won't work because of errors in Visual Studio 2022.
using C++17 standard.
The errors are:
*syntax error: unexpected token 'p' following 'expression' Line 490*
And
*...
1
vote
1
answer
61
views
Is there an on_application_made event in discord.py?
Discord has a feature which allows server access to be set to "Apply to Join", where people submit an application which needs to be approved by server staff before the user can join. I am ...
0
votes
1
answer
116
views
User specific streaks for roulette command discord.py
I am trying to make a streak to my roulette command when the 1/4 chance fails (a miss). I want it to be when a user gets a miss, their streak goes up by one, but if a user gets a hit the streak resets ...
-2
votes
1
answer
62
views
Taking a server id, and resulting all channel ids in Discord using Python [closed]
I want to take a server id and return all the channel ids in that server.
I do not want to add a bot to the server.
Here is my code:
import requests
import json
import sys
BOT_TOKEN = "not today ...
0
votes
1
answer
118
views
Discord.JS bot Starboard using two differents emojis and count
I am currently making a discord bot for a closed community, they asked me to create a starboard that tracks two differents emojis (🫃and🪑) with different counts (6 and 7)
I know it sound silly but I ...
1
vote
0
answers
89
views
discord.errors.ClientException: Not connected to voice when in a voice channel
I'm trying to make a command for my Discord bot that plays music. However, it says that it's not connected to any voice channels.
Error message:
[2025-12-28 15:10:21,086] {_init_.py:173} ERROR - Code ...
Advice
0
votes
1
replies
178
views
Discord bot embed customization
I wanted to make a custom command that sent an embed with a message that the user writes (I was using $N for that), but I also wanted the users to be able to customize the embed color in their message....
Best practices
1
vote
6
replies
121
views
Recommended workaround for circular import issue?
I am learning python (fairly new) and decided to create a simple rock paper scissors bot as a mini side project to apply the lessons I've learned.
I have encountered an issue during my development:
...
0
votes
0
answers
120
views
ModalBuilder throws “Received one or more errors” when using new v14.25.1 modal API (LabelBuilder, addTextInputComponents…)
I'm currently working on my first modal in a Discord bot using discord.js v14.25.1, and I’m trying to follow the latest documentation (which includes the new LabelBuilder, addLabelComponents, ...
5
votes
1
answer
157
views
Discord command not showing when bot is up
I'm working on a discord bot using discord.py==2.7.0a5350+g8f2cb607.
This bot is deployed in a single server and will not be deployed anywhere else.
I've my on_ready() function like this :
@bot.event
...
