Gocnak / Botnak

A Java-based IRC chat client with focus on Twitch.tv streams.
https://gocnak.github.io/Botnak
MIT License
68 stars 28 forks source link

To-Do 10/1/13 #1

Closed Gocnak closed 11 years ago

Gocnak commented 11 years ago

GUIMain: remove lines 115 and 116, as they do not need to be initialized here. Assign the title of the frame appropriately (check for bot, if channel is actually live, etc).

GUIStreams: move #readList(JList) (ln. 141) and #handleList() (ln. 152) from Utils to this class

IRCBot: Rid chatTime and !setreply (make a constant 5 second ask period or something), ~~add a "!stopsound" command (only stop the sound [useful for long songs/sounds] and not toggle it off), ~~ make Admins and Staff have Mod permissions (ln 138 and 222) handleDev() is looking pretty bare... maybe it's its time to go :'(

Utils: Combine checkAndAdd() and addStringsToArray() (ln 169 and 185)

Consider making a Commands class to handle commands a lot better, getting rid of the nasty StringArray and Timer duo HashMap and potentially add the newline support as well. This will rid the horrendous getTimer(), getMessage(), handleMessage() etc methods from Utils and IRCBot and make it neater overall. It can also follow the permission format of sounds, where certain commands can be for certain people, though that's pretty rare.

Look into animated gifs as faces. (Considered to potentially be obnoxious/abused.)

Look into combining tabs, (drag one tab onto the other, only temporarily?) with the ability to separate them back (right click [or control-click] the conjoined tab?), as well as a "pop out" ability. Maybe a menu for right click, control click could be a shortcut to separate? Links of interest: http://stackoverflow.com/questions/60269/how-to-implement-draggable-tab-using-java-swing http://docs.oracle.com/javase/tutorial/uiswing/components/menu.html#popup

SRL compatibility can come when they're done re-writing the site (or at least, the IRC/racebot portion of it).

Ensure that the bot works with just one viewer account (and assign the title appropriately, see the GUIMain todo) - making the todo of making a "viewer branch" solved once and for all.