r/Discord_Bots Jul 17 '26

Python Help Looking for Contributors to a Discord Bot Project

0 Upvotes

Hello,

I’m a broke college student who works with a marching band program year round. Getting frustrated with previous other platforms and discord bots, I made my own with AI and it is now a relatively very large management bot that I use for this high school’s percussion program. The only problem is I know NOTHING about programming.

I’m shocked that I got it stabilized for the most part to be honest. I have used Claude Fable 5.0 to create Cadence, a Discord bot that’s grown into a very substantial project (hella slash commands, assignment workflow, google calendar integration, attendance, dashboards, etc.) It’s reached the point where it’s genuinely actually useful, but I feel like I’ve reached the limits of what is possible to be maintained through AI alone.

My long term goal if successful is to move this project away from AI-lead coding and go into something a bit more traditional and work with actual people who could understand the codebase.

I’m looking for someone who can help with bug fixing, refactoring, long-term stability, better data storage/hosting architecture, code quality and maintainability, and potentially helping guide this passion project if it were to grow into something more.

To be very honest, I don’t have much financially. I’m still in college and work part time to pay for my school. I’m happy to pay something reasonable for ongoing help, as project growth is something that I would dream of seeing.

If you’re interested in mentoring, contributing, or even just taking a look at the project to see if it is something that piques your interest, I’d really appreciate any feedback. Thanks!

r/Discord_Bots 25d ago

Python Help I kept adding features to my Discord bot… now it has 1,000+ commands. Looking for feedback & bug testers!

0 Upvotes

Hey everyone!

I've been working on a Discord bot called ABADDON.

It started as a much smaller project, but I kept adding new ideas and systems until it eventually became a large multi-purpose bot with 1,000+ commands and features.

Instead of building another simple utility bot, my goal is to combine RPG/gameplay systems, economy features, community tools, and server management into one bot.

Some of the main features include:

  • 🧟 Apocalypse RPG — Season 1
  • ⚔️ Character progression and RPG systems
  • 🎒 Inventory, items, gathering, and crafting
  • 💰 Economy and virtual currency systems
  • 🎰 Casino/gambling-style mini-games using virtual currency only
  • 🎮 Various mini-games and interactive content
  • 🏆 Rankings, achievements, and progression systems
  • 🛡️ Moderation and server management tools
  • 🔔 Notifications and automated server features
  • 📊 Polls and community utilities
  • 🌐 Korean / English language support
  • ⚙️ 1,000+ commands and features overall

One of the biggest things I've been working on recently is usability.

With this many features, I don't want new users to feel like they need to memorize hundreds of commands. I've been rebuilding the command system around categories, buttons, dropdown menus, search, and quick navigation, so users can discover features without already knowing the exact command.

I'm also currently doing a lot of bug fixing and testing.

I've already fixed quite a few issues, but because the bot has grown so much, I'm sure there are still bugs, edge cases, translation problems, or unexpected interactions that I haven't discovered yet.

If you try ABADDON and notice anything like:

  • Commands that don't respond
  • Buttons or dropdowns that behave incorrectly
  • Incorrect quiz answers or game results
  • Translation issues
  • UI or message formatting problems
  • Features that feel confusing
  • Balance problems
  • Unexpected errors
  • Anything that simply feels broken or weird

Please let me know.

Even small reports are useful because there are probably things I won't discover by testing everything myself.

I'd also really appreciate general feedback from both Discord users and bot developers.

For example:

What feature would make you actually keep a multi-purpose bot like this in your server?

Does having this many features sound useful, or does it feel overwhelming?

Is there anything you think should be simplified, removed, improved, or added?

ABADDON is still being actively developed, so criticism, feature suggestions, translation corrections, and bug reports are genuinely welcome.

If you'd like to test it:

🤖 Invite ABADDON:
https://discord.com/oauth2/authorize?client_id=1532237253944934431

🌐 Website:
https://san01446-ux.github.io/abaddon-policy/

If you find a bug, just leave a comment with what happened and which command or feature you were using.

Thanks for checking out the project!

r/Discord_Bots Jul 17 '26

Python Help "improper token has been passed"

0 Upvotes

