Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
feat: environment prefix in bot name
Browse files Browse the repository at this point in the history
Closes: #22
  • Loading branch information
dantetemplar committed Feb 14, 2024
1 parent 53b50c5 commit 1979367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
TOKEN=XXX
API_ROOT_PATH=XXX
REDIS_URL=redis://@127.0.0.1:6379/db
ENVIRONMENT=development
4 changes: 3 additions & 1 deletion src/constants.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
from aiogram import types
import os

environment = os.getenv("ENVIRONMENT", "development")
instructions_url = "https://bit.ly/inno-music-room"
how_to_get_url = "https://www.youtube.com/watch?v=mGfdun8ah3g"
tg_chat_url = "https://t.me/joinchat/DjhyZkBN-FmZStxTB40qwQ"
bot_name = "Music Room Bot"
bot_name = "Music Room Bot" if environment == "production" else "[dev] Music Room Bot"
bot_description = "Book a music room in the Innopolis Sport Complex. Made by @one_zero_eight"
bot_short_description = "Book a music room in the Innopolis Sport Complex. Made by @one_zero_eight"
bot_commands = [
Expand Down

0 comments on commit 1979367

Please sign in to comment.