mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
added my mods
now will somehow pr
This commit is contained in:
parent
c42ffea998
commit
0fa3cfe3d1
5 changed files with 5632 additions and 0 deletions
17
plugins/utilities/topmsg.py
Normal file
17
plugins/utilities/topmsg.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
from babase import app, Plugin as p
|
||||
from bascenev1 import gettexture as x, apptimer as z
|
||||
from bascenev1 import broadcastmessage as push, get_foreground_host_activity as ga, get_chat_messages as gcm
|
||||
|
||||
# ba_meta require api 8
|
||||
# ba_meta export plugin
|
||||
class byBordd(p):
|
||||
def ear(s):
|
||||
a = gcm()
|
||||
if a and s.la != a[-1]:
|
||||
if app.config.resolve('Chat Muted'): push(a[-1], (1, 1, 1), True, s.con)
|
||||
s.la = a[-1]
|
||||
z(0.1, s.ear)
|
||||
def get(s):
|
||||
with ga().context: s.con=x("upButton")
|
||||
s.la = None; s.ear()
|
||||
z(0.2, byBordd().get)
|
||||
Loading…
Add table
Add a link
Reference in a new issue