-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
102 lines (77 loc) · 2.69 KB
/
readme.txt
File metadata and controls
102 lines (77 loc) · 2.69 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
=== WP Slack Logbot ===
Contributors: ryotsun
Donate link:
Tags: Slack, log, post
Requires at least: 4.9
Tested up to: 5.1-alpha-20181015.143023
Requires PHP: 5.3
Stable tag: 1.6.0
License: GPLv2 or later
License URI: LICENSE
Stores all messages of particular channels on slack. And able to see them.
== Description ==
* Save all posts on slack to the database in WordPress
* It will be made blog posts by each channel per day
* Create categories by teams and channels automatically
== Installation ==
Follow the steps below.
= Install Plugin =
1. Upload this repository to `plugins` directory, or install from admin page.
1. Activate `WP Slack Logbot`
= Create Slack App =
In order to complete installation, need to create a slack-bot user and issue the `Bot User OAuth Access Token`.
1. Visit [SlackAPI](https://api.slack.com/apps) page and click `Create New App` button on the top right.
1. Fill-out the following fields, and click `Create App` button.
- `App Name`
- `Development Slack Workspace`
1. Add Bot User
1. Click `Bot User` link on the left side menu.
1. Fill-out the following fields, and click `Add Bot User`
1. Enable Event Subscriptions
1. Click `Event Subscriptions` link on the left side menu.
1. Turn `Enable Events` ON.
1. Put `Request URL` like following URL.
- `https://your-domain.com/wp-json/wp-slack-logbot/events/`
- Then, it would be verified.
1. Set the following `Subscribe to Workspace Events`
- `message.channels`
- `message.groups`
1. Set `Subscribe to Bot Events` like below
- `message.channels`
- `message.groups`
1. Click `Save Changes`
1. After saving completed, follow the direction
1. `OAuth & Permissions`
1. Click `OAuth & Permissions` link on the left side menu.
1. Click `Install App to Workspace` button
1. Then it will be shown `OAuth Access Token` and `Bot User OAuth Access Token`
- Copy `Bot User OAuth Access Token`
- This time, only use `Bot User OAuth Access Token`
= Plugin Settings =
1. Go to Plugin Setting page
1. Paste `Bot User OAuth Access Token` which is copied earlier.
1. Then click `Save Changes` button
= Invitation to the channel =
1. Invite `logbot` to the channels
- Both are allowed to invite logbot to the public channels and private channels.
== Frequently Asked Questions ==
No information
== Screenshots ==
No information
== Changelog ==
= 1.6 =
* Minor bug fixes
= 1.5 =
* Minor bug fixes
= 1.4 =
* Minor bug fixes
= 1.3 =
* Minor bug fixes
= 1.2 =
* Move setting link into `Settings`
= 1.1 =
* Enabled uninstall hook to delete option value and drop log table
= 1.0 =
* First release
== Upgrade Notice ==
No information