PublicPrintBot/config.example.yml

10 lines
581 B
YAML
Raw Normal View History

2024-09-18 13:18:58 +00:00
token: "whatever" # bot token obtained from @BotFather
maxRatio: 0.1 # if (width / height) < maxRatio then the sticker can't be printed. 0.1 means the image can be at most 1:10
maxQueueLength: 5
maxProjects: 5
admin: 1458106307 # user ID of the admin, obtained for example via @GetIDsBot
mac: "41:c2:6f:0f:90:c7" # MAC address of the printer
# password: hello # Users will need to input this before being able to print
# blacklist: [12345, 67890]
# whitelist: [12345, 67890]
# dontPrint: true # Enable if you don't want images to be actually printed (useful for debugging purposes)