forwards-long-jump / discotron

Modular Discord bot supporting plugins hosted on git repositories
MIT License
3 stars 5 forks source link

Hosting dynamic web content #73

Open RedMser opened 5 years ago

RedMser commented 5 years ago

Instead of forcing static web hosting based on a "pages" folder, give access to express.js so we can dynamically respond to routes. We need to ensure that route names do not conflict (maybe force prefixing with the plugin name?).

Use case could be detecting clicking a link that is sent by the bot, or hosting changing content (such as an activity feed). May even be extended to POST requests (forms).