46 Commits

Author SHA1 Message Date
Abhi
9fea7794e0 add some skipcq rules 2025-05-13 02:44:43 +05:30
Abhi
0120f2e7ec fix: utils edit_or_reply 2025-03-27 20:33:05 +05:30
Abhi
cb787fa651 Remove unused import enums 2025-01-26 18:21:09 +05:30
Abhi
0b63c00a36 Progress args for upload 2025-01-26 18:12:14 +05:30
Abhi
b2b7271654 add no_prefix filter freate fcn 2024-12-08 07:13:19 +05:30
Abhi
1394aec513 resolve dependabot issues (#106) 2024-12-04 22:46:57 +05:30
Abhi
ca202247db move safone out of core 2024-11-29 19:03:15 +05:30
Abhi
7ff0f16e1e fix: Unnecessary else / elif used after return 2024-11-10 06:25:02 +05:30
Abhi
1e0ef852f8 implement admin/user filters to modules #100 2024-11-10 06:23:15 +05:30
Abhi
8e0a3036a6 seperate carbon gen 2024-10-10 17:07:18 +05:30
deepsource-autofix[bot]
17f5f1a0dd refactor: remove unnecessary whitespace
Blank lines should not contain any tabs or spaces.
2024-08-08 20:09:23 +00:00
Abhi
267eb8f696 fix restart issue 2024-08-06 17:35:18 +05:30
Abhi
1821927471 fix ytdl, unload musicbot 2024-08-06 16:41:55 +05:30
Abhi
4195adeea1 resize image fcn 2024-07-24 22:41:36 +05:30
Abhi
3919ac8bcb damn checks
Missing whitespace around bitwise or shift operator
`FLK-E227`
2024-07-23 08:32:46 +05:30
Abhi
ceeaa7f57b union 2024-07-23 08:27:23 +05:30
allinoneallinone00
7bae8fdac6 Done ig 2024-05-02 00:07:20 +00:00
allinoneallinone00
d6ed1f30f8 Cont. lines 2024-05-01 22:29:04 +00:00
allinoneallinone00
165f7d222b Use of f-strings 2024-05-01 22:26:50 +00:00
Abhi
da474bacc5 Update scripts.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
Abhi
4d868e0c9a Update scripts.py 2024-05-02 00:04:59 +05:30
Abhi
5d883b7490 Update scripts.py 2024-05-01 23:51:58 +05:30
Abhi
d474a62558 Re-defined variable from outer scope 2024-05-01 23:51:58 +05:30
Abhi
37cff22b8e Update scripts.py 2024-05-01 23:51:58 +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
Abhi
09f3c4a5ef Update progress with f-string 2024-05-01 13:38:50 +05:30
allinoneallinone00
3715eafe69 Major Shit's Fixes 2024-04-30 00:35:34 +00:00
Abhi
427f899383 Typo: format_exc
Silly me
2024-02-02 21:52:21 +05:30
Abhi
b6521f8201 Update: Detailed Error 2024-02-02 21:21:33 +05:30
Abhi
90dfead5a4 Fixes 2024-01-06 02:31:43 +00:00
Abhi
7d5642d648 Update scripts.py 2023-12-17 22:52:17 +05:30
Abhi
15f02faeec Fix: sgb.py
Remove support for reply and fix loop
2023-12-16 09:52:00 +00:00
Abhi
1efa2ca8fd Fix restart 2023-10-30 16:10:43 +00:00
Abhi
b376370728 Fix ValueError on restart() 2023-10-30 15:30:29 +00:00
Abhi
e406b69c94 update UB - 1.5.0 2023-10-30 13:27:44 +00:00
sweep-ai[bot]
0184e7b01b [Sweep Rules] Fix inconsistent formatting of code in utils/scripts.py (#26)
* feat: Updated utils/scripts.py

* Sandbox run utils/scripts.py

---------

Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
2023-10-30 15:40:48 +05:30
Abhi
bea78fc5a0 Update scripts.py 2023-10-30 15:37:02 +05:30
Abhi
ef275c9331 Update scripts.py 2023-10-30 15:26:06 +05:30
sweep-ai[bot]
168fb3e86b Upgrade to latest program library and fix code issues (#6)
* feat: Updated utils/scripts.py

* feat: Updated utils/scripts.py

* feat: Updated utils/scripts.py

* feat: Updated utils/scripts.py

* feat: Updated utils/scripts.py

* feat: Updated utils/scripts.py

* feat: Updated utils/scripts.py

* feat: Updated modules/admlist.py

* Sandbox run modules/admlist.py

* feat: Updated modules/example.py

* Sandbox run modules/example.py

* feat: Updated modules/admintool.py

* Sandbox run modules/admintool.py

* feat: Updated modules/afk.py

* Sandbox run modules/afk.py

* feat: Updated modules/antipm.py

* Sandbox run modules/antipm.py

* feat: Updated modules/clear_notifs.py

* feat: Updated modules/clear_notifs.py

* Sandbox run modules/clear_notifs.py

* feat: Updated modules/filters.py

* Sandbox run modules/filters.py

* feat: Updated modules/help.py

---------

Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
2023-10-30 06:12:34 +05:30
Abhi
fc727888f3 modified: modules/help.py
modified:   utils/scripts.py
2023-10-16 14:43:43 +00:00
AbhiTheModder
2ebdd0f459 friday shiftport 2023-08-02 07:19:14 +00:00
AbhiTheModder
5b7de4cd7e Update scripts.py 2023-08-02 12:17:50 +05:30
AbhiTheModder
3e8520b0f5 refactor 2023-02-09 11:55:47 +05:30
AbhiTheModder
25cb869f79 update scripts.py 2023-02-09 01:42:45 +05:30
AbhiTheModder
6bf8d93b06 add scripts.py 2023-02-09 01:41:38 +05:30