-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from brostosjoined/patch-1
Added GIFS
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |