Removing ranks from the quote command

PhantomBot Version: 3.0.0 (Revision: fcc08b51)
OS Version: Linux
Java Version: 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10
Browser and Version (for Panel Support): Firefox 69.0.1 (64-bit)
Stock PhantomBot: No

I’m attempting to remove the ranks when the bot responds with a quote - I don’t see a way to change that in the quotes section on the panel, would I need to modify the code directly to do it? And if so, where?

You would have to modify the script ./scripts/systems/quoteSystem.js and change line 264 to

replace('(user)', $.username.resolve(quote[0])).

(Make sure to include the dot at the end)

Thanks! I’ll give that a shot

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.