Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://github.com/iamgojoof6eyes/Gojo_Satarou
Browse files- .pre-commit-config.yaml +1 -1
- Powers/README.md +1 -1
- Powers/plugins/info.py +2 -2
- README.md +4 -4
- app.json +3 -3
.pre-commit-config.yaml
CHANGED
@@ -24,7 +24,7 @@ repos:
|
|
24 |
args: [--py36-plus]
|
25 |
|
26 |
- repo: https://github.com/asottile/pyupgrade
|
27 |
-
rev: v2.37.
|
28 |
hooks:
|
29 |
- id: pyupgrade
|
30 |
args: [--py36-plus]
|
|
|
24 |
args: [--py36-plus]
|
25 |
|
26 |
- repo: https://github.com/asottile/pyupgrade
|
27 |
+
rev: v2.37.3
|
28 |
hooks:
|
29 |
- id: pyupgrade
|
30 |
args: [--py36-plus]
|
Powers/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# If you got your way till here, then let's have a look to the repository, and if you find any code unusual or find any bug fix it and send a pull request π
|
2 |
|
3 |
-
## Want to contribute contact [me](https://
|
4 |
|
5 |
|
6 |
|
|
|
1 |
# If you got your way till here, then let's have a look to the repository, and if you find any code unusual or find any bug fix it and send a pull request π
|
2 |
|
3 |
+
## Want to contribute contact [me](https://telegram.dog/iamgojoof6eyes)....
|
4 |
|
5 |
|
6 |
|
Powers/plugins/info.py
CHANGED
@@ -149,7 +149,7 @@ async def chat_info(c: Gojo, chat, already=False):
|
|
149 |
return [caption, photo_id]
|
150 |
|
151 |
|
152 |
-
@Gojo.on_message(command("info"))
|
153 |
async def info_func(c: Gojo, message: Message):
|
154 |
if len(message.text.split()) == 1 and not message.reply_to_message:
|
155 |
await message.reply_text(text="I can't info fecth of nothing!")
|
@@ -190,7 +190,7 @@ async def info_func(c: Gojo, message: Message):
|
|
190 |
|
191 |
|
192 |
|
193 |
-
@Gojo.on_message(command("chinfo"))
|
194 |
async def chat_info_func(c: Gojo, message: Message):
|
195 |
splited = message.text.split()
|
196 |
try:
|
|
|
149 |
return [caption, photo_id]
|
150 |
|
151 |
|
152 |
+
@Gojo.on_message(command(["info","whois"]))
|
153 |
async def info_func(c: Gojo, message: Message):
|
154 |
if len(message.text.split()) == 1 and not message.reply_to_message:
|
155 |
await message.reply_text(text="I can't info fecth of nothing!")
|
|
|
190 |
|
191 |
|
192 |
|
193 |
+
@Gojo.on_message(command(["chinfo","chatinfo","chat_info"]))
|
194 |
async def chat_info_func(c: Gojo, message: Message):
|
195 |
splited = message.text.split()
|
196 |
try:
|
README.md
CHANGED
@@ -46,7 +46,7 @@ This bot is mixture of the many bots and have some extra plugins so it is quite
|
|
46 |
|
47 |
The Gojo Satarou is a powerful Group Management bot with awesome plugins and features.
|
48 |
|
49 |
-
**If you counter any problem or face any bugs for help join π [Gojo Updates](https://
|
50 |
|
51 |
## Features
|
52 |
|
@@ -57,9 +57,9 @@ The Gojo Satarou is a powerful Group Management bot with awesome plugins and fea
|
|
57 |
* Frequently updated
|
58 |
|
59 |
|
60 |
-
***Can be found on Telegram as __[@iamgojoof6eyes_bot](https://
|
61 |
|
62 |
-
β οΈ ***Note: The bot is not currently working due to some issues and I don't think I have that much extra time to solve it....If you think you can help me in fixing it just ib me on tg [@iamgojoof6eyes](https://
|
63 |
|
64 |
-------
|
65 |
|
@@ -203,7 +203,7 @@ To add your very own plugin just use the format given below and go through the [
|
|
203 |
|
204 |
# Contributors
|
205 |
|
206 |
-

|
207 |
|
208 |
|
209 |
---------
|
|
|
46 |
|
47 |
The Gojo Satarou is a powerful Group Management bot with awesome plugins and features.
|
48 |
|
49 |
+
**If you counter any problem or face any bugs for help join π [Gojo Updates](https://telegram.dog/gojo_updates) π and then join the gc and ask your problem.**
|
50 |
|
51 |
## Features
|
52 |
|
|
|
57 |
* Frequently updated
|
58 |
|
59 |
|
60 |
+
***Can be found on Telegram as __[@iamgojoof6eyes_bot](https://telegram.dog/iamgojoof6eyes_bot)__***
|
61 |
|
62 |
+
β οΈ ***Note: The bot is not currently working due to some issues and I don't think I have that much extra time to solve it....If you think you can help me in fixing it just ib me on tg [@iamgojoof6eyes](https://telegram.dog/iamgojoof6eyes)***
|
63 |
|
64 |
-------
|
65 |
|
|
|
203 |
|
204 |
# Contributors
|
205 |
|
206 |
+
[](https://github.com/iamgojoof6eyes/Gojo_Satarou/graphs/contributors)
|
207 |
|
208 |
|
209 |
---------
|
app.json
CHANGED
@@ -64,7 +64,7 @@
|
|
64 |
"value": "/ ! $"
|
65 |
},
|
66 |
"DEV_USERS": {
|
67 |
-
"description": "ID of users who are Devs of your bot
|
68 |
"required": false,
|
69 |
"value": "1432756163 1344569458 1355478165 1789859817 1777340882"
|
70 |
},
|
@@ -73,12 +73,12 @@
|
|
73 |
"value": "gojo_updates"
|
74 |
},
|
75 |
"SUDO_USERS": {
|
76 |
-
"description": "A space separated list of user IDs who you want to assign as sudo users
|
77 |
"required": false,
|
78 |
"value": "1432756163 1344569458 1355478165 1789859817 1777340882"
|
79 |
},
|
80 |
"WHITELIST_USERS": {
|
81 |
-
"description": "A space separated list of user IDs whitelisted, cannot be restricted
|
82 |
"required": false,
|
83 |
"value": "1432756163 1344569458 1355478165 1789859817 1777340882"
|
84 |
},
|
|
|
64 |
"value": "/ ! $"
|
65 |
},
|
66 |
"DEV_USERS": {
|
67 |
+
"description": "ID of users who are Devs of your bot. Use space to seprate values",
|
68 |
"required": false,
|
69 |
"value": "1432756163 1344569458 1355478165 1789859817 1777340882"
|
70 |
},
|
|
|
73 |
"value": "gojo_updates"
|
74 |
},
|
75 |
"SUDO_USERS": {
|
76 |
+
"description": "A space separated list of user IDs who you want to assign as sudo users.",
|
77 |
"required": false,
|
78 |
"value": "1432756163 1344569458 1355478165 1789859817 1777340882"
|
79 |
},
|
80 |
"WHITELIST_USERS": {
|
81 |
+
"description": "A space separated list of user IDs whitelisted, cannot be restricted.",
|
82 |
"required": false,
|
83 |
"value": "1432756163 1344569458 1355478165 1789859817 1777340882"
|
84 |
},
|