MitchellHarrison / stream-environment

Python. Postgres. Docker. | Microservices in pursuit of a better, more interactive live stream. https://twitch.tv/mitchsworkshop
https://twitch.tv/mitchsworkshop
MIT License
20 stars 12 forks source link

Let users opt out/in of chat message storage #58

Open MitchellHarrison opened 2 years ago

MitchellHarrison commented 2 years ago

An optout and optin command would let users opt out/in of all chat messages being stored. They wouldn't be included in things like !rank or !leaderboard due to being missing from the DB. We could cache these user_id's at startup and when someone uses the optin or optout commands.

MitchellHarrison commented 2 years ago

optout should replace forgetme, and also delete past user messages like forgetme currently does. optin will resume user message storage.