Advertisement
HangMan23

Untitled

Mar 28th, 2022
641
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import threading, time
  2.  
  3. def thread_main ():
  4.     for i in range (10):
  5.         self.bot.send_message (14, str (i))
  6.         time.sleep (2)
  7.  
  8. thread = threading.Thread (target = thread_main)
  9. thread.start ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement