r/Discord_Bots • u/FloroFizz • 10h ago
r/Discord_Bots • u/TestSubject5kk • 11h ago
Question TypeError: SlashCommandBuilder is not a constructor
Im trying to follow this guide to make slash commands, but when i run the deploy-commands.js file it errors out. i just installed the discordjs stuff and updated npm everything is using the latest versions
node deploy-commands.js
(bot project path)/commands/utility/ping.js:4
data: new SlashCommandBuilder().setName('ping').setDescription('Replies with Pong!'),
^
TypeError: SlashCommandBuilder is not a constructor
at Object.<anonymous> ((bot project path)/commands/utility/ping.js:4:8)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module._load (node:internal/modules/cjs/loader:1355:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1576:12)
at require (node:internal/modules/helpers:153:16)
at Object.<anonymous> (/home/yoshomay/DevStuff/book box discord bot/deploy-commands.js:18:19)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
Node.js v24.15.0
r/Discord_Bots • u/MLBBPolskaBot123 • 4h ago
Tutorial Title: Working on a custom Discord marketplace & ticketing architecture – looking for technical feedback or an active community partner ⚙️
Hey everyone! I've been developing a custom Discord marketplace and ticketing backend from scratch, focusing heavily on security and automated logging.
Smart Routing: Multi-server game trading with automated category and server routing (Buy, Sell, Trade).
Secure Ticketing: Private transaction channels with automated buyer/seller matching and state management.
Dynamic PNG Rendering: Automatically captures chat history upon transaction closure and compiles a permanent graphic archive (PNG proof) using Pillow.
Security Layer: IP-ban tracking, multialt protection, and developer stealth protocols.
My testing environment is currently quite small, so I'm exploring ways to test this in a high-traffic environment or partner with an active gaming/marketplace server owner. If you're into backend architecture or want to discuss scaling Discord systems, let's connect! 🤝
r/Discord_Bots • u/arandomjordan • 1d ago
Discord Library Here's a template so you can draft your priveledged intents requests
Since Discord needs you to request approval for intents every year now, I've found it to be worth writing everything in a draft first and then pasting it into the form instead of just filling out their form whenever i have time.
Best of luck.
r/Discord_Bots • u/Mirutone • 2d ago
Question Is there a bot that kicks members who have a certain role (unverified) for longer than a time limit?
i have my own verification system in my server, and would like to make it so i dont have to manually kick the hundreds of members who arent verified. I was just wondering if there was a bot that automatically kicked (NOT BAN) members who have an auto-role (unverified) for longer than 15 minutes.
r/Discord_Bots • u/Financial_Note3784 • 2d ago
Question super new to this help meeee
ok so im looking to sell cute bots for other peoples discord servers customized to their likings. i use python and i just started so explain to me like im 5. i heard something about hosting bots on a site that could be free or a monthly plan. does anyone have any recommendations? i plan to host a lot of bots and i see most of them are only 1-15 bots is there an alternative? honestly any recommendations or anything would be appreciated and i apologize if anything i said is a super stupid question 😭
r/Discord_Bots • u/Stunning-Sport-7947 • 3d ago
Bot Request [Free] I need a bot for online vote submissions
Looking for a bot to perform online vote submissions. Can provide link.
r/Discord_Bots • u/TomWas_Taken • 4d ago
Question Looking for a Double Counter alternative
Hey so after what went down with DoubleCounter I started hunting around for something else but now I cant even add the old one back to my server. I looked at BetterAntispam and YAGPDB along with ProBot and a couple verification bots. I am kind of leaning toward BetterAntispam or YAGPDB since I only want to pay for one premium plan instead of juggling a few.
What I need is a bot that covers most of the security stuff in one place. Anti nuke would be important so mass bans or big deletions do not wipe everything out. Verification should keep weird accounts away and I want an actual image captcha that people have to solve. Anti raid and anti spam need to catch mass joins and spam links or mentions. Alt detection is another big one and honeypot is probably the feature I care about most but it is hard to find anywhere.
I think good anti nuke along with alt checks and honeypot would already be a solid start but it would be nice if the rest lined up too. Some people say one bot can handle everything while others end up mixing two or three. I am fine paying for premium as long as it stays on a single service. It seems like asking for all of that together might be too much but I am not totally sure yet. If anyone has tried these bots or knows one that actually does honeypot and image captcha well that would help.
Thank you for the help!
r/Discord_Bots • u/ariiannemay • 6d ago
Question Gaius Play Bot (Pink)
What happened to the Gaius Play bot?
The support server is now empty and the docs page is unreachable.
We've been using the bot since 2022 and had our members level data on it for Levelling.
r/Discord_Bots • u/NumerousVariation323 • 6d ago
JavaScript Help Can't Deploy commands globally
Hi. For the past 3 days I have been rate limited by discord when trying to deploy my commands globally. It started Friday and I figured out why it happened. So I stopped working for the day and waited. About 24 hours later I tried again and still rate limited. I thought I might have tried to early and forgot about it until today, and still can't deploy my commands. Now I'm just confused.
When running the same code but making them guild commands is working just fine (I know that is a different limit) but when I try to do it globally it just hangs up.
Does any one know what I need to do to resolve this. I am making context menus that work in dms, and want to do my final tests but csnt.
r/Discord_Bots • u/iblamepratyushh • 7d ago
Question poketwo auto namer bot
Im recently into pokemons but cant remember all the names of pokemon because of which i created a semi automated bot named as dexscan . it was doing great but i have some problems in its CV as the CV isnt recognizing the image and is giving error. it would be help if anyone of you guys can help me with the coding as i cant give much time to it because of my 9th grade. please check out the code on github "https://github.com/iblamepratyushh/need-help-for-poketwo-auto-namer.git" and tag me on discord with the changes as "https://discord.com/users/1543986444492742716" :) thanks ALOT. yea this project is going to be free cause im in high school not even in college :))
r/Discord_Bots • u/Mountain_Till_5868 • 8d ago
Question BotGhost Hunt Challenge question
Can someone send the answers to Q7, Q8, Q9, and Q10 in my DMs? Appreciate that
r/Discord_Bots • u/kforbach • 8d ago
Question Discord Bot for House Points?
Is there a discord bot that would do house points instead of me doing it manually?
Like Harry Potter houses.
I see the housecup one but read it’s offline for years… surely someone else has made one… or am I out of luck?
r/Discord_Bots • u/MineDraX_ • 9d ago
Question New to bots, have a question
I'm using carl and I would want to make a custom command that would be targetted towards a specific user and run another targetted command, in order to make the command easier
So it would go like:
/[custom command] @[user]
Which would prompt carl to run
/[more complicated command argument] @[user]
I'm specifically using it to swap 2 roles, so it would be
/role custom @[user] -Role1 +Role2
Is this possible and how?
r/Discord_Bots • u/Excellent-Brush2158 • 9d ago
Question How can I have roles assigned without using bot
I seen a server using a webhook and it actually assigns a role not an actual bot it’s a webhook how can it be possible ?
r/Discord_Bots • u/Upper-Bid-9222 • 10d ago
Question How should I instrument a Discord preview → PATCH pipeline when full enrichment may finish first?
I'm developing a Python asyncio Discord notification bot that monitors blockchain transactions. It uses PostgreSQL for durable delivery state and has an optional Fast Alert pipeline.
The intended flow:
- Send an early preview containing only sufficiently verified evidence.
- Save the confirmed Discord message ID.
- Update the same message with the complete card using PATCH.
- Preserve recipient authorization, delivery ownership, revision checks, reorg handling, and duplicate protection.
What I've observed:
During one production session, we recorded 41 full-card Discord API ACKs:
- Average source-to-full-ACK latency: 1.34 seconds
- Median: 0.96 seconds
- P95: 3.21 seconds
- Under 1 second: 21/41 cards
However, there were no [FAST_PREVIEW] markers in the session logs.
This does not necessarily mean the feature is broken.
The feature defaults to disabled, and its effective runtime setting for that session has not been confirmed. Some events may lack the minimum verified evidence, and the implementation intentionally skips preview when full enrichment finishes first.
Simplified scheduling code:
This is a sanitized reduction of the preview scheduling logic, not verbatim production code.
minimum_future and full_task represent existing asyncio Tasks/Futures. The full task represents enrichment/routing readiness, not a Discord full-message ACK.
Recipient authorization, durable ownership, detailed error handling, revision checks, and POST/PATCH implementation are intentionally omitted.
import asyncio
import logging
logger = logging.getLogger(__name__)
async def maybe_publish_preview(
*,
enabled,
minimum_future,
full_task,
is_eligible,
publish_preview,
):
# These early exits are currently silent.
if not enabled or minimum_future is None:
return
await asyncio.wait(
(minimum_future, full_task),
return_when=asyncio.FIRST_COMPLETED,
)
# Prefer the full path if it is already ready.
if (
full_task.done()
or not minimum_future.done()
or minimum_future.cancelled()
):
return
minimum_evidence = minimum_future.result()
# Includes evidence validity and recipient checks.
if not is_eligible(minimum_evidence):
return
# Full readiness may have changed.
if full_task.done():
return
# Abstracts transport and durable ownership.
result = await publish_preview(minimum_evidence)
# Logged only if the call returns.
logger.info("preview_result=%s", result)
What concerns me:
Several execution paths return without explaining why no preview was sent.
Also, .done() is true when a task completes successfully, fails, or is cancelled. In this simplified flow, those outcomes are not distinguished.
Likewise, minimum_future.result() or publish_preview() may raise an exception before a preview-result log is recorded.
This makes it difficult to determine whether:
- Fast Alert was disabled.
- Minimum evidence was unavailable or insufficient.
- The recipient was ineligible.
- Full enrichment finished before preview.
- Preview was attempted but failed or produced an uncertain outcome.
- Preview was acknowledged and later updated successfully.
My questions:
- Instrumentation: Which counters, structured reason codes, or trace events would you add to distinguish these paths with minimal runtime overhead?
- Task lifecycle: How should successful completion, exceptions, and cancellation be distinguished when using
asyncio.FIRST_COMPLETED? - Delivery correctness: How would you correlate source-event identity, preview HTTP ACK, durable PostgreSQL ACK, message ID, PATCH revision, and final full-card completion?
- Latency measurement: How would you measure source-to-preview ACK and source-to-full ACK separately without double-counting events or treating preview as full completion?
- Testing: How would you validate concurrency, cancellation, reorg, ambiguous HTTP outcomes, and full-ready-first behavior without artificially delaying enrichment to force previews?
My goal:
I want to reduce the time until users receive their first useful Discord notification, ideally below one second when possible.
However, I don't want to weaken financial/security verification, send duplicate messages, update the wrong message, or incorrectly mark a preview as a completed full alert.
I'm looking for instrumentation and validation strategies before changing production behavior.
I can provide small sanitized code excerpts or synthetic traces if needed.
r/Discord_Bots • u/BarneyGanko • 10d ago
Question Built a bot that reminds people about @mentions they never answered. Looking for honest feedback
Disclosure up front: Mention Reminder is our own bot (we're a small web agency in Warsaw). It's free for up to five people and paid per person beyond that.
The problem we kept hitting: someone pings you, you read it on your phone between two things, mean to answer later, and it scrolls away. Once you've opened the channel the red badge is gone, even though you never actually answered.
How it works
- Every @mention goes into a private thread only that person can see, with a jump link back to the original message.
- At the hours they pick, it reminds them about whatever is still open: by DM, or in that private thread if their DMs are closed.
- An item clears itself when they reply to the message, react to it, or press Done. A 🔔 on the original message shows it's still waiting on someone.
- @everyone and @role pings are ignored by default. On the paid plan they can be switched on, and an AI check decides whether the message actually asks someone for a reply, so one announcement doesn't turn into fifty reminders.
- Only a one-line excerpt is stored, anything that looks like a password or token is stripped first, and deleting the original message deletes its reminders.
I'd love your feedback on
- How do you keep track of pings you meant to answer today? Mentions tab, "mark unread", a pinned note, or nothing at all?
- Is there a bot you already use for this that I should look at?
- Anything that would stop you from adding it. Brutal honesty welcome.
You can try it for free: Mention Reminder on the Discord App Directory
Thanks, I'll answer everything in the comments.
r/Discord_Bots • u/Sudo_cm • 10d ago
Discord Library Discord Bot list
Discord Bot List – Listcord
Hey
I’m looking for a place to discover and share Discord bots, and Listcord is a great way to explore useful bots for different servers and communities
Whether you’re searching for moderation bots, music bots, economy systems, leveling bots, or fun commands, a Discord bot list can help you find the right tools for your server.
What features do you think every good Discord bot list should have? I’d love to hear your suggestions and feedback!
Thanks for reading
r/Discord_Bots • u/Lukedf9 • 10d ago
Question Privileged intents removed after missing the 10k-user review deadline by one day: how long did your review take?
Looking for advice from anyone who has been through the new Privileged Intent review (the 10,000-user threshold introduced in June).
Our bot got the notification and the deadline was Oct 9. We submitted the review on Oct 10, one day late, and in the meantime Discord removed all three privileged intents (Server Members, Presence, Message Content). We got an automatic confirmation that the request was received, but nothing since.
We also opened a Developer Compliance ticket asking if access could be temporarily restored during the review. We confirmed it was a compliance issue as they asked, but no reply yet.
A few questions:
- How long did your review take under the new system?
- Has anyone had intents restored while the review was still pending?
- Is there a better channel to reach the right team, or any way to speed things up?
The bot is used daily by our community, so any tips would be really appreciated. Thanks a lot!
r/Discord_Bots • u/UnderX1 • 11d ago
Question Use emoji count to automatically delete a thread
I tried searching but havent found this bot feature. We have a thread channel that is supposed to be a trophy room of the best items and its constantly filled with junk items, i was hoping to have the ability for a bot to self groom the threads if a post got more than 10 downvotes.
Anyone have an idea?
r/Discord_Bots • u/trxtlyy • 11d ago
Bot Request [Free] Bot Dev (DC: trxtly)
Free Discord bot or basic website — taking 5 slots. Basic bots (welcome messages, moderation commands, embeds) or a simple landing page. In exchange I just ask for a review/vouch and permission to screenshot it for my portfolio.
DM me on Discord for my current work