diff --git a/Client/app.js b/Client/app.js index 092e9ff..4b6dc73 100644 --- a/Client/app.js +++ b/Client/app.js @@ -54,7 +54,7 @@ app.use('/', indexRouter); // Discord bot control route app.use('/bot', (res, req, next) => { req.discordClient = discordClient; // Add the discord client to bot requests to be used downstream - next(res, req); + next(); }, botRouter); // Local client control route