Omnimaga

General Discussion => Technology and Development => Computer Programming => Topic started by: Digital on December 14, 2015, 01:28:39 pm

Title: nBot - my own IRC Bot
Post by: Digital on December 14, 2015, 01:28:39 pm
I have decided to start a programming project in python 3: my own IRC Bot!

You can find him on the omnimaga IRC network in #spam and #digital (his name is nBot).

The source is open for everyone (passwords aren't source code! :P) on here on github (https://github.com/DigitalChiller/IRCBot). Feel free to ask questions :P

Have Fun !

there are mainly two different kinds of commands he reacts to:
call and response:
Spoiler For some call and response commands:
wake up!
hey nBot
//me hugs nBot
: 3
nBot: take a note
everybody do the flop
muffiiin
!jump
!run
!party
pick
pock
pack
puck
and admin/user commands (try 'nBot: ?help').

TODO / Ideas / Features:
Spoiler For Spoiler:
(O) rewriting the call and response part
(O) allowing channel operators to control nBot to join and leave their channel
(  ) adding timed plugins (code snippets which are executed after every <amount of time>)
(  ) some other cool features I don't have in mind atm
(X) permission system
(X) aliases
(X) extensions
(X) Help command

(  ) = Nothing done  (O) = Half done (X) Done
Title: Re: nBot - my own IRC Bot
Post by: Sorunome on December 14, 2015, 03:12:58 pm
Yay, IRC bots are fun!
This is definitely way better than my first IRC bot...heehee.
Well, since I already kinda followed along some of it's dev, I can already say that this bot is looking like quite some nice engine ^^ (I wonder how long it'll survive on efnet :P)
Title: Re: nBot - my own IRC Bot
Post by: Digital on December 14, 2015, 03:32:34 pm
Quote
This is definitely way better than my first IRC bot...heehee.
To be honest, it isn't my first version, there are about 5 or 6 other older and thrown away versions of him on my pc :P

Quote
I can already say that this bot is looking like quite some nice engine
Thanks :D

Quote
I wonder how long it'll survive on efnet :P
well I haven't done any kind ouf disconnect-from-server-but-not-exiting handling yet so I presume until the next netsplit :P
Title: Re: nBot - my own IRC Bot
Post by: Digital on January 10, 2016, 06:30:42 am
YAY a new update! That means the source on github (http://github.com/DigitalChiller/IRCBot/) is up to date *now* and nBot has many new features.
For example, every global irc operator can make nBot part or join channels using the ':part' or  ':join' command. I also rewrote the call and response part and added a help command:
Code: [Select]
nbot: ?help [admin|users|<command>]

and a uptime command:
Code: [Select]
!uptime <nick> [uptime|sign-on|idle]