Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import discord
- import asyncio
- # CONFIG HERE
- updates = ["lol wuuut", "dafuq: THE GAME", "this game makes no sense"]
- user = "example@example.com" # Email here
- password = "thisisaterriblepassword" # Password here
- client = discord.Client()
- @client.event
- async def on_ready():
- while not client.is_closed:
- for item in updates:
- await client.change_status(game=discord.Game(name=item))
- await asyncio.sleep(20)
- # Credits to sexualrhinoceros for that code
- # SMALL NOTE: You won't be able to see your own status, due to how the client displays the status. Others can, though.
- client.run(user, password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement