mirror of
https://gitlab.com/octospacc/WinDog.git
synced 2025-04-13 17:41:57 +02:00
Hopefully fixed a fuckup
This commit is contained in:
parent
a82a1619af
commit
a54ebb61f2
@ -79,7 +79,7 @@
|
|||||||
"*Vorrei anche io le coccole ma... ☁️😔*"
|
"*Vorrei anche io le coccole ma... ☁️😔*"
|
||||||
],
|
],
|
||||||
"self": [
|
"self": [
|
||||||
"{0} si stende sul letto e prova a farsi le coccole, per sentirsi meglio."
|
"*{0} si stende sul letto e prova a farsi le coccole, per sentirsi meglio.*"
|
||||||
],
|
],
|
||||||
"others": [
|
"others": [
|
||||||
"*{0} fa le coccole a {1} 🥰*",
|
"*{0} fa le coccole a {1} 🥰*",
|
||||||
@ -123,7 +123,7 @@
|
|||||||
"sessocto": {
|
"sessocto": {
|
||||||
"empty": [
|
"empty": [
|
||||||
"*Sessocto?!?! 😳️*",
|
"*Sessocto?!?! 😳️*",
|
||||||
"Vuoi fare sessocto con qualcuno? Rispondi ad un suo messaggio.*"
|
"*Vuoi fare sessocto con qualcuno? Rispondi ad un suo messaggio.*"
|
||||||
],
|
],
|
||||||
"bot": [
|
"bot": [
|
||||||
"*Vorrei anche io sessocto ma non ho un corpo...😥️*"
|
"*Vorrei anche io sessocto ma non ho un corpo...😥️*"
|
||||||
|
@ -55,13 +55,13 @@ def help(update:Update, context:CallbackContext) -> None:
|
|||||||
def echo(update:Update, context:CallbackContext) -> None:
|
def echo(update:Update, context:CallbackContext) -> None:
|
||||||
if CmdRestrict(update):
|
if CmdRestrict(update):
|
||||||
Message = update.message.text
|
Message = update.message.text
|
||||||
if CommandFilter(Message) == 'echo':
|
if len(Message.split(' ')) < 2:
|
||||||
Text = CharEscape(choice(Locale[Lang]['echo']['empty']), '.!')
|
Text = CharEscape(choice(Locale[Lang]['echo']['empty']), '.!')
|
||||||
update.message.reply_markdown_v2(
|
update.message.reply_markdown_v2(
|
||||||
Text,
|
Text,
|
||||||
reply_to_message_id=update.message.message_id)
|
reply_to_message_id=update.message.message_id)
|
||||||
else:
|
else:
|
||||||
Text = Message[5:]
|
Text = Message[len(Message.split(' ')[0])+1:]
|
||||||
update.message.reply_text(
|
update.message.reply_text(
|
||||||
Text,
|
Text,
|
||||||
reply_to_message_id=update.message.message_id)
|
reply_to_message_id=update.message.message_id)
|
||||||
@ -74,7 +74,7 @@ def ping(update:Update, context:CallbackContext) -> None:
|
|||||||
|
|
||||||
def wish(update:Update, context:CallbackContext) -> None:
|
def wish(update:Update, context:CallbackContext) -> None:
|
||||||
if CmdRestrict(update):
|
if CmdRestrict(update):
|
||||||
if CommandFilter(update.message.text) == 'wish':
|
if len(update.message.text.split(' ')) < 2:
|
||||||
Text = choice(Locale[Lang]['wish']['empty'])
|
Text = choice(Locale[Lang]['wish']['empty'])
|
||||||
else:
|
else:
|
||||||
Text = choice(Locale[Lang]['wish']['done'])
|
Text = choice(Locale[Lang]['wish']['done'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user