-
Notifications
You must be signed in to change notification settings - Fork 0
/
richPresence.py
101 lines (95 loc) · 2.66 KB
/
richPresence.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
from pypresence import Presence
import time
import random
client_id = "747156250612989963" # please don't steal client id <3
RPC = Presence(client_id) # Initialize the Presence class
RPC.connect() # Start the handshake loop
myDetails = [
[
"Worshipping Annaha",
"worshiping",
[
"Praying",
"Striking evil",
"Killing infidels",
"Writing prayers",
"Making the godess bleed",
"Being a fanatic",
"Eating souls",
"Winking at the status",
],
"Yu Mo Gui Gwai Fai Di Zao",
],
[
"Running from succubi",
"running",
[
"Dashing away from brothel",
"Rejecting advances",
"Not playing chess",
"Staying away from siblings",
"Not thinking about cousins ",
"Looking back",
"No tail play",
"Staying away from hell",
],
"Beep, Beep....",
],
[
"Smiting drows",
"smite",
[
"Sharpening tree logs",
"Not shitting storms",
"Thinking of hurtfull names",
"Staying away from siblings",
"Rolling D100",
"Making pact with the devil",
"Praying not to die",
"Rolling HT to stay alive",
],
"Bonk",
],
[
"Being an annoying bard",
"tuning",
[
"Singing",
],
"Toss a coin to your witcher...",
],
[
"Fudging dice",
"dice",
[
"A (6,6,6) for you",
"A (100) for you",
"Thinking of hurtfull names",
"Pushing dice a little bit",
"Glaring real hard",
"a (1,1,1) for the succi",
"a (1,2,1) for hitting the bucket",
"Ye DEAD",
],
"Lemme roll that in secret",
],
] # The quotes to choose from
def richPresence():
while True: # The presence will stay on as long as the program is running
myDetail = random.choice(myDetails)
for i in range(0, 5):
mystate = random.choice(myDetail[2])
RPC.update(
details=myDetail[0],
state=mystate,
large_image=myDetail[1],
large_text=myDetail[3],
buttons=[
{
"label": "Customize rich presence here",
"url": "https://discord.gg/mBHRa4xG",
},
],
) # Set the presence, picking a random quote
time.sleep(5) # Wait a wee bit
richPresence()