Difference between revisions of "SetDebug.php"
From Bebot Wiki 2
Jump to navigationJump to search| Line 3: | Line 3: | ||
==== Description ==== | ==== Description ==== | ||
Allows Owner to set/get the bot's global debug setting in /tell | Allows Owner to set/get the bot's global debug setting in /tell | ||
| + | |||
| + | ===== Settings ===== | ||
| + | |||
| + | Verbose: Sets the debugger verbosity from 0 to 3 | ||
| + | |||
| + | 0: no verbosity | ||
| + | |||
| + | 1: shows cron duration | ||
| + | |||
| + | 2: shows cron jobs | ||
| + | |||
| + | 3: more details & log packets | ||
===== Commands provided ===== | ===== Commands provided ===== | ||
| Line 11: | Line 23: | ||
</pre> | </pre> | ||
| − | NB : if | + | NB : if Verbosity is 3, as soon debug is set on, the bot will spam more details in window & log binary packets into its log folder as aoc-debug-Y-m-d-His.bin |
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 18:34, 8 October 2026
SetDebug.php
Description
Allows Owner to set/get the bot's global debug setting in /tell
Settings
Verbose: Sets the debugger verbosity from 0 to 3
0: no verbosity
1: shows cron duration
2: shows cron jobs
3: more details & log packets
Commands provided
^Command ^Keyword ^Argument(s) ^Description ^Tell ^Guild ^Priv |!setdebug | | |Switches current value (on->off,off->on)|Owner | | | |!getdebug | | |Shows debug current value (on or off) |Owner | | |
NB : if Verbosity is 3, as soon debug is set on, the bot will spam more details in window & log binary packets into its log folder as aoc-debug-Y-m-d-His.bin