Resetting the config of the telegram bot in BoS

In BoS, when finishing setting up the telegram bot, I must have made a mistake when entering my api key when it asked because now, every time i run the command “bos telegram”, I get only multiple lines of errors starting and ending with : "UnhandledPromiseRejectionWarning: Error: 401: Unauthorize at Telegram.callApi "

My question is how to delete that wrong api key for the telegram bot so I can re-enter my credentials properly?
Thanks a lot!

I got it, I can use:
bos --reset-api-key

Or editing it manually:
sudo nano ~/.bos/telegram_bot_api_key

1 Like