Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades, fixes, sorts and more! #439

Open
wants to merge 283 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
f275a98
pylint: auto fixes
ufoptg Jan 26, 2024
7e6fcfb
Update chatbot.py
ufoptg Jan 26, 2024
86c8a66
pylint: auto fixes
ufoptg Jan 26, 2024
e33217c
Update tools.py
ufoptg Jan 26, 2024
ec71a85
Update _chatactions.py
ufoptg Jan 26, 2024
6662d2c
pylint: auto fixes
ufoptg Jan 26, 2024
3778f41
Update en.yml
ufoptg Jan 26, 2024
faebe3f
Update tools.py
ufoptg Jan 26, 2024
537fe81
Update helper.py
ufoptg Jan 26, 2024
da811f1
Update _chatactions.py
ufoptg Jan 26, 2024
7ecf00c
Update chatbot.py
ufoptg Jan 26, 2024
4514193
Update requirements.txt
ufoptg Jan 26, 2024
c7b7867
Update requirements.txt
ufoptg Feb 1, 2024
9911793
Update tools.py
ufoptg Feb 1, 2024
1d5ebce
Update tools.py
ufoptg Feb 1, 2024
ba73e73
Update _chatactions.py
ufoptg Feb 1, 2024
f30c8f6
pylint: auto fixes
ufoptg Feb 1, 2024
955306f
Update chatbot.py
ufoptg Feb 1, 2024
f537c1b
pylint: auto fixes
ufoptg Feb 1, 2024
f5afd8e
Update chatbot.py
ufoptg Feb 1, 2024
ba5ad82
pylint: auto fixes
ufoptg Feb 1, 2024
5e4abf4
Update pylint.yaml
ufoptg Feb 1, 2024
4ca28af
Update .env.sample
ufoptg Feb 1, 2024
604b0ed
Update version.py
ufoptg Feb 1, 2024
5e9a56b
Update pylint.yaml
ufoptg Feb 1, 2024
4fe7708
Update misc.py
ufoptg Feb 1, 2024
d41f99d
pylint: auto fixes
ufoptg Feb 1, 2024
2acf09f
Update chatbot.py
ufoptg Feb 1, 2024
c06f7ec
pylint: auto fixes
ufoptg Feb 1, 2024
c2c051b
Create chatgpt.py
ufoptg Feb 1, 2024
e39cdfd
Update extra.py
ufoptg Feb 2, 2024
1415330
Update __main__.py
ufoptg Feb 2, 2024
739923b
pylint: auto fixes
ufoptg Feb 2, 2024
2fc4d56
Update __main__.py
ufoptg Feb 2, 2024
53e50ac
pylint: auto fixes
ufoptg Feb 2, 2024
8724b61
Update botchat_db.py
ufoptg Feb 2, 2024
3b48fc9
Update botchat_db.py
ufoptg Feb 2, 2024
00b7dac
Update __main__.py
ufoptg Feb 2, 2024
6ec318f
pylint: auto fixes
ufoptg Feb 2, 2024
a3395ee
Update __main__.py
ufoptg Feb 2, 2024
c4d6b4b
Update helper.py
ufoptg Feb 2, 2024
f67904b
Delete pyUltroid/fns/openaihelper.py
ufoptg Feb 2, 2024
1f0a023
Update tools.py
ufoptg Feb 2, 2024
78d2db2
Update version.py
ufoptg Feb 2, 2024
294f627
Update en.yml
ufoptg Feb 2, 2024
dfe33e8
Update tools.py
ufoptg Feb 2, 2024
dc27363
Update _supporter.py
ufoptg Feb 2, 2024
830c3e2
Create chatgpt.py
ufoptg Feb 2, 2024
b5f19bc
Update chatgpt.py
ufoptg Feb 2, 2024
3803e70
Update requirements.txt
ufoptg Feb 2, 2024
3e2dc9f
Update tools.py
ufoptg Feb 2, 2024
cd0c535
Update tools.py
ufoptg Feb 2, 2024
ad6b1eb
Update helper.py
ufoptg Feb 2, 2024
f375564
Update _supporter.py
ufoptg Feb 2, 2024
b0da875
Update chatgpt.py
ufoptg Feb 2, 2024
c8afbe3
Update chatgpt.py
ufoptg Feb 2, 2024
edafc5a
Update chatgpt.py
ufoptg Feb 2, 2024
3109365
Update chatgpt.py
ufoptg Feb 2, 2024
ca375ce
Update chatgpt.py
ufoptg Feb 2, 2024
7c882f5
Delete plugins/chatgpt.py
ufoptg Feb 2, 2024
72c43fb
Update _supporter.py
ufoptg Feb 8, 2024
7f08e94
Update _supporter.py
ufoptg Feb 8, 2024
3809c15
Update tools.py
ufoptg Feb 8, 2024
409ac83
Update tools.py
ufoptg Feb 8, 2024
094b42a
Update callbackstuffs.py
ufoptg Feb 8, 2024
673bd0e
Update chatgpt.py
ufoptg Feb 8, 2024
7672e7a
Update tools.py
ufoptg Feb 8, 2024
703df21
Update tools.py
ufoptg Feb 8, 2024
088092d
Update tools.py
ufoptg Feb 8, 2024
cb60427
Update helper.py
ufoptg Feb 8, 2024
69c9b62
Update tools.py
ufoptg Feb 8, 2024
6004b62
Update _chatactions.py
ufoptg Feb 8, 2024
2fcb4e1
Update _chatactions.py
ufoptg Feb 8, 2024
12f80e0
Merge branch 'TeamUltroid:main' into patch-2
ufoptg Feb 8, 2024
b897f7f
Update globaltools.py
ufoptg Feb 8, 2024
69c0d85
Merge branch 'TeamUltroid:main' into patch-1
ufoptg Feb 8, 2024
91e861d
Update botchat_db.py
ufoptg Feb 8, 2024
db40b85
Update google_image.py
ufoptg Feb 8, 2024
6682c21
Update custom_markdown.py
ufoptg Feb 8, 2024
9c20158
Update tools.py
ufoptg Feb 8, 2024
9529cd8
Update tools.py
ufoptg Feb 8, 2024
f9e22a4
Update requirements.txt
ufoptg Feb 8, 2024
a2ceb86
Update _supporter.py
ufoptg Feb 8, 2024
e8fe490
Update callbackstuffs.py
ufoptg Feb 8, 2024
b2256bc
Update .env.sample
ufoptg Feb 8, 2024
7688d1b
Merge pull request #2 from ufoptg/patch-1
ufoptg Feb 8, 2024
72d7547
Merge branch 'test' into patch-2
ufoptg Feb 8, 2024
089c119
Merge pull request #3 from ufoptg/patch-2
ufoptg Feb 8, 2024
27a42e1
Update helper.py
ufoptg Feb 8, 2024
dec8f05
Update callbackstuffs.py
ufoptg Feb 8, 2024
356c959
Merge pull request #4 from ufoptg/patch-2
ufoptg Feb 8, 2024
3f9cd99
Update callbackstuffs.py
ufoptg Feb 8, 2024
63710fc
Update helper.py
ufoptg Feb 8, 2024
1158c5f
Update .env.sample
ufoptg Feb 8, 2024
9478dab
auto fixes
ufoptg Feb 8, 2024
26e292f
fix
ufoptg Feb 8, 2024
c8a5aac
auto fixes
ufoptg Feb 8, 2024
2a67440
Merge pull request #5 from ufoptg/patch-2
ufoptg Feb 9, 2024
7dfd5fc
Update chatgpt.py
ufoptg Feb 9, 2024
2bf83fe
Update chatgpt.py
ufoptg Feb 9, 2024
d4e2f39
Update tools.py
ufoptg Feb 9, 2024
03abc05
Update chatgpt.py
ufoptg Feb 9, 2024
a300608
Merge pull request #6 from ufoptg/patch-2
ufoptg Feb 10, 2024
30fcd2b
Merge branch 'test' into patch-1
ufoptg Feb 10, 2024
03cb5d7
CustomMarkdown support for gcasts
ufoptg Feb 12, 2024
89ca174
pylint: auto fixes
ufoptg Feb 12, 2024
4749706
© date correction
ufoptg Feb 12, 2024
7b18e82
Update __main__.py
ufoptg Feb 12, 2024
bdb93b1
pylint: auto fixes
ufoptg Feb 12, 2024
3565d72
Update ssgen.py
ufoptg Feb 12, 2024
010ebe4
Update __init__.py
ufoptg Feb 12, 2024
b1cd18e
Update helper.py
ufoptg Feb 12, 2024
9ed1196
Update callbackstuffs.py
ufoptg Feb 12, 2024
ff2a0f6
PmChatBot - Pm/LogChatbot
ufoptg Feb 12, 2024
446b4ba
GeminiHelper
ufoptg Feb 13, 2024
e53b3b5
Update requirements.txt
ufoptg Feb 13, 2024
011e30c
Update tools.py
ufoptg Feb 13, 2024
f77cafb
Update chatgpt.py
ufoptg Feb 13, 2024
2eb0c46
Update chatgpt.py
ufoptg Feb 13, 2024
b790769
Update tools.py
ufoptg Feb 13, 2024
ab071cd
Added Soundcloud link support
ufoptg Feb 13, 2024
d86191a
Fix setwarns
ufoptg Feb 13, 2024
93b51da
Update __main__.py
ufoptg Feb 13, 2024
ea4eb10
Update _database.py
ufoptg Feb 13, 2024
2841dab
Update funcs.py
ufoptg Feb 13, 2024
b5fa11e
Update .env.sample
ufoptg Feb 13, 2024
4cd1ab9
Added Gemini
ufoptg Feb 13, 2024
8742f22
Update en.yml
ufoptg Feb 13, 2024
29f8d81
Update en.yml
ufoptg Feb 13, 2024
dba4274
Create weather.py
ufoptg Feb 13, 2024
26739fb
Custom MD semi support
ufoptg Feb 13, 2024
77e6972
Update chatgpt.py
ufoptg Feb 13, 2024
3b6f624
Update tools.py
ufoptg Feb 13, 2024
7e05ca2
Translator Fix
ufoptg Feb 13, 2024
e0a8e5f
Webshot fix
ufoptg Feb 13, 2024
f27d932
Update requirements.txt
ufoptg Feb 13, 2024
639da46
translator fix
ufoptg Feb 13, 2024
aafe186
Update helper.py
ufoptg Feb 13, 2024
525f68b
imports
ufoptg Feb 13, 2024
d0adaf9
Telegraph error handle
ufoptg Feb 13, 2024
7186007
Update chatgpt.py
ufoptg Feb 13, 2024
0701487
Update tools.py
ufoptg Feb 13, 2024
98023aa
Update pmbot.py
ufoptg Feb 13, 2024
db2e4a7
Gemini
ufoptg Feb 13, 2024
7d1eb86
fix
ufoptg Feb 13, 2024
b3379f6
Security fix
ufoptg Feb 13, 2024
61c8b54
Update chatgpt.py
ufoptg Feb 13, 2024
11d8523
Update chatgpt.py
ufoptg Feb 13, 2024
c9b063b
gpt string
ufoptg Feb 13, 2024
a7b3d80
strings
ufoptg Feb 13, 2024
bf52b69
Update en.yml
ufoptg Feb 13, 2024
dcde679
Update youtube.py
ufoptg Feb 13, 2024
3e25e28
Update en.yml
ufoptg Feb 13, 2024
57a1cd8
Update writer.py
ufoptg Feb 13, 2024
1c41666
strings
ufoptg Feb 13, 2024
7a9da84
Update words.py
ufoptg Feb 13, 2024
af68a9e
Update words.py
ufoptg Feb 13, 2024
3d52a9e
Update webupload.py
ufoptg Feb 13, 2024
0ae7232
Update writer.py
ufoptg Feb 13, 2024
8f1c41e
strings
ufoptg Feb 13, 2024
c92cc31
Update videotools.py
ufoptg Feb 13, 2024
a974442
Update vctools.py
ufoptg Feb 13, 2024
683c72e
Update variables.py
ufoptg Feb 13, 2024
55b80c3
Update en.yml
ufoptg Feb 13, 2024
d90b6ad
Update utilities.py
ufoptg Feb 13, 2024
2cbfcd8
Update usage.py
ufoptg Feb 13, 2024
20fe36e
Update unsplash.py
ufoptg Feb 13, 2024
60d24c6
Update tools.py
ufoptg Feb 13, 2024
309e8fe
Update tag.py
ufoptg Feb 13, 2024
c4bfaff
Update sudo.py
ufoptg Feb 13, 2024
94efca9
Update stickertools.py
ufoptg Feb 13, 2024
2f18fdf
Update specialtools.py
ufoptg Feb 13, 2024
f12a41b
Update chatbot.py
ufoptg Feb 13, 2024
f700f1e
Chatbot Finalization
ufoptg Feb 13, 2024
c78fc2c
strings
ufoptg Feb 13, 2024
ff04cb7
Update search.py
ufoptg Feb 13, 2024
d911942
Update schedulemsg.py
ufoptg Feb 13, 2024
dd5669d
Update resize.py
ufoptg Feb 13, 2024
2ffbc1f
Update qrcode.py
ufoptg Feb 13, 2024
dbfcda9
Update profile.py
ufoptg Feb 13, 2024
b25eae8
strings
ufoptg Feb 13, 2024
5ef9936
Update __init__.py
ufoptg Feb 14, 2024
2afe85e
Update __init__.py
ufoptg Feb 14, 2024
078c129
Update __init__.py
ufoptg Feb 14, 2024
0b14643
Update __init__.py
ufoptg Feb 14, 2024
685d155
Update profanityfilter.py
ufoptg Feb 19, 2024
b9e0cb0
Update polls.py
ufoptg Feb 19, 2024
6a3b074
Update pmpermit.py
ufoptg Feb 19, 2024
1ecca40
Update en.yml
ufoptg Feb 19, 2024
271734a
Update pdftools.py
ufoptg Feb 19, 2024
c5b06d9
Update other.py
ufoptg Feb 19, 2024
1a4ed9c
Update notes.py
ufoptg Feb 19, 2024
ec17405
Update en.yml
ufoptg Feb 19, 2024
5dc8a15
Update nsfwfilter.py
ufoptg Feb 19, 2024
0dd3f19
Update en.yml
ufoptg Feb 19, 2024
f0a275a
Update nightmode.py
ufoptg Feb 19, 2024
fbc387e
Update mute.py
ufoptg Feb 19, 2024
3acb574
Update misc.py
ufoptg Feb 19, 2024
67f3758
Update mediatools.py
ufoptg Feb 19, 2024
847fede
Update logo.py
ufoptg Feb 19, 2024
4f5d0da
Update locks.py
ufoptg Feb 19, 2024
4b89b78
Update imagetools.py
ufoptg Feb 20, 2024
16bb7aa
Update greetings.py
ufoptg Feb 20, 2024
54d8adb
Update globaltools.py
ufoptg Feb 20, 2024
d9b1caf
Update en.yml
ufoptg Feb 20, 2024
93b027c
Update glitch.py
ufoptg Feb 20, 2024
4653280
Update giftools.py
ufoptg Feb 20, 2024
81b6681
Update gdrive.py
ufoptg Feb 20, 2024
5da1539
Update forcesubscribe.py
ufoptg Feb 20, 2024
d6a22e3
Update extra.py
ufoptg Feb 20, 2024
848273d
help strings
ufoptg Feb 20, 2024
7629c01
Google Search Fix
ufoptg Feb 20, 2024
562ced7
Update requirements.txt
ufoptg Feb 22, 2024
44bce4b
Update chatgpt.py
ufoptg Feb 24, 2024
d6ae351
fix
invalid-email-address Feb 24, 2024
b4dac7c
Merge branch 'patch-1' of https://github.com/ufoptg/Ultroid into patch-1
ufoptg Feb 24, 2024
9f9253a
Update tools.py
ufoptg Feb 24, 2024
ffc43c6
Merge branch 'patch-1' of https://github.com/ufoptg/Ultroid into patch-1
ufoptg Feb 24, 2024
9aa3746
Update tools.py
ufoptg Feb 24, 2024
383bb2b
Update chatbot.py
ufoptg Feb 24, 2024
2260af9
Update requirements.txt
ufoptg Mar 3, 2024
f1c089d
Update _chatactions.py
ufoptg Mar 3, 2024
810fbf4
Update chatgpt.py
ufoptg Mar 4, 2024
63113ee
Update requirements.txt
ufoptg Mar 4, 2024
6ad4aeb
Update chatbot.py
ufoptg Mar 4, 2024
78ba081
pylint: auto fixes
ufoptg Mar 4, 2024
accebab
Delete LOCKDENV
ufoptg Mar 4, 2024
ce9209d
Update _chatactions.py
ufoptg Mar 4, 2024
1279d87
Update requirements.txt
ufoptg Mar 4, 2024
550e54b
Update _chatactions.py
ufoptg Mar 4, 2024
ea3e24f
Update __main__.py
ufoptg Mar 4, 2024
ee81bdb
Update __main__.py
ufoptg Mar 4, 2024
6a69fd7
Update misc.py
ufoptg Mar 4, 2024
7687fe5
Update tools.py
ufoptg Mar 4, 2024
8b10cb4
Update tools.py
ufoptg Mar 4, 2024
e71e551
shorten and expand url
ufoptg Mar 4, 2024
d2a156e
Update __init__.py
ufoptg Mar 11, 2024
20f0876
Update __init__.py
ufoptg Mar 11, 2024
93a26e3
Update logo.py
ufoptg May 23, 2024
3241ede
Update BaseClient.py
ufoptg May 23, 2024
3ce02e0
Update tools.py
ufoptg May 23, 2024
f345eac
Update requirements.txt
ufoptg May 23, 2024
872499d
Update optional-requirements.txt
ufoptg May 23, 2024
891977f
Update version.py
ufoptg May 23, 2024
018caa5
Update loader.py
ufoptg May 23, 2024
d0508d8
Update codeql-analysis.yml
ufoptg May 23, 2024
b48b7cc
Update __init__.py
ufoptg May 23, 2024
4485dd6
Merge branch 'main' of https://github.com/TeamUltroid/Ultroid into Te…
ufoptg May 23, 2024
e163fb0
Merge branch 'TeamUltroid-main' into patch-1
ufoptg May 23, 2024
3eb30ef
Merge branch 'main' into patch-1
ufoptg May 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Don't use quotes( " and ' )
# Don't use quotes( " or ' )

