0

Discord bot possibility?

I I’ve just started learning python some weeks ago. Im in need of a discord bot that can help me tabulate member stats and subsequently show me what members can, on paper, beat what enemies. Need to be able to display what characters my team has/doesn’t have. And then compare variables for speed and also speed buffs that are set by certain characters.

19th Jul 2022, 6:00 AM
Cody Shaw
Cody Shaw - avatar
6 Respostas
+ 2
Ah, another one: if possible, make the whole thing work with a small subset of functionalities, then add more with time. See the thing alive, even incomplete, is definitely motivating!
19th Jul 2022, 1:56 PM
Emerson Prado
Emerson Prado - avatar
+ 3
Cody Shaw My advices: 1. First of all, go further in learning the chosen language. When you just started, there's a huge chance you'll struggle on several issues. 2. Also before you start coding, write the logic. List the functionalities, their relationships, the data structures, etc. 3. Divide the whole thing in smaller classes and functions, until you can describe each one with very few "and"s, if any. 4. Try to write code and solve problems before you reach other people's code. This is key to learn programming. 5. Ask for help in specific issues you have a hard time on. Specific questions, with evidence of your own effort, attract good answers.
19th Jul 2022, 1:53 PM
Emerson Prado
Emerson Prado - avatar
0
Interesting. How do you intend to do it?
19th Jul 2022, 11:22 AM
Emerson Prado
Emerson Prado - avatar
0
Ive found a couple table generator bot codes. Im thinking ill modify that and use booleans and flow control. Unsure how im going to get it to assign each member only once but i suppose i may still be yet to learn that function. I figure if i build a primary compare function for a single key stat ill be able to grow its comparitive ability alongside my own skill.
19th Jul 2022, 12:52 PM
Cody Shaw
Cody Shaw - avatar
0
Set an elif string in intervals to have it print the closest better member in that single stat is how im thinking it will work. Once i figure out how to make it set each member once it should fall into place from there
19th Jul 2022, 12:54 PM
Cody Shaw
Cody Shaw - avatar
0
If the one at a time thing isnt possible i may just do a two collumn table featuring each members name and the list of enemies they can outspeed. The input variables being my players name/speed versus enemy player name/speed
19th Jul 2022, 12:58 PM
Cody Shaw
Cody Shaw - avatar