Skip to content

Commit

Permalink
little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MasedMSD committed Oct 3, 2024
1 parent 10d0854 commit 9216cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/dick.composer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const dickComposer: Composer<Context & { database: Database }> = new Comp

dickComposer.command("dick", async ctx => {
if (ctx.chat.id == -1001705068191 || ctx.chat.type !== "private")
return ctx.reply("Пожалуйста, используйте эту команду в личных сообщениях или другом чате!");
return ctx.reply("Пожалуйста, используйте эту команду в личных сообщениях бота или другом чате!");

const user = ctx.msg.from!;
const db_user_dick = (await ctx.database.resolveDick(user, true))!;
Expand Down

0 comments on commit 9216cba

Please sign in to comment.