#π i want to make discord bot that calculate itself
27 messages Β· Page 1 of 1 (latest)
@peak knoll
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
So first off, before you can make any discord bot, you need to learn Python. Check out these beginner resources
!learn
Here are the top free resources we recommend for people who are new to programming:
- Automate the Boring Stuff β an online book (also available to purchase as a physical book)
- Harvardβs CS50P course β video lectures (slides and notes provided) with exercises
- Python Programming MOOC 2026 course β text-based lessons with exercises
- Corey Schafer's YouTube playlist
For a full, curated list of educational resources we recommend, please see our resources page!
Making a discord bot is an advanced topic and you need to learn to walk before you can run. Choose any one of those resources and work your way through it.
Along the way, feel free to create help threads (like you just did) to get help with any concepts which you don't understand.
Only after you master the fundamentals can you move on to creating discord bots, which require you to understand advanced topics like asynchronous programming.
how long have you been developing so far?
i just start to learned this fast few days and icnt understand at all
You need to start from the basics
Not jump in advanced concepts
Yep
Learn until Oop then I would say your ready to build a discord bot
And decorators as well for functions
Libraries etc
Sorry, what do you mean by "calculate itself"
hey bro , building a discord bot is actually a great idea since you want a calculator, you're basically just going to combine a simple discord bot connection with basic python math.
here is a quick step-by-step roadmap to get you started from absolute zero:
- getting the bot's "ID card": first, search for the Discord Developer Portal on google. you create a new "application" there and add a bot to it. it will give you a secret "Token" (think of this like the bot's login password. never share it!).
- install the tools: you need a library that lets your python code talk to discord servers. open your terminal/command prompt and type: pip install discord.py
- the starter code: you'll write a short python script that uses that discord.py library and your secret Token just to bring the bot online.
- the calculator logic: once it's online, you just write a command (like !add 5 10). your python code grabs those two numbers, does the math, and sends the answer back as a message.
First step would be to actually learn python, dont you think?
Yes π
Just one step remaining
How do you have the time to write this stuff
I made an ai in python for this stuff lol
So did I but I wouldn't write that much
Why?
Is it not better to actually make people learn properly...
Like in this instance
None of your steps mention - learn python
And without learning python, it will be very hard to do or understand anything
Hmm
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.