UnifierHQ / unifier

A cross-server and cross-platform bridge bot that works just as fast as you can type 🚀
https://wiki.unifierhq.org
GNU Affero General Public License v3.0
12 stars 17 forks source link

Safemode not accessible in some cases. #173

Closed NullyIsHere closed 2 months ago

NullyIsHere commented 2 months ago

Checklist

Problem

In hosts that use Pterodactyl, or any panel to be realistic. You normally cant modify the start command, only the .py to launch, therefore its not easy to enable safemode.

Proposed solution

Now that we have a bootloader, we could modify restart command like so: u!restart - Normal Restart u!restart safemode - Restarts with safemode

Alternatives considered

You could technically put in the python file like this "unifier.py safemode". But some host prohibit + can trigger anti abuse systems.

Additional context

Didnt put any label because ita not technically a bug.

greeeen-dev commented 2 months ago

submits a bug report

"Didnt put any label because ita not technically a bug."

what

(on a serious note, i will fix this after my math exam)

Arhznblaster commented 2 months ago

i'll make a half fix wait

Arhznblaster commented 2 months ago

nvm im also busy lol

greeeen-dev commented 2 months ago

working on it now

greeeen-dev commented 2 months ago

should be resolved in https://github.com/UnifierHQ/unifier/commit/70c10f4a61b6e932a1e2b6427cd178daf05c9a01