Advertisement
irokemr

Texto aleatorio python

Jun 6th, 2021
1,283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. from pypresence import Presence
  2. import time
  3. import random
  4.  
  5. client_id = ' '  # Para crear un client_id ves a: https://discord.com/developers/applications
  6. RPC = Presence(client_id)  
  7. RPC.connect()  
  8.  
  9.  
  10. Mensaje = [
  11.     "FORTNITE",
  12.     "BARÇA",
  13.     "FCB",
  14.     "MESSI"
  15. ]  
  16.  
  17.  
  18. while True:  
  19.     RPC.update(details="txt", state=random.choice(Mensaje))
  20.     time.sleep(0.5) #Tiempo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement