Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
0a25134
1
Parent(s):
b36a440
Update fun.py
Browse files- Powers/plugins/fun.py +2 -2
Powers/plugins/fun.py
CHANGED
|
@@ -113,7 +113,7 @@ 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 |
-
rtext = YES[
|
| 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
|
|
@@ -122,7 +122,7 @@ async def yesw(c : Gojo , m: Message):
|
|
| 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[
|
| 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
|
|
|
|
| 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[0]
|
| 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
|
|
|
|
| 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[0]
|
| 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
|