API_ID=
API_HASH=
SESSION=
REDIS_URI=
REDIS_PASSWORD=
LOG_CHANNEL=
BOT_TOKEN=

# [OPTIONAL]

LOG_CHANNEL=
BOT_TOKEN=
MONGO_URI=
PMLOGGROUP=
GOOGLEAPI=
21 changes: 13 additions & 8 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: PyLint
name: PyLint Ultroid
on:
push:
branches: [ dev ]
branches:
- patch-1
- patch-2
paths:
- "**.py"
jobs:
Expand All @@ -12,22 +14,26 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
cache: "pip"
- name: Install Python lint libraries
run: pip install autopep8 autoflake isort black
- name: Check for showstoppers
run: |
autopep8 --verbose --in-place --recursive --aggressive --aggressive pyUltroid/*.py
autopep8 --verbose --in-place --recursive --aggressive --aggressive assistant/*.py
autopep8 --verbose --in-place --recursive --aggressive --aggressive assistant/manager/*.py
autopep8 --verbose --in-place --recursive --aggressive --aggressive plugins/*.py
- name: Remove unused imports and variables
run: |
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports pyUltroid/*.py
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports assistant/*.py
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports assistant/manager/*.py
autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports plugins/*.py
- name: lint with isort and black
run: |
isort --profile black pyUltroid/*.py
black --fast pyUltroid/*.py
isort assistant/*.py
isort assistant/manager/*.py
black --fast assistant/*.py
Expand All @@ -37,9 +43,8 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'pylint: auto fixes'
commit_options: '--no-verify'
commit_options: '--verify'
repository: .
commit_user_name: buddhhu
commit_user_email: [email protected]
commit_author: Amit Sharma <[email protected]>

commit_user_name: ufoptg
commit_user_email: [email protected]
commit_author: ufoptg <[email protected]>
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.

Expand Down
2 changes: 1 addition & 1 deletion assistant/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
43 changes: 35 additions & 8 deletions assistant/callbackstuffs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down Expand Up @@ -174,14 +174,21 @@ def text_to_url(event):
"apiset": {
"text": get_string("ast_1"),
"buttons": [
[Button.inline("Remove.bg API", data="abs_rmbg")],
[Button.inline("DEEP API", data="abs_dapi")],
[Button.inline("OCR API", data="abs_oapi")],
[
Button.inline("RMBG API", data="abs_rmbg"),
Button.inline("DEEP API", data="abs_dapi"),
Button.inline("OCR API", data="abs_oapi"),
],
[
Button.inline("OᴘᴇɴAI API", data="abs_openapi"),
Button.inline("🌀ʊʄ⊕ք🌀", data="abs_uapi"),
Button.inline("Google API", data="abs_gapi"),
],
[Button.inline("OpenWeather API", data="abs_openwapi")],
[Button.inline("« Back", data="setter")],
],
},
}

_convo = {
"rmbg": {
"var": "RMBG_API",
Expand All @@ -192,13 +199,31 @@ def text_to_url(event):
"dapi": {
"var": "DEEP_AI",
"name": "Deep AI Api Key",
"text": "Get Your Deep Api from deepai.org and send here.",
"text": "Get Your Deep Api from deepai.org and send here.\n\n /cancel to cancel",
"back": "cbs_apiset",
},
"oapi": {
"var": "OCR_API",
"name": "Ocr Api Key",
"text": "Get Your OCR api from ocr.space and send that Here.",
"text": "Get Your OCR api from ocr.space and send that Here.\n\n /cancel to cancel",
"back": "cbs_apiset",
},
"openapi": {
"var": "OPENAI_API",
"name": "OPENAI API Key",
"text": "Visit openai.com for an OPENAI Api key!\n\n /cancel to cancel",
"back": "cbs_apiset",
},
"uapi": {
"var": "UFOPAPI",
"name": "UFoP API Key",
"text": "Contact 🌀ʊʄ⊕ք🌀 or Visit @PerthUnity_Bot/@UFoPInfo Support Group\n\n /cancel to cancel",
"back": "cbs_apiset",
},
"gapi": {
"var": "GOOGLEAPI",
"name": "Google Api Key",
"text": "Get Your GOOGLE API from https://makersuite.google.com/app/apikey \n\n /cancel to cancel",
"back": "cbs_apiset",
},
"pmlgg": {
Expand Down Expand Up @@ -556,7 +581,9 @@ async def emoji(event):
var = "EMOJI_IN_HELP"
name = f"Emoji in `{HNDLR}help` menu"
async with event.client.conversation(pru) as conv:
await conv.send_message("Send emoji u want to set 🙃.\n\nUse /cancel to cancel.")
await conv.send_message(
"Send emoji u want to set 🙃.\n\nUse /cancel to cancel."
)
response = conv.wait_event(events.NewMessage(chats=pru))
response = await response
themssg = response.message.message
Expand Down
2 changes: 1 addition & 1 deletion assistant/games.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/initial.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/inlinestuff.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/localization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/_help.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/_on_adds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/admins.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/afk.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/misc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
2 changes: 1 addition & 1 deletion assistant/manager/stickermanager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ultroid - UserBot
# Copyright (C) 2021-2023 TeamUltroid
# Copyright (C) 2021-2024 TeamUltroid
#
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
# PLease read the GNU Affero General Public License in
Expand Down
Loading
Loading