Skip to content

Commit

Permalink
Merge pull request #219 from brostosjoined/patch-1
Browse files Browse the repository at this point in the history
Added GIFS
  • Loading branch information
TheSpookyCat committed May 25, 2023
2 parents 1022b07 + cbc04f6 commit 0ddf2c0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/rich-presence-gifs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

from pypresence import Presence
import time

"""
Create an application and get the application id here
https://discord.com/developers/applications.
I used the giphy website and tenor
"""

client_id = "9786765454547767" # Enter your Application ID here.
RPC = Presence(client_id=client_id)
RPC.connect()


RPC.update(state="Custom gifs",details="Using pypresence",large_image=("https://media.tenor.com/9c83g4VPctQAAAAi/shaking-eyes-eyes-shaking.gif"), large_text="Watching!",
small_image=("https://media.giphy.com/media/4UjV5LeD66EPruSG18/giphy.gif"), small_text="Spinning")
while True:
time.sleep(1)

0 comments on commit 0ddf2c0

Please sign in to comment.