Page 1 of 2

Community based IRC bot [ POLL ]

Posted: 08 Apr 2014, 08:01
by TLM
I recently figured out how to install a python bot on a shared server ( tested on godaddy, hostgator, dreamhost, justhost ).
If issued a ssh shell for this server, i'd be willing to install a dedicated bot for the #ahkscript channel.

I've been getting a lot of questions regarding an accurate, stable IRC bot in the IRC channel.
There are bots being developed by individuals but in the spirit of `community`,
it would be better if we all had a say as to query features etc.

Rather than complain about the current state of the bot(s),
I'm taking a proactive approach by asking the community what we should do.

Thanks for any feeback and or votes..

Re: Community based IRC bot [ POLL ]

Posted: 08 Apr 2014, 09:45
by joedf
wow, i didnt even know about this announcement till today. I feel that python is the right choice, since it will be a lot simpler because of dynamic memory allocation and some other features. I made mine in C only because i wanted to practice it.

Re: Community based IRC bot [ POLL ]

Posted: 09 Apr 2014, 22:31
by george2
I like this. Can we keep it on the ahkscript GitHubs? We could even set up automatic deployment on push to the master branch, with the help of some webhooks.

Re: Community based IRC bot [ POLL ]

Posted: 10 Apr 2014, 00:46
by joedf
Yes, good idea, making it the "official" ahkscript IRC Bot ;)
OpenSource to the public and accessible to all the members :)

Re: Community based IRC bot [ POLL ]

Posted: 10 Apr 2014, 22:47
by nimda
It would be cool to have it written in AHK, but let's face it, windows servers are expensive and sockets are hard.

+1 to Python on the ahkscript github account :)

Re: Community based IRC bot [ POLL ]

Posted: 13 Apr 2014, 17:08
by timeFlies
Uh, what?

Re: Community based IRC bot [ POLL ]

Posted: 13 Apr 2014, 17:36
by GeekDude
It may be worth mentioning that I'm currently running a bot written in AHK on #ahkscript called "GeekBot". GeekBot uses version 2 of my "MyRC" irc library. Both the bot and the library can be found in the repository at http://github.com/G33kDude/MyRC

Re: Community based IRC bot [ POLL ]

Posted: 13 Apr 2014, 17:40
by nnnik
THX I wanted to work on a bot for #ahkde.
Is it OK if I use that lib?

Re: Community based IRC bot [ POLL ]

Posted: 13 Apr 2014, 19:40
by GeekDude
nnnik: sure, just make sure to give credit all the places it's due (bentschi and me, with a hint of VxE (json lib) and maestrith (helped with various things)). Make sure to check the repo frequently for updates, as well, as it's still in development.

Re: Community based IRC bot [ POLL ]

Posted: 15 Apr 2014, 00:41
by Sjc1000
+1 for the community based bot.

Im guessing that sjBot is going to take the mantle?
Anyway, im in the middle of making sjBot v3. Which will use classes and such. Making it easier for anyone who may want to copy the source, or maintain it when i no longer do.

Re: Community based IRC bot [ POLL ]

Posted: 15 Apr 2014, 18:04
by joedf
I guess it could be a "fork" of the awesome sjBot. Python makes it so much simpler :D
C gives a brainfart sometimes... especially with memory leaks like the infamous Heartbleed :P

What do we call this "official" community-based IRC-Bot?
roboscripty? helpbot? idk lol? :D

Re: Community based IRC bot [ POLL ]

Posted: 16 Apr 2014, 00:21
by jNizM
skynet :D

Re: Community based IRC bot [ POLL ]

Posted: 19 Apr 2014, 13:50
by vasili111
It will be nice if bot will post message in #ahkscript when new topic is created in ahkscript.org forum.

Re: Community based IRC bot [ POLL ]

Posted: 19 Apr 2014, 21:32
by joedf
jNizM wrote:skynet :D
Touché! :lol:
vasili111 wrote:It will be nice if bot will post message in #ahkscript when new topic is created in ahkscript.org forum.
Excellent idea! Maybe, show who is online at the forum too :)

Re: Community based IRC bot [ POLL ]

Posted: 28 Apr 2014, 05:44
by Sjc1000
vasili111 wrote:It will be nice if bot will post message in #ahkscript when new topic is created in ahkscript.org forum.
This has been added to both sjBot v3 ( still not quite released ) and GeekBot ( GeekDude's bot ).
Excellent idea! Maybe, show who is online at the forum too :)
This is a nice idea. I shall make it a command in the next update, which will more than likely be the v3 release.

Re: Community based IRC bot [ POLL ]

Posted: 28 Apr 2014, 14:42
by joedf
Great! Once it's released, Ill revise the code. :)

Re: Community based IRC bot [ POLL ]

Posted: 01 Jul 2014, 07:25
by Sjc1000
So this will be interesting for anyone who wants a version of sjBot.


If you have python ( 2.7 ) installed on your server. Just put this on it, and run it. Instant sjBot!

Code: Select all

import os

print("Uptone Software installer. Now installing sjBot")
print("Removing old versions of sjBot and his files, just incase you have em ;)")

os.system("rm sjBot.py")
os.system("rm channels.txt")
os.system("rm chat.txt")
print("sjBot.py gone!\nchannels.txt gone!\nchat.txt gone!\nNow donwloading current version from ahkscripts github repo.")

os.system("wget https://raw.githubusercontent.com/ahkscript/sjBot/master/sjBot.py sjBot.py --no-check-certificate")
os.system("wget https://raw.githubusercontent.com/ahkscript/sjBot/master/channels.txt channels.txt --no-check-certificate")
os.system("wget https://raw.githubusercontent.com/ahkscript/sjBot/master/chat.txt chat.txt --no-check-certificate")
print("sjBot.py installed!\nchannels.txt installed!\nchat.txt installed!\n\n\nInstalation done!")

You will need to add the conf.ini file yourself. Here is a template.

https://github.com/ahkscript/sjBot/blob ... f_template

NOTE: YOU CAN RE-RUN THIS ANYTIME YOU WANT AN UPDATE!
This no longer works. Please let me know if you want this back.

Re: Community based IRC bot [ POLL ]

Posted: 01 Jul 2014, 19:47
by joedf
nice!

Re: Community based IRC bot [ POLL ]

Posted: 08 Nov 2014, 08:33
by GeekDude
Just wanted to mention in here that GeekBot's development is going very well. I'm happy to boast compatibility with wine 1.7, and have instructions in the readme on how to set him up in a terminal server environment (provided you have administrator privileges to install packages).

He currently runs on an ubuntu server installation in a corner of my house, along with a pastebin that integrates with him. The pastebin does not guarantee paste storage, as I store the pastes in /tmp, but in the future it will guarantee paste storage for 2 weeks since last viewed.

Re: Community based IRC bot [ POLL ]

Posted: 09 Nov 2014, 14:37
by joedf
That's real cool! :D