first commit probably lots of errors
This commit is contained in:
commit
ec94c2080b
99 changed files with 10227 additions and 0 deletions
11
src/express/get/root/root.js
Normal file
11
src/express/get/root/root.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* licence https://github.com/404invalid-user/knightrider/blob/main/LICENCE
|
||||
*/
|
||||
const conf = require('../../../conf/conf.json')
|
||||
module.exports = {
|
||||
name: '/',
|
||||
dynamic: false,
|
||||
exe(client, req, res) {
|
||||
res.render('index.ejs', { bot: { name: conf.bot.name }, servers: client.guilds.cache.size, users: client.guilds.cache.reduce((acc, guild) => acc + guild.memberCount, 0) });
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue