I'm a beginner. I'm building a discord bot and i need help with database design for plugins/subplugins. the structure i have thought of.

a plugin may or may not have configs, subplugins or values.

example of plugin with only values:

  • auto_message: each value is defines a message to send at X interval

example of plugin with only configs:

  • welcome: config stores the message to send and the channel to send it when a member joins a server

example of plugin with subpluggins:


├── lockdown

├── mute_ban

├── appeals

configs holds like the settings or general parameters. while values, if applicable, holds one 'instance' of the functionality of plugin.

feedback please

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.