This commit is contained in:
parent
d6c11e31f3
commit
844c62e257
|
@ -140,7 +140,7 @@ export default class BotCore extends EventEmitter {
|
||||||
|
|
||||||
public async showUserCommand(q: string): Promise<string | void> {
|
public async showUserCommand(q: string): Promise<string | void> {
|
||||||
try {
|
try {
|
||||||
const user = await require('../endpoints/users/show')({
|
const user = await require('../../endpoints/users/show')({
|
||||||
username: q.substr(1)
|
username: q.substr(1)
|
||||||
}, this.user);
|
}, this.user);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue