mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2026-08-15 13:03:08 +00:00
[ci] apply-plugin-metadata-and-formatting
This commit is contained in:
parent
b459ec7c8a
commit
66ccfec2e8
3 changed files with 41 additions and 7 deletions
|
|
@ -2569,6 +2569,34 @@
|
|||
"md5sum": "487c0520dc833f15942941e0dbc82f1e"
|
||||
}
|
||||
}
|
||||
},
|
||||
"glowing_profiles": {
|
||||
"description": "This plugin gives your profile glowlight, just like on some servers, but only offline. Dependences: simpleredefiner",
|
||||
"external_url": "https://m.youtube.com/watch?v=Jb_dKz99rhY",
|
||||
"authors": [
|
||||
{
|
||||
"name": "andrejkuroglo8",
|
||||
"email": "andrejkuroglo8@gmail.com",
|
||||
"discord": "andrewku"
|
||||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
}
|
||||
},
|
||||
"simpleredefiner": {
|
||||
"description": "Plugin redefine classes and methods, when it is addressed",
|
||||
"external_url": "",
|
||||
"authors": [
|
||||
{
|
||||
"name": "andrejkuroglo8",
|
||||
"email": "andrejkuroglo8@gmail.com",
|
||||
"discord": "andrewku"
|
||||
}
|
||||
],
|
||||
"versions": {
|
||||
"1.0.0": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18,7 +18,8 @@ plugman = dict(
|
|||
version="1.0.0",
|
||||
)
|
||||
|
||||
file_dependence=Path("simpleredefiner.py")
|
||||
file_dependence = Path("simpleredefiner.py")
|
||||
|
||||
|
||||
def get_locale(*args):
|
||||
return "Error"
|
||||
|
|
@ -134,9 +135,11 @@ class Chooser:
|
|||
self._update_text()
|
||||
|
||||
# ba_meta export babase.Plugin
|
||||
|
||||
|
||||
class Glowing(babase.Plugin):
|
||||
def __init__(self):
|
||||
if file_path.exists():
|
||||
pass
|
||||
else:
|
||||
babase.screenmessage(f"File {file_dependence} not installed. Please, install!")
|
||||
def __init__(self):
|
||||
if file_path.exists():
|
||||
pass
|
||||
else:
|
||||
babase.screenmessage(f"File {file_dependence} not installed. Please, install!")
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ plugman = dict(
|
|||
version="1.0.0",
|
||||
)
|
||||
|
||||
|
||||
def redefine_method(dst: Tuple[Any, str], src: Tuple[Any, str]) -> None:
|
||||
if hasattr(getattr(*src), '__redefine_type') and getattr(*src).__redefine_type in (
|
||||
RedefineFlag.DECORATE_PRE, RedefineFlag.DECORATE_AFTER, RedefineFlag.DECORATE_ADVANCED):
|
||||
|
|
@ -98,5 +99,7 @@ def redefine_flag(*flags: RedefineFlag) -> Callable[[Callable], Callable]:
|
|||
|
||||
return decorator
|
||||
# ba_meta export babase.Plugin
|
||||
|
||||
|
||||
class Simpleredefiner(babase.Plugin):
|
||||
pass
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue