Discord-OwO-Bot icon indicating copy to clipboard operation
Discord-OwO-Bot copied to clipboard

Repeated logic leading to message quirk

Open ms5984 opened this issue 1 year ago • 2 comments

owo-bot-bug-report-sane I have traced this back to crate.js#openCrate and lootbox.js#openMultiple, wherein the latter does not take the opportunity to consolidate common logic and/or simply delegate to the existing #openBox method (which is currently used only on execute of no-args!). I haven't done much js but I'd like to try either 1) writing conditional message code or 2) refactoring lootbox.js execute to more closely resemble crate.js execute and deduplicate common code in the process 🙂

ms5984 avatar Sep 09 '22 03:09 ms5984

Just a side note if you want to censor your name don't forget to censor the weapon id as well LOL! 😆

Caviarbro avatar Sep 09 '22 05:09 Caviarbro

Noted :P

ms5984 avatar Sep 09 '22 23:09 ms5984