Default value of PrintGuildsAndChannels & user privacy
bepvte opened this issue ยท 2 comments
I own a discord bot with many guilds, most of which I am not involved in. While it may be my bad for not checking the config file completely and not noticing the PrintGuildsAndChannels, some sensitive channel names appeared in my logs which I did not expect. If you think that this is an issue like I do, I believe there are a few different ways which this could be solved.
- Heuristic with "auto" setting
- detect if this is a personal bot with one guild or a large bot with many linked guilds, and dont print if many
- or just check if the channel id in the config is valid, and if so dont print channel names list
- Just set the default value to false and add instructions on enabling it or copying channel ids with discord tools to guide
- Move the config value much higher in the file and hope more people notice it
DiscordSRV should always run with a bot in 1 guild, it was never intended for public bots. The bot must be in those 'sensitive' channels (have the read messages permission), that's more worrying to me than it printing them out in your console.