This commit is contained in:
monty 2019-11-20 18:05:45 +01:00
commit 190d690d03
2 changed files with 11 additions and 0 deletions

View file

@ -76,6 +76,17 @@ module.exports = (client) => {
app.get('/invite', async (req, res) => {
res.redirect(invite);
});
app.get('/widgets', async (req, res) => {
res.status(200).render('widgets', {
layout: 'main',
lists: {
topgg: `<a href="https://top.gg/bot/434662676547764244" >
<img src="https://top.gg/api/widget/434662676547764244.svg" alt="Thaldrin" />
</a>`,
x: 'Not a real List'
}
});
});
/* app.get('/this', async (req, res) => {
res.json(client);
}); */

0
views/widgets.hbs Normal file
View file