ViNo-community / nano-node-bot

Discord nano node bot
GNU General Public License v3.0
2 stars 0 forks source link

Deploy new Nano Node Bot version when we deploy Faucet #19

Open JohnGarnham opened 3 years ago

JohnGarnham commented 3 years ago

Made a few low priority security changes for Nano Node bot. Now only people with Core role will be able to access certain commands like set_prefix and set_logging. This will prevent randoms from messing around with the bot settings on the Community discord.

JohnGarnham commented 3 years ago

TODO: Also double-check log directory space. There shouldn't be anything abnormal but let's make sure the size of log files is staying sane and that nothing is blowing it up. Maybe delete logs every few months or so.

In the future I can make this automated within the bot. Or set a separate cron job to watch log files and delete them after a couple months.