-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.json
27 lines (27 loc) · 1.68 KB
/
config.json
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
27
{
"bot": {
"telegram_token": "-- YOUR TELEGRAM BOT TOKEN --",
"admins": ["314919386"],
"path_to_html": "./public_html/index.html",
"allowed_image_types": ["png", "jpg", "gif", "jpeg", "bmp", "tiff"]
},
"msg": {
"markdown": true,
"no_permission": "You do not have permission to access this bot. \nPlease message @nullping if you think this is an error.",
"info_text": "Please *choose the action* you want to perform by clicking a button below.",
"about_text": "This bot is able to create posts on a static website. For questions contact @nullping",
"create_post_text": "Please enter the text of the Post. \n(`!--c` to cancel)",
"create_post_text_confirm": "Text has been saved!",
"create_post_picture": "Please send the post image or an URL to it. \n(`!--c` to cancel)",
"create_post_picture_confirm": "Picture has been saved!",
"create_post_confirm": "All done! Post has been made.",
"invalid_text": "The provided text seems to be invalid! It must not be an image or a sticker.",
"invalid_image_url": "It appears the provided Image URL is invalid.",
"invalid_image_type": "The provided image type is invalid.",
"unknown_error": "Something unexpected happened! Please try again or contact @nullping",
"delete_post": "Please type in the number of the post you want to delete. (Anything else to cancel)\n\nWARNING: There is no confirmation and the image is deleted as well!",
"post_not_found": "This post does not exist. Aborting...",
"post_deleted": "The post has been deleted!",
"operation_canceled": "The operation has been canceled."
}
}