Minor fix for the PR announcer.

Also includes a config file made specifically for /tg/ Sibyl.
This commit is contained in:
VistaPOWA
2014-05-10 00:36:24 +02:00
parent 064876a546
commit 170af99fec
3 changed files with 10 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
serverip = 127.0.0.1 //SS13 server IP
serverport = 1337 //SS13 server port
commskey = fill_your_own_in //API key of the server
GitHub_bot_name = TheGhostOfWhibyl1 //It'll get the data from this bot
IRC_bot_name = PR_Listener_Bot //This'll be our name
IRC_server = irc.rizon.net:6670 //format - server:port
IRC_channel = #coderbus
Nickserv_auth = _NONE_ //leave _NONE_ if your bot does not require nickserv authentication
Binary file not shown.
@@ -232,7 +232,7 @@ namespace sendkeys_ss13
{
if (msg.Length >= 4)
{
if (msg[3] == "Merge") //Someone is merging something
if (msg[3] == "Merge" && msg[1] != "meant:") //Someone is merging something
{
mergedPR = msg[6];
if (merge_archive != null)
@@ -249,7 +249,7 @@ namespace sendkeys_ss13
}
}
}
if (msg[2] == "closed")
if (msg[2] == "closed" && msg[1] != "meant:")
{
merge_archive = msg;
if (mergedPR != null)