Absurd Minds
http://forums.absurdminds.net/

nick_bot - An IRC bot written in Java
http://forums.absurdminds.net/viewtopic.php?f=58&t=3650
Page 1 of 1

Author:  GoatMips [ 11 Aug 2016 17:23 ]
Post subject:  nick_bot - An IRC bot written in Java

So, this thing has been consuming lots of my time the past few weeks, so that is where I probably was if you were wondering.

https://github.com/Nickster258/nick_bot

In total I have written over 700 lines for this project and I plan on doing much more with it and eventually restructuring it to a proper object oriented program.

At the moment I am still assembling basic stuff but I have so far assembled cool functions such as interfacing with the Slack API in posting messages and a cool URL shortener function with the bitly API.

Author:  Amaroq [ 11 Aug 2016 17:47 ]
Post subject:  Re: nick_bot - An IRC bot written in Java

Dang I have no idea what it is, but I'm impressed that you could do it.

Author:  serialp0rt [ 11 Aug 2016 18:09 ]
Post subject:  Re: nick_bot - An IRC bot written in Java

I Really doubt most people will know anything he just said. I Suggest you dumb it down if you want anyone to have any sense of what you just said.

Author:  GoatMips [ 11 Aug 2016 18:29 ]
Post subject:  Re: nick_bot - An IRC bot written in Java

Essentially it is an IRC bot that listens to specific trigger events that, once called, does unique things. From sending a message to an entirely new service, or just returning a shortened URL of what was pasted.

I made a public IRC library for this, IRCBot.java, that does lots of this for you. You can make an IRCBot rather easily and read/write what you wish through it.

Author:  serialp0rt [ 11 Aug 2016 20:12 ]
Post subject:  Re: nick_bot - An IRC bot written in Java

thats cool!

Author:  GoatMips [ 11 Aug 2016 21:08 ]
Post subject:  Re: nick_bot - An IRC bot written in Java

I just added a function that searched Urban Dictionary for terms and returned either the definition, or "No results found".

https://github.com/Nickster258/nick_bot ... .java#L294

Author:  GoatMips [ 11 Aug 2016 21:23 ]
Post subject:  Re: nick_bot - An IRC bot written in Java

Found this out of the madness that ensued after publishing changes:

http://www.urbandictionary.com/define.php?term=bush

Author:  GoatMips [ 12 Aug 2016 23:41 ]
Post subject:  Re: nick_bot - An IRC bot written in Java

Learned multithreading and added timeout.java.

This is used along side users.java and this method for anti-spam measures.

Currently only 5 requests per minute.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/