Skip to content

Commit

Permalink
fixed id for groups
Browse files Browse the repository at this point in the history
  • Loading branch information
MasedMSD committed Oct 23, 2024
1 parent 4b8f7ab commit 71f9d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class Client {

this.bot.use(async (ctx, next) => {
const user = ctx.from;
if (!user || user.is_bot) return await next();
if (!user || user.is_bot || user.id == 777000) return await next();

const dbuser = await this.database.resolveUser(user!, true);

Expand Down

0 comments on commit 71f9d1e

Please sign in to comment.