Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
0872f6b
1
Parent(s):
1f0260d
Update fun.py
Browse files- Powers/plugins/fun.py +4 -2
Powers/plugins/fun.py
CHANGED
|
@@ -111,7 +111,7 @@ async def insult(c : Gojo , m: Message):
|
|
| 111 |
LOGGER.info(f"{m.from_user.id} insulted {user_first_name} in {m.chat.id}")
|
| 112 |
|
| 113 |
@Gojo.on_message(command("yes"))
|
| 114 |
-
async def yesw(c : Gojo , m:
|
| 115 |
reply_text = m.reply_to_message.reply_text if m.reply_to_message else m.reply_text
|
| 116 |
await reply_text(YES)
|
| 117 |
LOGGER.info(f"{m.from_user.id} said YES or may be NO in {m.chat.id}")
|
|
@@ -119,7 +119,7 @@ async def yesw(c : Gojo , m: MEssage):
|
|
| 119 |
|
| 120 |
|
| 121 |
@Gojo.on_message(command("no"))
|
| 122 |
-
async def now(c : Gojo , m:
|
| 123 |
reply_text = m.reply_to_message.reply_text if m.reply_to_message else m.reply_text
|
| 124 |
await reply_text(NO)
|
| 125 |
LOGGER.info(f"{m.from_user.id} said NO or may be YES in {m.chat.id}")
|
|
@@ -201,6 +201,8 @@ _DISABLE_CMDS_ = [
|
|
| 201 |
"react",
|
| 202 |
"bluetext",
|
| 203 |
"toss",
|
|
|
|
|
|
|
| 204 |
"roll",
|
| 205 |
"slap",
|
| 206 |
"runs",
|
|
|
|
| 111 |
LOGGER.info(f"{m.from_user.id} insulted {user_first_name} in {m.chat.id}")
|
| 112 |
|
| 113 |
@Gojo.on_message(command("yes"))
|
| 114 |
+
async def yesw(c : Gojo , m: Message):
|
| 115 |
reply_text = m.reply_to_message.reply_text if m.reply_to_message else m.reply_text
|
| 116 |
await reply_text(YES)
|
| 117 |
LOGGER.info(f"{m.from_user.id} said YES or may be NO in {m.chat.id}")
|
|
|
|
| 119 |
|
| 120 |
|
| 121 |
@Gojo.on_message(command("no"))
|
| 122 |
+
async def now(c : Gojo , m: Message):
|
| 123 |
reply_text = m.reply_to_message.reply_text if m.reply_to_message else m.reply_text
|
| 124 |
await reply_text(NO)
|
| 125 |
LOGGER.info(f"{m.from_user.id} said NO or may be YES in {m.chat.id}")
|
|
|
|
| 201 |
"react",
|
| 202 |
"bluetext",
|
| 203 |
"toss",
|
| 204 |
+
"yes",
|
| 205 |
+
"no",
|
| 206 |
"roll",
|
| 207 |
"slap",
|
| 208 |
"runs",
|