<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[05:21:23] ⇦ Quits: Kodos (~Kodos@2602:306:ce20:6c30:f554:543b:dcb7:ccb2) (Read error: Connection reset by peer)
L2[06:57:31] <Forecaster> Katie: what does OutputIRC.notice() do?
L3[06:57:45] <Forecaster> is that like a cctp notice?
L4[07:01:51] <Forecaster> or is it a private message?
L5[10:57:50] <Caitlyn> Notices aren't ctcps?
L6[10:58:11] <Caitlyn> they're like privmsgs but there not supposed to be auto replied to by clients/bots
L7[13:02:45] <Forecaster> ah
L8[13:04:11] <Caitlyn> but yeah, you can notice a person, or a channel, though channel notices are frowned upon
L9[13:04:21] <Caitlyn> as they can be annoying, and sometimes show up in the wrong channel
L10[13:05:01] <Caitlyn> Kibibyte used to channel notice and sooooo many people bitched
L11[13:05:14] <Caitlyn> Per the IRC spec, that's what it was supposed to do... but it annoyed people
L12[13:08:22] <Forecaster> well I tried to make it notice be by using a couple of admin commands but it didn't do anything
L13[13:08:39] <Forecaster> but I guess they're supposed to use notices instead of regular messages?
L14[13:08:51] <Forecaster> I wasn't sure if it was something old and outdated or not
L15[13:09:07] <Forecaster> when I was working on porting the admin commands to the new system earlier today
L16[13:09:25] <Caitlyn> I've been using event.getUser().send().notice
L17[13:10:11] <Forecaster> I don't have passing the event to onOxecuteSuccess as an option right now
L18[13:10:11] <Caitlyn> bot.sendIRC().notice is useful if you don't have a user context
L19[13:10:16] <Forecaster> I guess I should add that
L20[13:10:34] <Caitlyn> bot.sendIRC().notice(nick, "message")
L21[13:10:49] <Forecaster> I left that code at work though, so I can't work on it until tomorrow
L22[13:10:52] <Caitlyn> of course... you need to event to getBot
L23[13:10:59] <Caitlyn> s/to/the/
L24[13:11:07] <Caitlyn> %sed enable
L25[13:11:13] <MichiBot> Caitlyn: Enabled SED for this channel
L26[13:11:17] <Caitlyn> s/to/the/
L27[13:11:17] <MichiBot> <Caitlyn> of course... you need the event to getBot
L28[13:11:32] <Forecaster> you do?
L29[13:11:34] <Forecaster> hm
L30[13:11:40] <Forecaster> then how did I get it
L31[13:11:48] <Caitlyn> though... since I don't support multiple connections I suppose you could just use the global bot..
L32[13:11:50] <Forecaster> I can't remember now...
L33[13:12:31] <Caitlyn> you likely used IRCBot.bot
L34[13:12:34] <Forecaster> pretty sure I did what the admin commands used
L35[13:13:10] <Forecaster> or not, since that uses event
L36[13:13:16] <Forecaster> so yeah, probably that
L37[13:13:20] <Forecaster> :P
L38[13:13:26] <Forecaster> I'll look it over again tomorrow
L39[13:13:28] <Caitlyn> the admin commands mainly use event.getBot
L40[13:13:39] <Caitlyn> there is one instance of IRCBot.bot, but it's commented out
L41[13:14:33] <Forecaster> I think it's nice to have the different commands clearly separate from eachother... giant if chains are annoying
L42[13:16:42] <Caitlyn> I'm considering adding a webpage for help..
L43[13:17:22] <Caitlyn> same as like inventory, if web server is enabled send link to page, if not paste it, cause ATM the giant spam of commands is next to useless
L44[13:17:47] <Forecaster> :P
L45[13:18:13] <Forecaster> I kind of wanted to overhaul the command docs a bit too
L46[13:18:35] <Forecaster> make it so the command object holds the help text
L47[13:18:54] <Forecaster> then you can iterate over the commands and get it from there, and the sub commands can have their own help texts
L48[13:22:40] <Forecaster> you know, theoretically :P
L49[13:23:00] <Forecaster> I haven't looked at the command registering system yet
<<Prev Next>> Scroll to Top