ytturi / MortDeGana_Bot

Bot for Fun
MIT License
5 stars 6 forks source link

Allow opt-in for storing data #40

Open ytturi opened 3 years ago

ytturi commented 3 years ago

Following #39 , The bot will collect user data (username and group_id), when the database is used. This should be easily accesible by any user using the bot (i.e. /help) and have an opt-in capability instead of working by default when the database is set on bot-level.

The way to do this would be to have an "allowed groups" table in the database and an /opt-in command (or similar). When the bot enters the group, send a message informing of its usage.