-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathplugin.json
More file actions
19 lines (19 loc) · 907 Bytes
/
plugin.json
File metadata and controls
19 lines (19 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"id": "nodebb-plugin-telegram-notifications",
"name": "Telegram Notifications",
"description": "Allows NodeBB to send notifications over an TelegramBot!",
"url": "https://github.com/NodeBB-Community/nodebb-plugin-telegram-notifications",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "action:notification.pushed", "method": "pushNotification" },
{ "hook": "action:post.save", "method": "postSave"},
{ "hook": "action:user.saveSettings", "method": "saveUserSettings"},
{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
{ "hook": "filter:admin.header.build", "method": "addNavigation", "callbacked": true },
{ "hook": "filter:user.customSettings", "method": "addUserSettings"},
{ "hook": "filter:user.getSettings", "method": "getUserSettings"}
],
"templates": "static/templates",
"languages": "./languages"
}