Describe the bug
A Telegram user who does not own the Wing Commander bot instance can initiate a private chat with the bot based on the bot name, and the bot will respond to commands issued from this user.
Thanks to GoldXT for assistance with identifying this issue.
To Reproduce
Steps to reproduce the behavior:
Run your instance of Wing Commander.
Have another Telegram user start a private chat with your bot (based on the bot name)
Have the other user issue one of the commands to the bot.
Expected behavior
The bot MUST ignore all messages and commands from Telegram users who are not configured as the Admin (owner) of the bot instance within the config.toml file.
Describe the bug A Telegram user who does not own the Wing Commander bot instance can initiate a private chat with the bot based on the bot name, and the bot will respond to commands issued from this user.
Thanks to GoldXT for assistance with identifying this issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior The bot MUST ignore all messages and commands from Telegram users who are not configured as the Admin (owner) of the bot instance within the
config.toml
file.