-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
25 lines (25 loc) · 803 Bytes
/
Copy pathplugin.json
File metadata and controls
25 lines (25 loc) · 803 Bytes
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
{
"id": "nodebb-plugin-reply-as-bot",
"name": "Reply As Bot",
"description": "Allows authorized groups to reply as a configured bot user.",
"url": "https://github.com/palmoni5/nodebb-plugin-reply-as-bot",
"library": "./library.js",
"languages": "./languages",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:topic.reply", "method": "filterTopicReply" },
{ "hook": "filter:post.create", "method": "markBotReplyPost" },
{ "hook": "action:post.save", "method": "logBotReply" }
],
"scripts": [
"./static/lib/client.js"
],
"modules": {
"../admin/plugins/reply-as-bot.js": "./static/lib/admin.js"
},
"scss": [
"./static/scss/client.scss"
],
"templates": "static/templates"
}