Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import threading, time
- def thread_main ():
- for i in range (10):
- self.bot.send_message (14, str (i))
- time.sleep (2)
- thread = threading.Thread (target = thread_main)
- thread.start ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement