feat: Enhance goodbye and welcome forms with new message types and image options

- Added support for different message types (text, embed, both) in goodbye and welcome forms.
- Implemented embed options including title, description, color, thumbnail, and footer for both forms.
- Introduced image options with gradient selection, title, subtitle, and member count display for goodbye and welcome messages.
- Updated API routes to handle new configuration parameters for saving and retrieving goodbye and welcome settings.
- Created a new function to generate welcome images with customizable gradients and text.
This commit is contained in:
Arthur Puechberty
2026-01-18 17:28:23 +01:00
parent 0ba91ac116
commit fac4b0c9e5
11 changed files with 1530 additions and 156 deletions
+3 -2
View File
@@ -23,13 +23,14 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"canvas": "^3.2.1",
"chartjs-node-canvas": "^4.1.6",
"connect-sqlite3": "^0.9.16",
"cross-fetch": "^4.1.0",
"discord.js": "^14.25.1",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"express-session": "^1.18.2",
"sqlite3": "^5.1.7",
"chartjs-node-canvas": "^4.1.6"
"sqlite3": "^5.1.7"
}
}