Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MasedMSD committed Nov 12, 2024
1 parent b12dcd5 commit f233218
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added src/media/welcome.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/structures/client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { autoQuote } from "@roziscoding/grammy-autoquote";
import { Bot, InputFile, type Context } from "grammy";
import { resolve } from "path";
import { cwd } from "process";
import type { UserFromGetMe } from "typegram";
import {
dickComposer,
Expand Down Expand Up @@ -73,9 +75,7 @@ export class Client {

this.bot.on(":new_chat_members", async ctx => {
if (ctx.chat.id !== -1001705068191) return;
ctx.replyWithAnimation(
"AAMCAgADHQJloUafAAEDeE9nMiZi1SoZuDd7RkI9dDJCKOHyCAACeicAAkAa6Eo4JnSpkt4gxwEAB20AAzYE"
);
ctx.replyWithVideo(new InputFile(resolve(cwd(), "src", "media", "welcome.gif")));
});

this.bot.catch(console.error);
Expand Down

0 comments on commit f233218

Please sign in to comment.