Skip to content

Reading Server Logs (Deprecated)

Zhongning Li edited this page Dec 3, 2023 · 1 revision

This page is deprecated

yet another better office hours bot

Reading the logs

By default, the 2 built in command handlers will log to the console with the following format.

Commands

[9/21/2022, 2:38:26 PM] [local-bob-test-0, 12345678987654] User gigachad2 (987234567898765) used /queue add queue_name:ECS 999

It will have a time stamp in cyan, server name and id in yellow (could be a different color depending on what your terminal think cyan and yellow means), then the user's displayName and what command they used. Everything after used is from command.toString()

Buttons

Similar format, except that the word wrapped in brackets is the customId of the button.

[9/21/2022, 2:38:26 PM] [local-bob-test-0, 12345678987654] User gigachad2 (987234567898765) pressed [refresh] in queue: ECS 20.