xKiian / Guilded-AIO

GNU General Public License v3.0
15 stars 2 forks source link

improve main.py #1

Closed phishontop closed 2 years ago

phishontop commented 2 years ago

you can improve the main.py by putting the code it does after and if or elif statement in the function it runs then put all the funcs into a list for example

funcs = [func1, func2, func3] then you can get the func you want to run then run it this is much simpler then using if and elif statements and a good habit to start