blob: fd45d4ed6a98c186830a0bacafde9074037bacbb (
plain)
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
|
irssi-slack-profile
===================
An Irssi plugin that provides WHOIS-style profile information about Slack
users.
## Configuration
In order to use this script, a Slack API token _must_ be configured to request
user profile information. A token can be obtained from
https://api.slack.com/docs/oauth-test-tokens. Add it with:
/set slack_profile_token TOKEN
## Usage
To query a user's profile, run the `/swhois` command with their nick:
/swhois nick
/swhois @nick
The resulting output will appear as:
00:00 -!- Irssi: nibbler
00:00 -!- Irssi: name : Lord Nibbler
00:00 -!- Irssi: email : nibbler@example.com
00:00 -!- Irssi: phone : 2125553455
00:00 -!- Irssi: tz : Eastern Daylight Time
00:00 -!- Irssi: End of SWHOIS
## License
Copyright © 2016 Teddy Wing. Licensed under the GNU GPLv3+ (see the included
COPYING file).
|