Spaces:
Sleeping
Sleeping
iamgojoof6eyes
commited on
Commit
·
8e6421c
1
Parent(s):
b68c1ea
Minor changes
Browse files- Powers/plugins/admin.py +2 -1
- Powers/plugins/approve.py +2 -1
- Powers/plugins/bans.py +2 -1
- Powers/plugins/blacklist.py +2 -1
- Powers/plugins/filters.py +2 -1
- Powers/plugins/formatting.py +1 -1
- Powers/plugins/fun.py +1 -1
- Powers/plugins/greetings.py +1 -1
- Powers/plugins/info.py +3 -3
- Powers/plugins/locks.py +1 -1
- Powers/plugins/muting.py +1 -4
- Powers/plugins/notes.py +1 -1
- Powers/plugins/pin.py +1 -1
- Powers/plugins/purge.py +1 -1
- Powers/plugins/report.py +1 -1
- Powers/plugins/rules.py +1 -1
- Powers/plugins/utils.py +2 -1
- Powers/plugins/warns.py +1 -4
- Powers/utils/fun_strings.py +4 -1
Powers/plugins/admin.py
CHANGED
@@ -553,7 +553,8 @@ __alt_name__ = [
|
|
553 |
]
|
554 |
|
555 |
__HELP__ = """
|
556 |
-
|
|
|
557 |
**User Commands:**
|
558 |
* /adminlist: List all the admins in the Group.
|
559 |
**Admin only:**
|
|
|
553 |
]
|
554 |
|
555 |
__HELP__ = """
|
556 |
+
****Admin***
|
557 |
+
|
558 |
**User Commands:**
|
559 |
* /adminlist: List all the admins in the Group.
|
560 |
**Admin only:**
|
Powers/plugins/approve.py
CHANGED
@@ -235,7 +235,8 @@ __alt_name__ = ["approved"]
|
|
235 |
|
236 |
|
237 |
__HELP__ = """
|
238 |
-
|
|
|
239 |
**Admin commands:**
|
240 |
* /approval: Check a user's approval status in this chat.
|
241 |
* /approve: Approve of a user. Locks, blacklists, and antiflood won't apply to them anymore.
|
|
|
235 |
|
236 |
|
237 |
__HELP__ = """
|
238 |
+
***Apporve***
|
239 |
+
|
240 |
**Admin commands:**
|
241 |
* /approval: Check a user's approval status in this chat.
|
242 |
* /approve: Approve of a user. Locks, blacklists, and antiflood won't apply to them anymore.
|
Powers/plugins/bans.py
CHANGED
@@ -881,7 +881,8 @@ __alt_name__ = [
|
|
881 |
]
|
882 |
|
883 |
__HELP__ = """
|
884 |
-
|
|
|
885 |
**Admin only:**
|
886 |
* /kick: Kick the user replied or tagged.
|
887 |
* /skick: Kick the user replied or tagged and delete your messsage.
|
|
|
881 |
]
|
882 |
|
883 |
__HELP__ = """
|
884 |
+
***Bans***
|
885 |
+
|
886 |
**Admin only:**
|
887 |
* /kick: Kick the user replied or tagged.
|
888 |
* /skick: Kick the user replied or tagged and delete your messsage.
|
Powers/plugins/blacklist.py
CHANGED
@@ -210,7 +210,8 @@ __PLUGIN__ = "blacklist"
|
|
210 |
__alt_name__ = ["blacklists", "blaction"]
|
211 |
|
212 |
__HELP__ = """
|
213 |
-
|
|
|
214 |
**NOTE:** blacklists do not affect group admins.
|
215 |
* /blacklist: View the current blacklisted words.
|
216 |
**Admin only:**
|
|
|
210 |
__alt_name__ = ["blacklists", "blaction"]
|
211 |
|
212 |
__HELP__ = """
|
213 |
+
***Blacklist***
|
214 |
+
|
215 |
**NOTE:** blacklists do not affect group admins.
|
216 |
* /blacklist: View the current blacklisted words.
|
217 |
**Admin only:**
|
Powers/plugins/filters.py
CHANGED
@@ -301,7 +301,8 @@ _DISABLE_CMDS_ = ["filters"]
|
|
301 |
__alt_name__ = ["filters", "autoreply"]
|
302 |
|
303 |
__HELP__ = """
|
304 |
-
|
|
|
305 |
• /filters: List all active filters saved in the chat.
|
306 |
|
307 |
**Admin only:**
|
|
|
301 |
__alt_name__ = ["filters", "autoreply"]
|
302 |
|
303 |
__HELP__ = """
|
304 |
+
***Filters***
|
305 |
+
|
306 |
• /filters: List all active filters saved in the chat.
|
307 |
|
308 |
**Admin only:**
|
Powers/plugins/formatting.py
CHANGED
@@ -136,6 +136,6 @@ __buttons__ = [
|
|
136 |
]
|
137 |
|
138 |
__HELP__ = """
|
139 |
-
|
140 |
|
141 |
Gojo supports a large number of formatting options to make your messages more expressive. Take a look by clicking the buttons below!"""
|
|
|
136 |
]
|
137 |
|
138 |
__HELP__ = """
|
139 |
+
***Formatting***
|
140 |
|
141 |
Gojo supports a large number of formatting options to make your messages more expressive. Take a look by clicking the buttons below!"""
|
Powers/plugins/fun.py
CHANGED
@@ -214,7 +214,7 @@ _DISABLE_CMDS_ = [
|
|
214 |
]
|
215 |
|
216 |
__HELP__ = """
|
217 |
-
|
218 |
|
219 |
* /runs: reply a random string from an array of replies.
|
220 |
* /slap: slap a user, or get slapped if not a reply.
|
|
|
214 |
]
|
215 |
|
216 |
__HELP__ = """
|
217 |
+
***Fun***
|
218 |
|
219 |
* /runs: reply a random string from an array of replies.
|
220 |
* /slap: slap a user, or get slapped if not a reply.
|
Powers/plugins/greetings.py
CHANGED
@@ -479,7 +479,7 @@ __PLUGIN__ = "greetings"
|
|
479 |
__alt_name__ = ["welcome", "goodbye", "cleanservice"]
|
480 |
|
481 |
__HELP__ = """
|
482 |
-
|
483 |
|
484 |
Customize your group's welcome / goodbye messages that can be personalised in multiple ways.
|
485 |
|
|
|
479 |
__alt_name__ = ["welcome", "goodbye", "cleanservice"]
|
480 |
|
481 |
__HELP__ = """
|
482 |
+
***Greetings***
|
483 |
|
484 |
Customize your group's welcome / goodbye messages that can be personalised in multiple ways.
|
485 |
|
Powers/plugins/info.py
CHANGED
@@ -210,7 +210,7 @@ __alt_name__ = [
|
|
210 |
]
|
211 |
|
212 |
__HELP__ = """
|
213 |
-
|
214 |
|
215 |
-
|
216 |
-
|
|
|
210 |
]
|
211 |
|
212 |
__HELP__ = """
|
213 |
+
***Information***
|
214 |
|
215 |
+
* /info - To get info about the user
|
216 |
+
* /chinfo - To get info about the chat"""
|
Powers/plugins/locks.py
CHANGED
@@ -328,7 +328,7 @@ __PLUGIN__ = "locks"
|
|
328 |
__alt_name__ = ["grouplock", "lock", "grouplocks"]
|
329 |
|
330 |
__HELP__ = """
|
331 |
-
|
332 |
|
333 |
Use this to lock group permissions.
|
334 |
Allows you to lock and unlock permission types in the chat.
|
|
|
328 |
__alt_name__ = ["grouplock", "lock", "grouplocks"]
|
329 |
|
330 |
__HELP__ = """
|
331 |
+
***Locks***
|
332 |
|
333 |
Use this to lock group permissions.
|
334 |
Allows you to lock and unlock permission types in the chat.
|
Powers/plugins/muting.py
CHANGED
@@ -600,10 +600,7 @@ __alt_name__ = [
|
|
600 |
]
|
601 |
|
602 |
__HELP__ = """
|
603 |
-
|
604 |
-
|
605 |
-
Want someone to keep quite for a while in the group?
|
606 |
-
Mute plugin is here to help, mute or unmute any user easily!
|
607 |
|
608 |
**Admin only:**
|
609 |
* /mute: Mute the user replied to or mentioned.
|
|
|
600 |
]
|
601 |
|
602 |
__HELP__ = """
|
603 |
+
***Muting***
|
|
|
|
|
|
|
604 |
|
605 |
**Admin only:**
|
606 |
* /mute: Mute the user replied to or mentioned.
|
Powers/plugins/notes.py
CHANGED
@@ -426,7 +426,7 @@ _DISABLE_CMDS_ = ["notes"]
|
|
426 |
__alt_name__ = ["groupnotes", "snips", "notes"]
|
427 |
|
428 |
__HELP__ = """
|
429 |
-
|
430 |
|
431 |
Save a note, get that, even you can delete that note.
|
432 |
This note only avaiable for your whole group!
|
|
|
426 |
__alt_name__ = ["groupnotes", "snips", "notes"]
|
427 |
|
428 |
__HELP__ = """
|
429 |
+
***Notes***
|
430 |
|
431 |
Save a note, get that, even you can delete that note.
|
432 |
This note only avaiable for your whole group!
|
Powers/plugins/pin.py
CHANGED
@@ -237,7 +237,7 @@ __PLUGIN__ = "pins"
|
|
237 |
__alt_name__ = ["pin", "unpin"]
|
238 |
|
239 |
__HELP__ = """
|
240 |
-
|
241 |
|
242 |
Here you find find all help related to groups pins and how to manage them via me.
|
243 |
|
|
|
237 |
__alt_name__ = ["pin", "unpin"]
|
238 |
|
239 |
__HELP__ = """
|
240 |
+
***Pin***
|
241 |
|
242 |
Here you find find all help related to groups pins and how to manage them via me.
|
243 |
|
Powers/plugins/purge.py
CHANGED
@@ -117,7 +117,7 @@ __PLUGIN__ = "purges"
|
|
117 |
__alt_name__ = ["purge", "del", "spurge"]
|
118 |
|
119 |
__HELP__ = """
|
120 |
-
|
121 |
|
122 |
* /purge: Deletes messages upto replied message.
|
123 |
* /spurge: Deletes messages upto replied message without a success message.
|
|
|
117 |
__alt_name__ = ["purge", "del", "spurge"]
|
118 |
|
119 |
__HELP__ = """
|
120 |
+
***Purge***
|
121 |
|
122 |
* /purge: Deletes messages upto replied message.
|
123 |
* /spurge: Deletes messages upto replied message without a success message.
|
Powers/plugins/report.py
CHANGED
@@ -202,7 +202,7 @@ __PLUGIN__ = "reporting"
|
|
202 |
__alt_name__ = ["reports", "report"]
|
203 |
|
204 |
__HELP__ = """
|
205 |
-
|
206 |
|
207 |
* /report `<reason>`: reply to a message to report it to admins.
|
208 |
- @admin: reply to a message to report it to admins.
|
|
|
202 |
__alt_name__ = ["reports", "report"]
|
203 |
|
204 |
__HELP__ = """
|
205 |
+
***Report***
|
206 |
|
207 |
* /report `<reason>`: reply to a message to report it to admins.
|
208 |
- @admin: reply to a message to report it to admins.
|
Powers/plugins/rules.py
CHANGED
@@ -148,7 +148,7 @@ __PLUGIN__ = "rules"
|
|
148 |
__alt_name__ = ["rule"]
|
149 |
|
150 |
__HELP__ = """
|
151 |
-
|
152 |
|
153 |
Set rules for you chat so that members know what to do and what not to do in your group!
|
154 |
|
|
|
148 |
__alt_name__ = ["rule"]
|
149 |
|
150 |
__HELP__ = """
|
151 |
+
***Rules***
|
152 |
|
153 |
Set rules for you chat so that members know what to do and what not to do in your group!
|
154 |
|
Powers/plugins/utils.py
CHANGED
@@ -25,6 +25,7 @@ from Powers.utils.custom_filters import command
|
|
25 |
from Powers.utils.http_helper import *
|
26 |
from Powers.utils.kbhelpers import ikb
|
27 |
from Powers.utils.parser import mention_html
|
|
|
28 |
from Powers.vars import Config
|
29 |
|
30 |
gban_db = GBan()
|
@@ -332,7 +333,7 @@ _DISABLE_CMDS_ = [
|
|
332 |
__alt_name__ = ["util", "misc", "tools"]
|
333 |
|
334 |
__HELP__ = """
|
335 |
-
|
336 |
|
337 |
Some utils provided by bot to make your tasks easy!
|
338 |
|
|
|
25 |
from Powers.utils.http_helper import *
|
26 |
from Powers.utils.kbhelpers import ikb
|
27 |
from Powers.utils.parser import mention_html
|
28 |
+
from Powers.utils.extract_user import extract_user
|
29 |
from Powers.vars import Config
|
30 |
|
31 |
gban_db = GBan()
|
|
|
333 |
__alt_name__ = ["util", "misc", "tools"]
|
334 |
|
335 |
__HELP__ = """
|
336 |
+
***Utils***
|
337 |
|
338 |
Some utils provided by bot to make your tasks easy!
|
339 |
|
Powers/plugins/warns.py
CHANGED
@@ -369,11 +369,8 @@ __PLUGIN__ = "warnings"
|
|
369 |
__alt_name__ = ["warn", "warning", "warns"]
|
370 |
|
371 |
__HELP__ = """
|
372 |
-
|
373 |
|
374 |
-
Keep your members in check with warnings; stop them getting out of control!
|
375 |
-
|
376 |
-
If you're looking for automated warnings, go read about the blacklist module.
|
377 |
|
378 |
Admin commands:
|
379 |
- /warn `<reason>`: Warn a user.
|
|
|
369 |
__alt_name__ = ["warn", "warning", "warns"]
|
370 |
|
371 |
__HELP__ = """
|
372 |
+
***Warns***
|
373 |
|
|
|
|
|
|
|
374 |
|
375 |
Admin commands:
|
376 |
- /warn `<reason>`: Warn a user.
|
Powers/utils/fun_strings.py
CHANGED
@@ -568,7 +568,8 @@ BAN_GIFS = ["https://tenor.com/bMiwt.gif",
|
|
568 |
"https://media.giphy.com/media/tanIENriCOil3ndF3V/giphy.gif",
|
569 |
"https://media.giphy.com/media/fwX4RUzdkdx9XUGow4/giphy.gif",
|
570 |
"https://media.giphy.com/media/XVLfZCU6jDvMYqF1xS/giphy.gif",
|
571 |
-
"https://media.giphy.com/media/
|
|
|
572 |
|
573 |
KICK_GIFS = ["https://tenor.com/bizBJ.gif",
|
574 |
"https://tenor.com/bjPvj.gif",
|
@@ -584,6 +585,7 @@ KICK_GIFS = ["https://tenor.com/bizBJ.gif",
|
|
584 |
"https://tenor.com/bOGXo.gif",
|
585 |
"https://tenor.com/bDLqs.gif",
|
586 |
"https://media.giphy.com/media/u2LJ0n4lx6jF6/giphy.gif",
|
|
|
587 |
"https://media.giphy.com/media/eDR7j2vjCFOUMJ9rT2/giphy.gif",
|
588 |
"https://media.giphy.com/media/ERNKP5G7ihZNW6VW4Q/giphy.gif",
|
589 |
"https://media.giphy.com/media/1r6xks2F0iHfbNvt4p/giphy.gif",
|
@@ -604,6 +606,7 @@ MUTE_GIFS = ["https://media.giphy.com/media/MpCxz9VLh6t8ceRb0r/giphy.gif",
|
|
604 |
"https://media.giphy.com/media/gJS1pGTbXlSCWUe2pg/giphy.gif",
|
605 |
"https://media.giphy.com/media/SIoetMN7j96O5perEV/giphy.gif",
|
606 |
"https://media.giphy.com/media/PBZrH2uy9E5rPruuCX/giphy.gif",
|
|
|
607 |
"https://media.giphy.com/media/PtIm7eUGKYIZbknqsO/giphy.gif",]
|
608 |
|
609 |
NOWYES = ["""
|
|
|
568 |
"https://media.giphy.com/media/tanIENriCOil3ndF3V/giphy.gif",
|
569 |
"https://media.giphy.com/media/fwX4RUzdkdx9XUGow4/giphy.gif",
|
570 |
"https://media.giphy.com/media/XVLfZCU6jDvMYqF1xS/giphy.gif",
|
571 |
+
"https://media.giphy.com/media/BSAZJvFOOR0VqREKMg/giphy.gif",
|
572 |
+
"https://media.giphy.com/media/CI4aCJUjJDJEj3Jgo4/giphy-downsized-large.gif",]
|
573 |
|
574 |
KICK_GIFS = ["https://tenor.com/bizBJ.gif",
|
575 |
"https://tenor.com/bjPvj.gif",
|
|
|
585 |
"https://tenor.com/bOGXo.gif",
|
586 |
"https://tenor.com/bDLqs.gif",
|
587 |
"https://media.giphy.com/media/u2LJ0n4lx6jF6/giphy.gif",
|
588 |
+
"https://media.giphy.com/media/BSAZJvFOOR0VqREKMg/giphy.gif",
|
589 |
"https://media.giphy.com/media/eDR7j2vjCFOUMJ9rT2/giphy.gif",
|
590 |
"https://media.giphy.com/media/ERNKP5G7ihZNW6VW4Q/giphy.gif",
|
591 |
"https://media.giphy.com/media/1r6xks2F0iHfbNvt4p/giphy.gif",
|
|
|
606 |
"https://media.giphy.com/media/gJS1pGTbXlSCWUe2pg/giphy.gif",
|
607 |
"https://media.giphy.com/media/SIoetMN7j96O5perEV/giphy.gif",
|
608 |
"https://media.giphy.com/media/PBZrH2uy9E5rPruuCX/giphy.gif",
|
609 |
+
"https://media.giphy.com/media/Cew2qzlug9t3ACYrD5/giphy.gif",
|
610 |
"https://media.giphy.com/media/PtIm7eUGKYIZbknqsO/giphy.gif",]
|
611 |
|
612 |
NOWYES = ["""
|