allinoneallinone00
7bae8fdac6
Done ig
2024-05-02 00:07:20 +00:00
allinoneallinone00
5513ad2045
Fix: Possible Popen shell injection
2024-05-01 22:58:46 +00:00
allinoneallinone00
107530923b
HotLints
2024-05-01 22:36:20 +00:00
allinoneallinone00
165f7d222b
Use of f-strings
2024-05-01 22:26:50 +00:00
deepsource-autofix[bot]
034f05af65
refactor: merge collapsible with statements
...
Nested `with` statements can be merged into a single compound `with` statement.
This issue is raised only when there are no other statements between the nested `with` statements.
Merging collapsible `with` statements can decrease cognitive complexity, improving code readability.
2024-05-02 03:30:04 +05:30
Abhi
89d7a61eb3
Update admintool.py
2024-05-02 03:17:28 +05:30
deepsource-autofix[bot]
1fb047da88
refactor: merge collapsible if statements
...
Nested `if` statements can be collapsed into a single `if` statement by separating their condition using `and` operator.
Merging collapsible `if` statements increases the code's readability.
2024-05-02 03:17:28 +05:30
Abhi
fbf63db8c2
Update updater.py
2024-05-02 02:49:27 +05:30
Abhi
88ce49b6d3
Update updater.py
2024-05-02 02:49:27 +05:30
Abhi
ab87334ae5
Update open.py
2024-05-02 02:49:27 +05:30
deepsource-autofix[bot]
2600b8098f
refactor: set check flag to True
...
`subprocess.run` uses a default of `check=False`, which means that a nonzero exit code will be
ignored by default, instead of raising an exception.
You can ignore this issue if this behaviour is intended.
2024-05-02 02:49:27 +05:30
allinoneallinone00
198de9063e
Fix: Re-definition found for builtin function open
2024-05-01 20:13:33 +00:00
allinoneallinone00
c4c7211f6e
Remeove: Unused Variable
2024-05-01 19:49:59 +00:00
Abhi
5eb747a164
Update antipm.py
2024-05-02 00:20:02 +05:30
Abhi
fdaf3d9b25
Update python.py
2024-05-02 00:18:07 +05:30
Abhi
e1b4b5c58f
Update example.py
2024-05-02 00:04:59 +05:30
Abhi
4600773343
Update aiutils.py
2024-05-01 23:51:58 +05:30
Abhi
74e6d7029a
Update aiutils.py
2024-05-01 23:51:58 +05:30
Abhi
0e96b9261c
Update lexica.py
2024-05-01 23:51:58 +05:30
deepsource-autofix[bot]
36e3517aef
refactor: remove length check in favour of truthiness of the object
...
Using the `len` function to check if a sequence is empty is not idiomatic and can be less performant than checking the truthiness of the object. `len` doesn't know the context in which it is called, so if computing the length means traversing the entire sequence, it must; it doesn't know that the result is just being compared to 0.
2024-05-01 22:59:06 +05:30
deepsource-autofix[bot]
282bc0b98f
refactor: refactor if expression
...
The `if` expression used here can be simplified to increase the code readability. Example:
2024-05-01 22:54:44 +05:30
deepsource-autofix[bot]
23341d79ae
refactor: remove unnecessary whitespace
...
Blank lines should not contain any tabs or spaces.
2024-05-01 22:50:34 +05:30
deepsource-autofix[bot]
16ce0ce826
refactor: add newline at end of file
...
It is recommended to put a newline at the end of the file.
2024-05-01 22:48:07 +05:30
deepsource-autofix[bot]
9d8f823ad7
refactor: remove commented out code
...
It is recommended to remove any commented code in your codebase.
2024-05-01 22:24:20 +05:30
deepsource-autofix[bot]
ba975a324b
refactor: refactor unnecessary else / elif when if block has a return statement
...
The use of `else` or `elif` becomes redundant and can be dropped if the last statement under the leading `if` / `elif` block is a `return` statement.
In the case of an `elif` after `return`, it can be written as a separate `if` block.
For `else` blocks after `return`, the statements can be shifted out of `else`. Please refer to the examples below for reference.
Refactoring the code this way can improve code-readability and make it easier to maintain.
2024-05-01 22:19:37 +05:30
deepsource-autofix[bot]
b3c86802c4
refactor: remove unused imports
...
An object has been imported but is not used anywhere in the file.
It should either be used or the import should be removed.
2024-05-01 22:11:04 +05:30
allinoneallinone00
bca10d9b57
Remove depreciated gpt
2024-04-30 15:14:57 +00:00
allinoneallinone00
631b803467
Remove Unnecessary humanize loader in afk.py
2024-04-30 00:49:19 +00:00
allinoneallinone00
3715eafe69
Major Shit's Fixes
2024-04-30 00:35:34 +00:00
allinoneallinone00
300f0bcc5e
Lint: aiutils
2024-04-29 23:09:27 +00:00
allinoneallinone00
7a17eafbe2
Lint: open
2024-04-29 23:05:03 +00:00
allinoneallinone00
dc98e665ec
Lint: RemoveBG
2024-04-29 23:02:00 +00:00
allinoneallinone00
11091dd104
Lint: uplud
2024-04-29 22:55:57 +00:00
allinoneallinone00
81d6c8def6
Lint: url module
2024-04-29 22:52:54 +00:00
allinoneallinone00
7551c83cf9
Lint: VirusTotal Module
2024-04-29 22:48:16 +00:00
allinoneallinone00
5723f7df13
Lint: Some Codes
2024-04-29 22:38:37 +00:00
allinoneallinone00
380239a818
Remove unused imports and f-strings
2024-04-29 13:52:39 +00:00
allinoneallinone00
344b4540aa
Fix: Ai Should Reply to only texts from incoming users
2024-04-29 13:50:05 +00:00
allinoneallinone00
5fe985e949
Add restart after chatbot off
2024-04-29 10:46:20 +00:00
allinoneallinone00
6fbe116cef
Better Ai users db handling and bug fixes
2024-04-29 10:14:02 +00:00
allinoneallinone00
912cc1f051
Fix CHatBot
2024-04-29 09:32:47 +00:00
allinoneallinone00
ab4ac8764d
Fix Lexica propmts
2024-04-29 08:50:45 +00:00
allinoneallinone00
0ea47da65a
Fix DB Ai Users removal
2024-04-29 08:35:55 +00:00
Abhi
c91f43fec6
Update chatbot.py
2024-04-29 07:47:26 +05:30
Abhi
8a2731fa67
Update chatbot.py
2024-04-29 07:41:47 +05:30
allinoneallinone00
698c308b91
Add Ai chatbot
2024-04-29 01:26:32 +00:00
allinoneallinone00
dc37f7d496
Fix Lexica Upscale
2024-04-28 23:39:19 +00:00
allinoneallinone00
55d1909978
.
2024-04-25 01:29:07 +00:00
allinoneallinone00
f8a88e99fa
Add Image Gen lexicapi, Improved logging format
2024-04-25 00:45:47 +00:00
Abhi
262f436b23
Update url.py
2024-04-24 20:37:06 +05:30