You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Due to smart availability: removed commands `/available` or `/unavailable`.
@@ -91,35 +98,21 @@ I've added **Show log** button to _usercard_ which turns _usercard_ into list of
91
98
92
99
So, to view log:
93
100
94
-
1. Find user, which log do you want to see, in list of users (`/viewuserlist`) or in list of blocked (`/viewblocklist`)
101
+
1. Find user, which log do you want to see, in list of users or in list of blocked
95
102
2. Request his _usercard_ by pressing user's inline button.
96
103
3. Tap **Show log** button
97
104
98
105
To view non-text messages tap on `/msgABCDEF` commands which would be placeholders for non-text messages in the list.
99
106
100
107
To reply back to user, press **Reply** button.
101
108
102
-
103
-
### Setting Start Message
104
-
You can set Start Message -- the message, which user sees when he/she starts the bot.
105
-
Use `/setstartmessage` command for setting it and `/viewstartmessage` for viewing it.
106
-
107
-
108
109
### Blocking and Unblocking Feature
109
110
It was messy and complicated for me in Mr_Gigabyte's implementation, so I've fully rewrited it.
110
111
111
-
There is a message which I call _usercard_. It has all information about user and an inline keyboard with only one button, which allows to block or unblock user. _Usercard_ can be requested by inline buttons, which could be found in all users list (`/viewuserlist`) and blocked user list (`/viewblocklist`)
112
+
There is a message which I call _usercard_. It has all information about user and an inline keyboard with only one button, which allows to block or unblock user. _Usercard_ can be requested by inline buttons, which could be found in all users list and blocked user list.
112
113
113
114
Data storage moved from couple text files to MongoDB, which will help us to add functionality in future.
114
115
115
-
So here are the commands connected to blocking:
116
-
117
-
*`/setblockmessage` <-- To **set the block text** that the user will see once he/she is blocked
118
-
*`/viewblockmessage` <-- To **view** your own block message
119
-
*`/viewuserlist` <-- To **view** all users in a list
120
-
*`/viewblocklist` <-- To **view** blocked users list
121
-
122
-
123
116
### Available and Unavailable Feature
124
117
There can be at times when you as an admin are unavailable or don't temporarily have access to the bot, but you at the same time want to notify all the users about your unavailability just like the way we have on answering machines ?
125
118
@@ -131,16 +124,9 @@ Your available status is managed automatically. I did this because I always forg
131
124
132
125
Status is set to **available** each time admin replies to user. After **1 hour** of inactivity it resets back to **unavailable**.
133
126
The expiration time is adjustable in config file.
134
-
To check the current status simply send **/checkstatus** to the bot
135
127
136
128
If your status is set to **unavailable** then the bot will send the message to the admin (as usually) and notify the user about the unavailability **( by sending an unavailable message)**
137
129
138
-
To set the unavailable message simply send:
139
-
*`/setunavailablemessage`
140
-
141
-
To view the unavailable message simply send:
142
-
*`/viewunavailablemessage`
143
-
144
130
145
131
## Notes and restrictions
146
132
1. Message formatting (both Markdown and HTML) is not supported.
@@ -149,26 +135,24 @@ To view the unavailable message simply send:
5. To block a user simply tap **Block** button under his _usercard_. It will change its name to **Unblock** and user will be blocked.
151
137
6. This bot only works in the private chats.
152
-
7. You can use the `/help` command to view all the commands which you can use an admin
153
-
154
138
155
139
## Upcoming Features
156
140
* Anti-Spam Feature, limiting messages sent per-second
157
141
* Broadcast feature for admins, they can broadcast a certain message to selected users they want
158
-
142
+
* Markdown support
143
+
* Group chats support
144
+
* Media support for saved messages
159
145
160
146
## Remember!
161
147
I understand, that "proxy" bots can be used to prevent spammers from being reported, so if you encounter such bots that are used to do "bad" things, feel free to report them: [[email protected]](mailto:[email protected])
162
148
163
-
164
149
## F.A.Q
165
150
#### 1. Will this bot work in groups/supergroups/channels?
166
151
For the time being this bot just works in private chats.
167
152
168
153
#### 2. Can I use Emojis in my saved messages (start, block and unavailable)?
169
154
Yes! You can use **ONLY** emojis or text in your saved messages, you cannot save stickers/gifs or any other media. Hope that links could help in your particular case.
170
155
171
-
172
156
## Contact
173
157
You can contact me via my [Proxy Bot](https://telegram.me/phash_bot)*[]:
0 commit comments