• Welcome to RCTalk! 🚀

    Join the #1 RC community where hobbyists connect, share, and get expert advice on RC cars, trucks, boats, drones, and more!

    • Friendly & passionate RC enthusiasts
    • RC tips & troubleshooting
    • Buy, sell & trade RC gear
    • Share builds & upgrades

Anybody Here Know Coding, Scripting, Software Development?

This site may earn a commission from merchant affiliate
links, including eBay, Amazon, and others.

WickedFog

Starter of too many projects. Oh look... SQUIRREL!
Community Leader
Supporter
Excellence Award
Hospitality Award
Build Thread Contributor RC Showcase: 9
Messages
28,226
Reaction score
53,131
Points
2,740
Location
Terre Haute, IN
RC Driving Style
  1. Bashing
  2. Crawling
  3. Scale Builder
I have an idea for an application but I could use a little help getting some Discord bots setup. If you're a computer geek and understand a little python, LUA script, etc, send me a PM
 
I do but at a MUCH lower level, like 1's & 0's. Hex on a good day.

The syntax and structure of the code isn't the problem, it's understanding the API and the function calls. Some of that stuff can be pretty detailed.

If you want to try it yourself, I would start with a basic tutorial, see how that goes. Get a feel for the environment and what you can do. There are lots of resources online.

You need to understand Python.W3schools has good tutorials.
https://www.w3schools.com/python/

Gemini helped me find a few starting points for Discord Specifically. It looks like this is setup to run on Linux.

The Python library you need is https://discordpy.readthedocs.io/en/stable/

1. The "Gold Standard" (Written)​

Real Python: How to Make a Discord Bot in PythonReal Python is famous for being incredibly thorough. This guide is perfect if you want to understand the why behind the code, not just copy-paste it.
  • Best for: Understanding async/await, environment variables (.env), and event handling.
  • Key Topics: Bot connections, responding to messages, and exception handling.

2. The Official "Source of Truth"​

discord.py Documentation (Getting Started)It might look intimidating, but the "Quickstart" section is the most up-to-date way to learn. It ensures you are using the correct syntax for the current version of the library.
  • Best for: Looking up specific functions once you have the basics down.
  • Pro Tip: Check the Cogs section early on; it teaches you how to split your bot into multiple files so your code doesn't become a mess.

3. The Modern Project Guide​

Discord.py Masterclass (by FallenDeity)This is a community-driven "masterclass" that covers modern features like Slash Commands, Views (buttons/select menus), and Embeds.
  • Best for: Learning the "new" way Discord works (Slash Commands) rather than the old "Prefix" commands (like !ping).
 
I do but at a MUCH lower level, like 1's & 0's. Hex on a good day.

The syntax and structure of the code isn't the problem, it's understanding the API and the function calls. Some of that stuff can be pretty detailed.

If you want to try it yourself, I would start with a basic tutorial, see how that goes. Get a feel for the environment and what you can do. There are lots of resources online.

You need to understand Python.W3schools has good tutorials.
https://www.w3schools.com/python/

Gemini helped me find a few starting points for Discord Specifically. It looks like this is setup to run on Linux.

The Python library you need is https://discordpy.readthedocs.io/en/stable/

1. The "Gold Standard" (Written)​

Real Python: How to Make a Discord Bot in PythonReal Python is famous for being incredibly thorough. This guide is perfect if you want to understand the why behind the code, not just copy-paste it.
  • Best for: Understanding async/await, environment variables (.env), and event handling.
  • Key Topics: Bot connections, responding to messages, and exception handling.

2. The Official "Source of Truth"​

discord.py Documentation (Getting Started)It might look intimidating, but the "Quickstart" section is the most up-to-date way to learn. It ensures you are using the correct syntax for the current version of the library.
  • Best for: Looking up specific functions once you have the basics down.
  • Pro Tip: Check the Cogs section early on; it teaches you how to split your bot into multiple files so your code doesn't become a mess.

3. The Modern Project Guide​

Discord.py Masterclass (by FallenDeity)This is a community-driven "masterclass" that covers modern features like Slash Commands, Views (buttons/select menus), and Embeds.
  • Best for: Learning the "new" way Discord works (Slash Commands) rather than the old "Prefix" commands (like !ping).
I have tried a few times to learn this stuff, but I don't get it. It's like the whole right brain left brain stuff. Hard to describe. I managed to get two bots in discord so far. Grok and Gemini API keys attached. The plan is to get a few AI bots in discord then have them work together to help write an addon for EdgeTX companion to help people create models in the Radiomaster MT12.

I want to be able to tell the addon what type of RC I'm setting up, and what features to add to it. Like a crawler for example. Start with a basic crawler setup, and pick from a library things like winch, dig, 4ws, light setups, etc. Then the app generates a model file you simply import into the radio.

If it works, it might even be able to be added into EdgeTX companion by the dev team I think. It's all open source, so the community could then take it and run with it. I can imagine it would be a real game changer if it got some traction.

Thanks for the help. I'll go check that stuff out.
 
I have tried a few times to learn this stuff, but I don't get it. It's like the whole right brain left brain stuff. Hard to describe. I managed to get two bots in discord so far. Grok and Gemini API keys attached. The plan is to get a few AI bots in discord then have them work together to help write an addon for EdgeTX companion to help people create models in the Radiomaster MT12.

I want to be able to tell the addon what type of RC I'm setting up, and what features to add to it. Like a crawler for example. Start with a basic crawler setup, and pick from a library things like winch, dig, 4ws, light setups, etc. Then the app generates a model file you simply import into the radio.

If it works, it might even be able to be added into EdgeTX companion by the dev team I think. It's all open source, so the community could then take it and run with it. I can imagine it would be a real game changer if it got some traction.

Thanks for the help. I'll go check that stuff out.


You're 1/2 way there. Seriously, that's a great start.

The hard part is having the right setup for each RC type. But that's were the community can help, but adding their settings.

Great idea!
 
Back
Top