Popcorn-moe / migi

Our right hand to write Discord bots
MIT License
7 stars 3 forks source link

Configuration command #6

Open cchudant opened 6 years ago

cchudant commented 6 years ago

hey how about a !conf command?

3 args:

of course we need to check if the sender is owner (of the bot) before doing any change

that would meen the value should be json5-parsed to enable values like [55, 11] and objects and more if the value is undefined then we should delete the key (or comment it like we do when we generate config file)