<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:05:24] <Michiyo> %stats
L2[00:05:24] <MichiBot> Stats: https://oclogs.pc-logix.com/stats.html
L3[00:05:25] <MichiBot> Michiyo: https://irclogs.pc-logix.com/ssstats/oc/index.html
L4[00:05:33] <Michiyo> It's ok... it's half broken anyway
L5[00:05:43] <Michiyo> It's ok it's totally broken anyway
L6[00:05:54] <Michiyo> :P
L7[00:06:03] <Forecaster> http://tinyurl.com/y7stlcn8
L8[00:06:08] <Michiyo> stats should be a dyncmd anyway
L9[00:06:23] <Forecaster> I'll just delete that hook then
L10[00:06:24] <Michiyo> Oh
L11[00:06:26] <Michiyo> it can't be.
L12[00:06:37] <Michiyo> well I mean.. it *can* be but... not how it currently works
L13[00:06:38] <Forecaster> it can't?
L14[00:06:54] <Michiyo> currently if you send JUST stats it sends the base URL
L15[00:07:04] <Michiyo> but if you include an argument it sends a DIFFERENT link
L16[00:07:22] <Michiyo> AND somehow I'm overriding the base command WITH a dyncmd anyway
L17[00:07:28] <Forecaster> both of which are wrong currently :P
L18[00:07:30] <Michiyo> see above... where it sends both outputs
L19[00:07:57] <Michiyo> Yeah, stats are still broken but the base URL is https://irclogs.pc-logix.com/ssstats/oc/
L20[00:08:06] <Michiyo> %delcmd stats
L21[00:08:11] <Michiyo> %command delete stats
L22[00:08:14] <Michiyo> fuck you
L23[00:08:23] <Michiyo> %stats
L24[00:08:23] <MichiBot> Stats: https://oclogs.pc-logix.com/stats.html
L25[00:08:24] <MichiBot> Michiyo: https://irclogs.pc-logix.com/ssstats/oc/index.html
L26[00:08:26] * Michiyo shrugs
L27[00:08:29] <Forecaster> %command del stats
L28[00:08:30] <MichiBot> Forecaster: Command deleted
L29[00:08:35] <Michiyo> ah
L30[00:08:36] <Michiyo> k
L31[00:08:40] <Forecaster> %command
L32[00:08:46] <Forecaster> oh
L33[00:08:46] <Michiyo> %seen Michiyo
L34[00:08:47] <MichiBot> Michiyo was last seen 0s ago. Saying: %seen Michiyo
L35[00:08:54] <Forecaster> :O
L36[00:09:07] <Michiyo> I *THINK* that one was left as is for reasons(tm)
L37[00:09:29] <Forecaster> what?
L38[00:09:36] <Forecaster> no seen uses the Command class
L39[00:09:50] <Forecaster> it's tell that doesn't
L40[00:10:21] <Forecaster> tell doesn't even use the helper methods
L41[00:10:22] <Forecaster> event.getBot().sendIRC().message(dest, sender + ": " + "Who did you want to tell?");
L42[00:10:48] <Michiyo> seen looks like the previous style though?
L43[00:10:59] <Michiyo> so it needs updated anyway
L44[00:11:04] <Michiyo> but yeah seen and tell are fairly old
L45[00:12:04] <Michiyo> I mean... it uses "if (event.getClass().getName().equals("org.pircbotx.hooks.events.MessageEvent")) {" to figure out if it's a channel or query ffs! lol
L46[00:12:13] <Michiyo> theres methods for that now
L47[00:12:14] <Forecaster> oh, right, I just updated seen and then forgot I did
L48[00:12:26] <Michiyo> Ah, makes sense :P
L49[00:13:08] <Forecaster> it's fairly quick when they use modern methods
L50[00:13:20] <Forecaster> tell is a little trickier though because I have to update everything xD
L51[00:13:37] <Michiyo> Helper.sendMessage("Corded", nick.replace("@", "") +": " + results.getString(2) + " in " + results.getString(3) + " said: " + results.getString(4));
L52[00:13:39] <Michiyo> lol so hack.
L53[00:13:49] <Forecaster> wut
L54[00:14:02] <Michiyo> That's how you send tells to discord users :P
L55[00:14:06] <Forecaster> oh
L56[00:14:21] <Michiyo> %tell @"Forecaster" Which likely breaks with the quotes now too
L57[00:14:22] <MichiBot> Michiyo: @"Forecaster" will be notified of this message when next seen.
L58[00:14:31] <Forecaster> well I don't need to touch the handleMessage parts
L59[00:14:33] <Forecaster> yeah I know
L60[00:15:04] <Michiyo> but yeah, just saw that and laughed is all
L61[00:18:35] <Forecaster> oh good
L62[00:18:41] <Forecaster> timedBans also
L63[00:20:25] <Michiyo> Perfect time to yank that "if (!results.getString(1).equals("#Revolution")){" line out.
L64[00:20:26] <Michiyo> lol
L65[00:21:37] <Forecaster> old channel name?
L66[00:21:58] <Michiyo> Annoying channel name. users were getting upset that it was reporting unbans
L67[00:24:24] <Forecaster> oh, this is actually three commands
L68[00:24:26] <Forecaster> great
L69[00:24:30] <Michiyo> lol
L70[00:24:37] <Forecaster> wellp, time for some subCommand nonsense
L71[00:25:00] <Forecaster> %timed ban|quiet|list
L72[00:25:02] <Michiyo> as long as I don't have to %tban quiet mgr 24h spamming
L73[00:25:07] <Michiyo> :P
L74[00:25:22] <Michiyo> I can live with it, just giving you a hard time lol
L75[00:25:45] <Forecaster> I'll of course add aliases for the old commands so it will still work
L76[00:25:56] <Forecaster> it just makes more structural sense to use subCommands
L77[00:27:34] <Forecaster> I have never seen anyone use tquiet ever :P
L78[00:28:11] <Michiyo> https://irclogs.pc-logix.com/search?search=tquiet&case=1&chan=oc welp.
L79[00:28:12] <Michiyo> lol
L80[00:28:34] <Forecaster> :P
L81[00:38:20] <Forecaster> oh
L82[00:38:29] <Forecaster> someone already wrote a setTimedBan method in here...
L83[00:38:33] <Forecaster> but the command didn't use it
L84[00:39:13] <Forecaster> it's used in DNSBL and PhraseBan
L85[00:40:58] <Michiyo> Ah... right
L86[00:41:07] <Michiyo> Yeah I did that, never got around to making tban use it I guess
L87[00:41:36] <Forecaster> well I took the command codeblock and turned it into a new method that also does the quiet thing :P
L88[00:41:56] <Forecaster> which I'm going to call from the commands
L89[00:55:18] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) ()
L90[01:00:32] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L91[01:00:50] <Forecaster> woo it built with only one compile error
L92[01:00:59] <Forecaster> ?timed
L93[01:02:19] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client Quit)
L94[01:02:55] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L95[01:03:00] <Forecaster> ?timed
L96[01:03:23] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client Quit)
L97[01:03:39] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L98[01:03:51] <Forecaster> ?timed
L99[01:03:51] <ForeBot> Forecaster: Unknown sub-command '' (Try: ban, quiet, list)
L100[01:03:58] <Forecaster> ?timed list
L101[01:04:03] <Forecaster> welp
L102[01:04:06] <Forecaster> ?tlist
L103[01:04:18] <Forecaster> that works, but it doesn't do anything apparently
L104[01:04:45] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client Quit)
L105[01:05:01] <Forecaster> but also no "Something went wrong." so that's nice
L106[01:05:02] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L107[01:05:08] <Forecaster> ?tlist
L108[01:05:13] <Forecaster> ?timed list
L109[01:15:26] <Michiyo> tlist only outputs if there are bans to list
L110[01:15:36] <Michiyo> It should likely say "No bans" or something
L111[01:15:43] <Michiyo> Unless you've done that :P
L112[03:33:22] <Forecaster> yeah it doesn't, it seems
L113[03:35:04] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) ()
L114[03:35:20] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L115[03:35:38] <Forecaster> ?timed list
L116[03:35:38] <ForeBot> There are no bans or quiets at the moment. Why not add a few?
L117[03:40:53] <Saghetti> :PES_MonkaSweat:
L118[03:41:12] <Saghetti> that was the wrong one
L119[03:41:22] <Saghetti> :blobsweat:
L120[03:41:29] <Saghetti> there we go
L121[03:42:28] <Forecaster> ?tban
L122[03:42:28] <ForeBot> Forecaster: Something went wrong.
L123[03:44:05] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) ()
L124[03:44:21] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L125[03:44:35] <Forecaster> ?timed ban
L126[03:44:35] <ForeBot> You must specify a target, a time and optionally a reason.
L127[03:44:36] <ForeBot> Forecaster: Something went wrong.
L128[03:44:38] <Forecaster> ?tban
L129[03:44:38] <ForeBot> You must specify a target, a time and optionally a reason.
L130[03:44:39] <ForeBot> Forecaster: Something went wrong.
L131[03:44:42] <Forecaster> oh
L132[03:44:56] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client Quit)
L133[03:45:08] <Forecaster> forgot to return after sending the error message
L134[03:45:11] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L135[03:45:19] <Forecaster> ?tban
L136[03:45:20] <ForeBot> You must specify a target, a time and optionally a reason.
L137[03:45:30] <Forecaster> ?tban Saghetti
L138[03:45:30] <ForeBot> You must specify a target, a time and optionally a reason.
L139[03:45:31] <ForeBot> format %tban Username Time Reason: %tban MGR 24h Being MGR
L140[03:45:37] <Forecaster> oh hello
L141[03:46:50] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client Quit)
L142[03:46:56] <Saghetti> ok
L143[03:47:04] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L144[03:47:19] <Forecaster> ?tban Saghetti 2h
L145[03:47:37] <Forecaster> NOTICE ForeBot :You are not authorized to perform this operation.
L146[03:47:48] <Forecaster> great, that means it works, because it tried :P
L147[03:49:02] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) (Client Quit)
L148[03:49:17] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L149[03:49:40] <Forecaster> ?tban Saghetti 2h
L150[03:50:04] <Saghetti> i feel banned
L151[03:54:41] <Forecaster> Michiyo should dyncommands override hardcoded commands or vice-versa?
L152[03:55:16] <Forecaster> I'm going to make it check one first, and ignore the other unless there's no match
L153[03:58:43] <Forecaster> would probably make sense to have dyncommands have priority
L154[08:29:12] <Michiyo> dyncmds are supposed to check if they're overriding a command and yell at you
L155[08:29:32] <Michiyo> https://github.com/PC-Logix/LanteaBot/blob/master/src/main/java/pcl/lc/irc/hooks/DynamicCommands.java#L124
L156[08:29:45] <Michiyo> but.. that seems to not work all the time.
L157[08:47:49] <Forecaster> yeah because those parts were entirely separate before and it didn't care if the command existed twice and ran both of them as we saw earlier :P
L158[08:48:04] <Forecaster> but now I could make it so you could override a hardcoded command with a dyncommand
L159[08:51:24] * Michiyo shrugs
L160[08:54:33] <Forecaster> although if the command has a million aliases it becomes less practical
L161[09:04:46] <Amanda> $command add tban There is no bans, only zurg
L162[09:05:22] <Forecaster> yeah, but then you'd also have to override the "timed" command
L163[09:05:58] <Forecaster> and most commands have aliases...
L164[09:06:04] <Michiyo> dyncmd also requires higher than base permissions
L165[09:19:16] <Forecaster> oh hey
L166[09:19:29] <Forecaster> xkcd hasn't been updated
L167[09:19:39] <Forecaster> and it has private int permLevel = 0
L168[09:19:45] <Forecaster> and private int requiredPermLevel = 0
L169[09:19:47] <Forecaster> how nice
L170[09:20:33] <Forecaster> the hook also has a constructor??
L171[09:20:36] <Forecaster> that nothing uses??
L172[09:25:32] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) ()
L173[09:25:55] ⇨ Joins: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com)
L174[09:26:03] <Forecaster> ?xkcd
L175[09:26:11] <Forecaster> hm
L176[09:26:19] <Forecaster> ?xkcd 120
L177[09:26:20] <ForeBot> XKCD Comic Name: Dating Service URL: https://xkcd.com/120
L178[09:26:22] <MichiBot> XKCD Comic Name: Dating Service Posted on: 6/26/2006
L179[09:26:38] <Forecaster> thanks for the check MichiBot
L180[09:26:48] <Forecaster> ?xkcd Dating Service
L181[09:27:13] <Forecaster> %xkcd Dating Service
L182[09:27:14] <MichiBot> Forecaster: https://xkcd.com/120/ - *Dating Service - xkcd*: "Dating Service. | ยท >|. Permanent link to this comic: https://xkcd.com/120/ Image URL (for hotlinking/embedding): ..."
L183[09:27:19] <Forecaster> hm
L184[15:35:31] ⇦ Quits: ForeBot (ForeBot!~ForeBot@81-226-25-175-no600.tbcn.telia.com) ()
L185[23:17:56] ⇨ Joins: fittingly (fittingly!~frymaster@45.160.168.240)
<<Prev Next>> Scroll to Top