Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
79472bd
1
Parent(s):
6f82e87
Update fun.py
Browse files- Powers/plugins/fun.py +4 -2
Powers/plugins/fun.py
CHANGED
|
@@ -113,7 +113,8 @@ async def insult(c : Gojo , m: Message):
|
|
| 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 |
-
|
|
|
|
| 117 |
LOGGER.info(f"{m.from_user.id} said YES or may be NO in {m.chat.id}")
|
| 118 |
return
|
| 119 |
|
|
@@ -121,7 +122,8 @@ async def yesw(c : Gojo , m: Message):
|
|
| 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 |
-
|
|
|
|
| 125 |
LOGGER.info(f"{m.from_user.id} said NO or may be YES in {m.chat.id}")
|
| 126 |
return
|
| 127 |
|
|
|
|
| 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 |
+
rtext = YES[1]
|
| 117 |
+
await reply_text(rtext)
|
| 118 |
LOGGER.info(f"{m.from_user.id} said YES or may be NO in {m.chat.id}")
|
| 119 |
return
|
| 120 |
|
|
|
|
| 122 |
@Gojo.on_message(command("no"))
|
| 123 |
async def now(c : Gojo , m: Message):
|
| 124 |
reply_text = m.reply_to_message.reply_text if m.reply_to_message else m.reply_text
|
| 125 |
+
rtext = NO[1]
|
| 126 |
+
await reply_text(rtext)
|
| 127 |
LOGGER.info(f"{m.from_user.id} said NO or may be YES in {m.chat.id}")
|
| 128 |
return
|
| 129 |
|