Skip to content

Commit

Permalink
chore: Change logger state; Change regex for profile
Browse files Browse the repository at this point in the history
  • Loading branch information
richardscull committed Dec 29, 2023
1 parent 761ee10 commit ba1c7c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "./utils/checkEnv";

// 📃: Used for debugging purposes.
// If you are not a developer, it's better to leave options below as is.
export const USELOGGER = true;
export const USELOGGER = false;
export const BRANCH = "PROD" as "DEV" | "PROD";

import "./utils/watermark"; // Print watermark in console
Expand Down
2 changes: 1 addition & 1 deletion src/telegram/commands/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Sanitize from "../../utils/sanitizeMarkdown";
import { Attributes } from "../client";

module.exports = {
regex: /profile$/,
regex: /^\/profile$/,
requireToken: true,
async execute(attr: Attributes, localizationFile: any) {
const { ctx, msg, userId } = attr;
Expand Down

0 comments on commit ba1c7c2

Please sign in to comment.