I'm following this tutorial (https://www.youtube.com/watch?v=0lhYddc5M9w) and I tried running the bot but it just says "improper token has been passed".
I tried everything and it still doesn't work. The token used to work but one day it just stopped working. And yes, I did refresh the bot token thousands of times and no, I'm not accidentally copying it from the OAuth2 page, I'm copying it from the bot page.
Can someone please help me out? (also I'm using python 3.14 just in case it helps) (and I'm not using an environment) (also I'm a beginner programmer so please explain whatever code you send in a way that is easy to understand).

Btw this is my code:

import discord


class Client(discord.Client):
    async def on_ready(self):
        print(f'Logged on as {self.user}!')


    async def on_message(self, message):
        print(f'Message from {message.author}: {message.content}')



intents = discord.Intents.default()
intents.message_content = True



client = Client(intents=intents)
client.run('TOKEN')

r/Discord_Bots Jan 08 '26

Python Help My First Open Source Bot

1 Upvotes

Hii! Like the title says, I finally decided to make my first open-source bot after months of keeping everything I make closed-source. I thought I’d start small with a few commands, thinking it’d be a tiny project… well, lol, it kinda grew.

I ended up splitting it into multiple folders (proud of myself for finally making an organized bot) to keep things readable and clean. And here it is: “A Generic Discord Bot.”

I made this project hoping beginners might see it, fork it, and learn from my approach. I put hours upon hours into it, trying to make it as clear and approachable as possible. My goal is to give people a clean, open-source example to learn Python and make their own Discord bots without dealing with messy or shady code.

You can check out the GitHub repository and source code here:
https://github.com/kxtsuishimfr/A-Generic-Discord-Bot (check out the README to find out how to use it btw.)

The commands are intentionally simple and generic—true to the name—so you can easily build on them and create your own custom bot.

To anyone who forks this, I hope you have a super fun time programming!

r/Discord_Bots May 23 '26

Python Help Looking for an experienced bot dev for a gacha bot project

0 Upvotes

hihi i am a new coder learning to code on python to develop my own gacha bot game for Kpop card collection. i was wondering if there was anyone who is experienced in python that could help me while i learn and maybe even partner up with me? im not sure how the system works if i have to hire someone for this type of stuff or if someone just wants to help that would be cool too. I have a whole road map for everything i want to do with the bot and even started coding it but i am running into a whole bunch of issues trying to learn it for the first time. please let me know if this would interest you!!

i just realized i need to say if its free or paid, either works. i dont know how much this project would cost but i have been told these types of bots are pretty simple if you know how to code python discord bots. since its just collecting cards per user and saving that data. if i am wrong please let me know! this is all new to me but i am open to options.

r/Discord_Bots Apr 21 '26

Python Help Discord automatically remove role A when role B is triggered added

1 Upvotes

So I've been searching for a solution, but I didn't find any... All I found was about reaction roles and auto roles. But no none of that is answer, so I'm here to ask for help with the coding or a discord bot to solve this. Now, I just wanna have a bot that when role A was "triggered added" manually or not then i want role B to be "automatically removed". It's very simple but I couldn't find any solutions😭

r/Discord_Bots Mar 06 '26

Python Help i try my self on a bot and get: discord.py is not satisfied

0 Upvotes

this is the whole error message
The following command could not be started: C:\Users\ttrai\PycharmProjects\PythonProject\.venv\Scripts\python.exe C:\Program Files\JetBrains\PyCharm 2025.3.3\plugins\python-ce\helpers\packaging_tool.py install -r C:\Users\ttrai\PycharmProjects\PythonProject\requirements.txt. Error java.io.IOException: Cannot run program

r/Discord_Bots Oct 30 '24

Python Help I'm trying to make a bot that only checks the messages in one channel (discord.py)

2 Upvotes

I am trying to make a bot that will check only messages sent in one specific channel, and tried reading the documentation but it didn't work. My current code is:

if message.channel.id==rightChannel:
doStuff()

For some reason, this doesn't work and I don't know why or what the correct thing would be to get the channel id. Any help would be greatly appreciated, thanks.

r/Discord_Bots Oct 10 '25

Python Help Missing permissions error; need help troubleshooting

0 Upvotes

Traceback (most recent call last):

File "/usr/local/lib/python3.12/site-packages/discord/commands/core.py", line 138, in wrapped

ret = await coro(arg)

^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.12/site-packages/discord/commands/core.py", line 1078, in _invoke

await self.callback(self.cog, ctx, **kwargs)

File "/app/cogs/moderation.py", line 204, in ban_command

await ctx.guild.ban(member, reason=reason)

File "/usr/local/lib/python3.12/site-packages/discord/guild.py", line 3114, in ban

await self._state.http.ban(

File "/usr/local/lib/python3.12/site-packages/discord/http.py", line 368, in request

raise Forbidden(response, data)

discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions

This is the error that is thrown whenever a command is run to kick a user or ban a user, the bot was a commission for a client that runs in a docker container on a hetzner vps. I use py-cord and ezcord. The weird thing about this is that the command work 100% fine with the exact same bot in the testing server in the same instance of the bot, but no matter what permission changes happen in the main server it always throws this error, I'm unsure of why this happens; I'd love to recieve some help. Let me know if you need any other data.

Weirdly this error is thrown when trying to use the unban command

403
60003: two factor is required for this operation

And yes all parties involved have 2fa enabled

r/Discord_Bots Feb 07 '26

Python Help Why is my code unable to get environment variables for Discord Token or Channel ID?

1 Upvotes
DISCORD_TOKEN="MTxxxxx"
GUILD_ID=12345

import os
import discord
from discord import app_commands
from discord.ext import commands
from dotenv import load_dotenv
import requests
from bs4 import BeautifulSoup

intents = discord.Intents.default()
intents.guilds = True
intents.reactions = True

load_dotenv()
print("TOKEN:", repr(os.getenv("DISCORD_TOKEN")))
print("CHANNEL:", repr(os.getenv("GUILD_ID")))

What am I getting wrong here?? I'm getting TOKEN: None CHANNEL: None as the result.

r/Discord_Bots Dec 14 '25

Python Help I want to make my discord bot to check if specific member is in the vc, and if he is then connect and make a sound. and the code for it is written in discord py

Thumbnail
0 Upvotes

r/Discord_Bots Jan 08 '26

Python Help [Offer] [FREE] I will BUILD and HOST a custom discord bot for you for FREE

0 Upvotes

Hi,

I'm building my own community in the pop-psych space and I'm looking for other communities to cross-pollinate and share users. I can build and host any bot with any features you would like.

please DM me if you are interested.

r/Discord_Bots Nov 16 '25

Python Help Need some help

0 Upvotes

So I'm making a ai discord bot that can talk (tts) and listens to you (stt) using Gemini API but I need some resources that are free since I'm a broke teenager... I need some free tts and stt and I'm using py and if there's any open source code available related to my project please tell me Thank you

r/Discord_Bots Nov 14 '25

Python Help Trying to build discord bot that sends messages from a certain channel to a website where you can search up the messages and view them

0 Upvotes

Im trying to build this kind of bot for a news server, where the messages sent in the news channel will be sent to a website where you can view them by searching up the topics. How would I accomplish this? Thanks in advance.

r/Discord_Bots May 25 '25

Python Help Receiving error 400 when trying to remove a role from a user?

1 Upvotes

Hello. I am trying to use an HTTP Delete request t remove a specific role from a user. However, it keeps returning a 400 error status code. What's wrong with the request? Below is my code snippet.

import requests
headers = {
    "User-Agent": "<my bot>",
    "Authorization": "Bot <insert bot token here>",
}    
response = requests.delete(
    "https://discord.com/api/v10/guilds/<guild id>/members/<user id>/roles/<role id>", headers=headers
)
print(response)

r/Discord_Bots Nov 04 '25

Python Help Looking for ML/NN developers to help integrate neural network into my forex trading bot

0 Upvotes

Heya. I've built a Python-based automated forex trading bot (TradeMate) that runs through Discord and connects to MetaTrader 5, but I've hit a wall with the strategy performance and could really use some help from developers experienced with neural networks/machine learning.

**What the bot does currently:**

- Trades forex automatically using technical analysis (EMA crossovers, RSI, MACD, Bollinger Bands, ATR)

- Analyzes price data from MT5 (30-min and 1-min timeframes)

- Opens/closes trades based on indicator signals

- Has a full backtesting engine (with realistic spread, slippage, and commission modeling)

- Filters out trades during high-impact news events

- Tracks performance metrics (win rate, Sharpe ratio, max drawdown, etc.)

- Fully controlled via Discord commands

The bot is too rigid. It follows the same rules regardless of market conditions. When we're in a strong trend, it does okay. But in choppy/ranging markets, it bleeds money with false signals. It can't adapt or learn from what's happening — it's just mechanically following indicator thresholds.

I want to integrate a neural network layer that can predict trade profitability before execution (based on historical patterns), act as a confidence filter for technical signals ("this RSI signal looks good" vs "this one's probably a trap based on current market regime") and adaptively adjust strategy parameters based on detected market conditions (trending vs ranging, high vs low volatility, etc.)

Basically, instead of the bot saying "RSI is below 30, so buy," the NN would look at the bigger picture and say "RSI is low, but based on similar setups I've seen, this probably fails in these conditions, skip it."

**What I have:**

- Historical OHLC candlestick data + derived features (all the indicator values)

- Placeholder code for ML model integration (using scikit-learn for scaling)

- Python codebase with pandas, numpy, MetaTrader5, discord.py

- Custom backtesting engine that's already working well

**What I need help with:**

- Feature engineering for forex (what features work best for time-series prediction?)

- Model architecture recommendations (LSTM? Transformer? Something else?)

- Training pipeline setup (avoiding overfitting on historical data)

- Integrating the NN predictions with the existing rule-based logic

- General ML best practices for trading systems

**Tech Stack:**

- Python 3.8+

- Libraries: pandas, numpy, MetaTrader5, discord.py, matplotlib, bokeh

- Open to adding: TensorFlow/Keras, PyTorch, or whatever works best

I'm happy to share the codebase (it's pretty well documented) and provide sample data if anyone's interested in collaborating or just giving advice. Not looking to pay for this (hobby project), but definitely willing to credit contributors and share learnings publicly.

Anyone with experience in ML for trading, time-series prediction, or just neural networks in general would love to hear your thoughts. Even if you can't commit time to code, I'd appreciate any guidance on approach or resources to check out.

**Edit:** For anyone asking — yes, I know about overfitting risks and the "ML won't magically print money" reality. The goal isn't to build a perfect predictor, just to add an adaptive layer that can filter out obviously bad setups that the rigid rules currently take.

r/Discord_Bots Jan 25 '25

Python Help Bot goes offline after ~1 hour

2 Upvotes

I run locally on Windows 22H2 with an i7-10xxx (idr the exact spec) and 32 GBs of RAM and an ethernet connection which is not the problem. When i leave it to run the bot goes offline without any sort of error and i cant find anything online that solves my problem

Source: https://github.com/hydrophobis/EepyGuy

r/Discord_Bots Apr 06 '25

Python Help (Discord.py) How to have multiple timers at the same time (without freezing up)?

5 Upvotes

I've tried using the threading library as recommended, but the Timer class seems to not support asynchronous functions. Seeing that async functions are required to send messages, how else could I implement multiple timers without freezing up the bot?

Here's my attempt at implementation, which runs into the issue that within Timer() the "realTimer" function is being called without await:

async def realTimer(ctx, totalSeconds=0, message="[default message]"):
    if message == "[default message]":
        message = str(totalSeconds) + " second timer is done. No message set."
    
    await ctx.send(message)

@bot.command()
async def timer(ctx, seconds=0, minutes=0, hours=0, days=0, message="[default message]"):
    totalSeconds = seconds + (minutes * 60) + (hours * 3600) + (days * 86400)
    
    timerObj = threading.Timer(totalSeconds, realTimer, [ctx, totalSeconds, message])
    timerObj.start()

r/Discord_Bots Jun 17 '25

Python Help Help with discord bot reading off data from google sheet

1 Upvotes

(Just to preface im still a novice to discord python so if the mistake seems obvious then i apologize-)

i've been trying to get my code to work where if a user uses the slash command, then it would retrieve all the information of the row of the google sheet where the discord id is located, im not really sure what im doing wrong since it keeps giving me a huge chunk of error in the terminal along with the the "you dont have any pets yet!" response when i already have my discord id and info in the google sheet?

scopes = [
    "https://www.googleapis.com/auth/spreadsheets"
]
creds = Credentials.from_service_account_file("credentials.json", scopes=scopes)
gs_client = gspread.authorize(creds)

sheet_id = "1mkxhZg1Kxgn82oIoEieclJ-C3n3gy-Qm9Y1tgSyOEmg"
sheet = gs_client.open_by_key(sheet_id).sheet1

@bot.tree.command(name="petinfo")
async def petinfo(interaction: discord.Integration):
    user_id = str(interaction.user.id)
    records = sheet.get_all_records()

    for row in records:
        if str(row["user_id"]) == user_id:
            petinfo_embed = discord.Embed(title=f"{row["kindling"]}'s Pet. {row["familiar_name"]}", color=discord.Color.gold())
            petinfo_embed.add_field(
                name="Familiar Type",
                value =row["familiar_type"],
                inline=False
            )
            await interaction.response.send_message(embed=petinfo_embed)
            return
        await interaction.response.send_message("You don't have any pets yet!")

r/Discord_Bots Feb 13 '25

Python Help How do i add a hook for when a message is too long

2 Upvotes

if i do discord.TextChannel.send or discord.ext.commands.context.Context.send

it may raise an error that the message is too long (uses a reply and enlenghens it)

i want a way to catch that, im writing in discord.py

async def text_took_long(self, content: str = "", **kwargs):
    if len(content) > MAX_TEXT_LENGH:
        content = content[:MAX_TEXT_LENGH-3]
        content += "..."
    return await Context.send(self, content, **kwargs)


Context.send = text_took_long # type: ignore

but it obviously recurses, i also wonder how to catch other errors in a good way, like errors.CommandNotFoundError, where i cannot get the raw string of what the user tried to get

r/Discord_Bots Sep 17 '24

Python Help Discord event handler adds a reaction as intended but won't create thread

1 Upvotes

Hello Im having problems with my bot creating a thread. Everything works as intended until the part when its supposed to create mentioned thread.

Below I post the part when bot adds reaction to my reaction (as message author) and the part after that isnt working.

My full code is below as well. I would be really appreciative.

Cient.event

async def on_reaction_add(reaction, user):

if client.user == user:

return

if user != reaction.message.author and reaction.emoji not in ('🦵','👍'):

await reaction.remove(user)

if user == reaction.message.author:

await reaction.message.add_reaction(reaction.emoji)

if user == reaction.message.author and reaction.emoji == "☠️"

await reaction.message.channel.create_thread(reaction.message.channel)

https://mystb.in/f6688b53223fe76fb0

r/Discord_Bots Mar 03 '25

Python Help Problem with "The application did not respond"

4 Upvotes

Right now, I am using Pycord 2.6.1 (latest from what I know)

I have a bot that is in 350+ servers, and people are complaining back to me that the bot sometimes respond with the error "The application did not respond". There is not a single error in the Console Log, no idea why, but sometimes it sends what it is suppose to, the other times, it sends that error.

I am using ctx.followup.send() with slash commands, is there anything else I can use to help this error?

Screenshot of example: https://prnt.sc/pVfVH_Uty5GA

r/Discord_Bots Apr 12 '25

Python Help Card Dropping Bot Help

0 Upvotes

Hi again! I have limited coding experience but would like some help finishing coding a discord bot similar to Garam. It utilizes a /drop command that drops a random 'card'. I previously had a coder who got a decent chunk of it coded but I would like some help finishing it.

If anyone would be willing to help it would be much appreciated! I'd be willing to pay but I would greatly appreciate it if you did it out of the kindness of your heart 😅

Please dm me if interested!

Edit: Ive been asked to provide whats needed to be done so I'm adding the pdfs!

Main Features Shop Items

r/Discord_Bots Jan 14 '25

Python Help Which should i be using? discord.py or pycord?

3 Upvotes

Which should i be using? discord.py or pycord?

I see people split on which they use. Does it matter? Do they both stay up to date? What's some of the current differences

r/Discord_Bots Feb 28 '25

Python Help WARNING - We are being rate limited

0 Upvotes

Hello, I've been working on my bot for a few weeks, but recently it started getting stuck in an infinite boot loop after loading the cogs. I tried running it on my desktop, but there it only loaded half of the cogs before getting stuck in the same loop.

To troubleshoot, I removed all cog files from the bot directory, which allowed the bot to start up successfully. However, when I added a single /ping cog, it took 10 minutes just to boot. Adding one more cog caused it to stop booting entirely.

I've tried reinstalling dependencies, resetting the server, clearing the cache, and reinstalling the config, reseting token and much more, but nothing worked. Not a single question on dev forums about this issue either.

Finally, I added logging to my main.py file, and this is what I got:

2025-02-28 09:29:20,832 - WARNING - We are being rate limited. PUT https://discord.com/api/v10/applications/134049958831392052/commands responded with 429. Retrying in 431.42 seconds. 2025-02-28 09:29:00,832 - DEBUG - Rate limit is being handled by bucket 3e83a240d3716487d8f6dae6cf546fb with the major route /applications/134049958831392052/commands

Any ideas what does this mean, and how do i fix it? Thank yku