mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-10-11 01:25:56 +00:00
0.1.0 Version : changed in to join and out to leave, folder structure and naming changes
This commit is contained in:
@@ -1,28 +1,25 @@
|
||||
import re
|
||||
|
||||
# These are MarkdownV2 python-telegram-bot specific
|
||||
opted_in = re.escape('You have opted-in for everyone-mentions.')
|
||||
opted_in_failed = re.escape('You already opted-in for everyone-mentions.')
|
||||
opted_off = re.escape('You have opted-off for everyone-mentions.')
|
||||
opted_off_failed = re.escape('You need to opt-in first before processing this command.')
|
||||
mention_failed = re.escape('There are no users to mention.')
|
||||
no_groups = re.escape('There are no groups for this chat.')
|
||||
joined = '{} joined group `{}`'
|
||||
not_joined = '{} is already in group `{}`'
|
||||
left = '{} left group `{}`'
|
||||
not_left = '{} did not join group `{}` before'
|
||||
mention_failed = 'There are no users to mention'
|
||||
no_groups = 'There are no groups for this chat'
|
||||
|
||||
|
||||
start_text = re.escape("""
|
||||
Hello there.
|
||||
I am `@everyone_mention_bot`.
|
||||
I am here to help you with mass notifies.
|
||||
start_text = """
|
||||
Hello there
|
||||
I am @everyone\_mention\_bot
|
||||
I am here to help you with mass notifies
|
||||
|
||||
Please take a look at available commands.
|
||||
Parameter `<group-name>` is not required, if not given, I will assign you to `default` group.
|
||||
Please take a look at available commands
|
||||
`<group-name>` is not required, if not given, it is set to `default`
|
||||
|
||||
To opt-in for everyone-mentions use:
|
||||
`/in <group-name>`
|
||||
for example: `/in gaming`
|
||||
To join group:
|
||||
`/join <group-name>`
|
||||
for example: `/join games`
|
||||
|
||||
To opt-off for everyone mentions use:
|
||||
`/out <group-name>`
|
||||
To leave group:
|
||||
`/leave <group-name>`
|
||||
|
||||
To gather everyone attention use:
|
||||
`/everyone <group-name>`
|
||||
@@ -30,8 +27,6 @@ To gather everyone attention use:
|
||||
To see all available groups use:
|
||||
`/groups`
|
||||
|
||||
To display all users that opted-in for everyone-mentions use:
|
||||
To display all members in a group:
|
||||
`/silent <group-name>`
|
||||
|
||||
In case questions regarding my usage please reach out to @miloszowi
|
||||
""")
|
||||
"""
|
Reference in New Issue
Block a user