Skip to content

Commit 214c567

Browse files
Merge pull request #15 from Arvinth-Krishna/new-changes
Reco - v8.0
2 parents b7a58cf + 98889bc commit 214c567

File tree

4 files changed

+836
-15
lines changed

4 files changed

+836
-15
lines changed

dummy_env.txt

+23-8
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,42 @@
22
DISCORD_BOT_TOKEN=
33

44

5-
# Reco's Command Prefix.
5+
# Reco's Command Prefix.
66
DISCORD_BOT_PREFIX=!
77

8-
# Reco Online Notifier:
8+
# 💬 Reco Online Notifier:
99
RECO_ONLINE_NOTIFIER=True
1010

11-
# Notifies if any New Reco release.
11+
# 💹 Notifies if any New Reco release.
1212
UPDATE_NOTIFIER=True
1313
UPDATE_NOTIFIER_INTERVAL=8
1414

15-
# Restricters
15+
# 🆘 Alert Command
16+
SHOW_DND_BOT_STATUS=True
17+
BEEP_MINUMUM_VOLUME=20
18+
19+
# 🌼 Rich Presence (RPC)
20+
RPC_BOOL=True
21+
SHOW_PC_STATUS_IN_CPU_USAGE=True
22+
23+
# 🟢 Bot Status
24+
DYNAMIC_BOT_STATUS=True
25+
SHOW_IDLE_STATUS_IN_MINS=1
26+
27+
# ❌ Restricters
1628
ALLOW_ALL_USERS=True
1729
ALLOW_ALL_WEBHOOKS=True
1830

1931

20-
# You can change the Reco Embeds Default colour Here: (FYI | #8f047c => 0x8f047c | just replace # with 0x)
32+
# 🎨 You can change the Reco Embeds Default colour Here: (FYI | #8f047c => 0x8f047c | just replace # with 0x)
2133
DEFAULT_EMBEDS_COLOR=0x8f047c
2234
SECONDARY_EMBEDS_COLOR=0xF19306
2335

24-
# File Upload limit. (Normal - 8mb | Nitro Classic - 50mb | Nitro - 100mb | level 2 - 50mb | level 3 - 100mb)
36+
# 📂 File Upload limit. (Normal - 8mb | Nitro Classic - 50mb | Nitro - 100mb | level 2 - 50mb | level 3 - 100mb)
2537
FILE_UPLOAD_SIZE=8.3
2638

39+
# ---------------------------------------------
40+
2741
# Don't edit anything given below.
2842
DISCORD_LOGS_ENABLED=True
2943
DISK_LOGS_ENABLED=True
@@ -35,7 +49,7 @@ PYTHON_ALIAS=python
3549

3650
# ---------------------------------------------
3751

38-
# Printer DEFAULT Configs:
52+
# 📠 Printer DEFAULT Configs:
3953

4054
# !printer showprinters
4155
CURRENT_PRINTER_NUMBER=
@@ -48,4 +62,5 @@ COLOR_MODE=c
4862
# p -> Potrait and l -> Landscape
4963
ORIENTATION=p
5064

51-
# ---------------------------------------------
65+
# ---------------------------------------------
66+

lib/updatePresence_helper.py

-3
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ async def rp_cpu_usage(client,rpc_obj,bot_image_url,deviceName):
123123
async def rp_Runner(client,rp_order,rpc_obj,bot_image_url,deviceName):
124124
while True:
125125

126-
print(get_idle_duration()," / ",(float(configs.SHOW_IDLE_STATUS_IN_MINS)*60))
127-
128-
129126
while True:
130127
try:
131128
requests.get("http://www.google.com", timeout=5)

modules/reco_module.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def reco(ctx,*options,client,discordVersion):
4444
current_version_response_json=current_version_response.json()
4545
prefix=configs.BOT_PREFIX
4646

47-
readme = open('readme.md', 'r', encoding="utf8")
47+
readme = open('r.md', 'r', encoding="utf8")
4848
readme = readme.read()
4949
readme = readme.split('## ')
5050
readme=readme[5]
@@ -55,11 +55,11 @@ async def reco(ctx,*options,client,discordVersion):
5555
mtxt=mtxt+"‣ "+x
5656

5757
mtxt="**🔮 Commands List ("+str(len(features))+"):**\n\n"+mtxt
58-
for x in features[:12]:
58+
for x in features[:13]:
5959
mtxt1=mtxt1+"‣ "+x
60-
for x in features[12:24]:
60+
for x in features[13:26]:
6161
mtxt2=mtxt2+"‣ "+x
62-
for x in features[24:]:
62+
for x in features[26:]:
6363
mtxt3=mtxt3+"‣ "+x
6464

6565

0 commit comments

Comments
 (0)