This repository has been archived by the owner on Jan 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
irc
39 lines (34 loc) · 2.02 KB
/
irc
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
1. `server` - IRC server (e.g. chat.freenode.net)
2. `port` - The port to connect to the server (optional). Default values: 6667 (No SSL) when `Ssl` not checked, 9999 (SSL) when `Ssl` is checked.
freenode servers listen on ports 6665, 6666, 6667, 6697 (SSL only), 7000 (SSL only), 7070 (SSL only), 8000, 8001 and 8002.
3. `room` - Supports single or multiple rooms (comma separated).
Also supports room passwords (room_name::password). Prefixing '#' to the room is optional.
4. `password` - Server password (optional)
5. `nick` - Nickname for the bot (optional)
6. `nickserv_password` - Password for the server's [NickServ](http://en.wikipedia.org/wiki/Internet_Relay_Chat_services) (optional)
7. `long_url` - Displays full compare/commit url's. Uses git.io if disabled.
8. `message_without_join` - Prevents join/part spam by the bot. See step 13.
9. `no_colors` - Disables color support for messages.
10. `notice` - Sends as a notice rather than a channel message.
11. `branch_regexes` - Regular expressions for branch name matching (optional, comma separated).
For example, only master => `^master$`, master & starts with bug => `master,^bug`.
12. `active` - Activates the bot.
13. Configure your IRC channel to allow external messages, necessary for the `message_without_join` option.
`/mode #channelname -n` or `/msg chanserv set #channelname mlock -n`
Here's an example for freenode:
# server: chat.freenode.net
# port: 6667
# room: #channelname
# message_without_join: checked
# long_url: checked
# notice: checked
# active: checked
# NOTE: Ensure you enable notice support (see above)
For troubleshooting, run the following curl command to get diagnostic information from GitHub.
# Replace
# USERNAME:PASSWORD with your GitHub username and password. Username is
# your full username as used when signing in.
#
# USERNAME/REPONAME with your repo name as it shows in GitHub.
$ curl -u "USERNAME:PASSWORD" -in \
https://api.github.com/repos/USERNAME/REPONAME/hooks