-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple bot functions in one script #66
Comments
Sure it is, but it depends on what you want to do. If you have two bots with different tasks then I'd choose one connection per bot. You can write a script for each one or you simply use threads, but that's up to you. |
What would be the correct code for having two functions running in one bot? |
@AdmagTwoXray You can just execute 2 times the login and save it in an other variable like: Second one |
I'm on v1 so used this code |
What you could do is:
This starts a new nonblocking thread. |
Is it possible to have multiple bot functions within one python script if there are multiple server admin logins?
The text was updated successfully, but these errors were encountered: