Skip to content

Commit 936ede2

Browse files
authored
Bugs fixes version 2.10.1
1 parent 8a0e3b9 commit 936ede2

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ MANIFEST
3535
pip-log.txt
3636
pip-delete-this-directory.txt
3737

38+
3839
# Unit test / coverage reports
3940
htmlcov/
4041
.tox/
@@ -89,6 +90,7 @@ venv/
8990
ENV/
9091
env.bak/
9192
venv.bak/
93+
config.py
9294

9395
# Spyder project settings
9496
.spyderproject

userbot/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from .Config import Config
1414

1515
StartTime = time.time()
16-
catversion = "2.10.0"
16+
catversion = "2.10.1"
1717

1818
if Config.STRING_SESSION:
1919
session_name = str(Config.STRING_SESSION)

userbot/plugins/gdrive.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from telethon import events
2626

2727
from . import (
28+
BOTLOG,
2829
BOTLOG_CHATID,
2930
G_DRIVE_CLIENT_ID,
3031
G_DRIVE_CLIENT_SECRET,

userbot/plugins/lydia.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ async def on_new_message(event):
143143
\n\n • **Syntax : **`.enai reply`\
144144
\n • **Function : **your bot will auto reply to the tagged user until you stop it by `.remcf`\
145145
\n\n • **Syntax : **`.reai reply`\
146-
\n • **Function : **disables the lydia(auto reply )\
146+
\n • **Function : **disables the lydia( auto reply )\
147147
\n\n • **Syntax : **`.liai`\
148-
\n • **Function : **to list the users to whom you enabled ai(lydia)\
148+
\n • **Function : **to list the users to whom you enabled ai( lydia )\
149149
\n\n • **NOTE : **for functioning this plugin you need to set the heroku var\
150150
\n the key is `LYDIA_API_KEY` and get var from `https://coffeehouse.intellivoid.net/`\
151151
"

userbot/plugins/sysdetails.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717

1818
@bot.on(admin_cmd(outgoing=True, pattern=r"spc$"))
19+
@bot.on(sudo_cmd(allow_sudo=True, pattern=r"spc$"))
1920
async def psu(event):
2021
uname = platform.uname()
2122
softw = "**System Information**\n"

0 commit comments

Comments
 (0)