diff --git a/src/structures/client.ts b/src/structures/client.ts index 9ae8316..fc3e158 100644 --- a/src/structures/client.ts +++ b/src/structures/client.ts @@ -39,7 +39,7 @@ export class Client { this.bot.use(async (ctx, next) => { const user = ctx.from; - if (!user) await next(); + if (!user || user.is_bot) return await next(); const dbuser = await this.database.resolveUser(user!, true);