Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pypresence import Presence
- from time import time
- RPC = Presence("")
- btns = [
- {
- "label": "YouTube",
- "url": "https://www.youtube.com/channel/UCeiC2G8vcz6tBmvVo8ydMgQ"
- },
- {
- "label": "VK",
- "url": "https://vk.com/ansqqq"
- }
- ]
- RPC.connect()
- RPC.update(
- state="Сладкий персик!",
- details="Розовый персик!",
- start=time(),
- buttons=btns,
- large_image="peach",
- small_image="heart",
- large_text="Ты мой персик :3",
- small_text="Люблю тебя!"
- )
- input() # Чтобы программа резко не закрывалась.
Add Comment
Please, Sign In to add comment