-
Notifications
You must be signed in to change notification settings - Fork 13
/
messages.py
26 lines (20 loc) · 1.07 KB
/
messages.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import config
MESSAGE_SENT = 'Message sent!\n(/send to send another!)'
HELP_TEXT = (
f'Use /send to send a message to your {config.ANGEL_ALIAS} or {config.MORTAL_ALIAS} and /cancel to cancel message.'
f'\n\n'
f'This bot supports forwarding only text, photos, stickers, documents, audio, video, and animations.'
)
ERROR_CHAT_ID = 'Sorry an error occured please type /start again'
SEND_COMMAND = 'Send a message to my:\n(/cancel to stop)'
NOT_REGISTERED = 'Sorry you are not registered with the game currently'
def getBotNotStartedMessage(alias):
return f'Sorry your {alias} has not started this bot'
def getPlayerMessage(alias):
return f'Please type your message to your {alias}\n(/cancel to stop)'
def getReceivedMessage(alias, text=""):
return f"Message from your {alias}:\n\n{text}" if text != "" else f"Message from your {alias}:"
def getSentMessageLog(alias, sender, receiver):
return f'{sender} sent a message to their {alias} {receiver}'
def getNotRegisteredLog(alias, sender, receiver):
return f'{sender} {alias} {receiver} has not started the bot'