diff --git a/src/api/bot/core.ts b/src/api/bot/core.ts index 84ac9a9b6e..bc5818d976 100644 --- a/src/api/bot/core.ts +++ b/src/api/bot/core.ts @@ -140,7 +140,7 @@ export default class BotCore extends EventEmitter { public async showUserCommand(q: string): Promise { try { - const user = await require('../endpoints/users/show')({ + const user = await require('../../endpoints/users/show')({ username: q.substr(1) }, this.user);