BigOokie / skywire-wing-commander

Wing Commander is a Telegram bot written in GO designed to help the Skyfleet community manage their Skyminers
MIT License
13 stars 5 forks source link

Allow Admin user config with or without @ symbol #14

Closed BigOokie closed 6 years ago

BigOokie commented 6 years ago

The bots config file currently expects the admin user will contain a leading @ symbol and messages will be accepted or rejected by the bot based on an exact match of this config string against the telegram user sending the message.

The bot should be more accommodating and automatically add the @ if it’s not there (at runtime). Possibly warn the user by a message at start up hinting they should correct the config

BigOokie commented 6 years ago

@BigOokie @aussie_eagle @Vinn1e This should help going forward.

BigOokie commented 6 years ago

Closed