forked from jrbgit/GraphLinq.TelegramBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_maint.py
More file actions
26 lines (22 loc) · 775 Bytes
/
config_maint.py
File metadata and controls
26 lines (22 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
File : config_maint.py
Author : GraphLinq Chain
Email : info@graphlinq.io
Website : https://graphlinq.io
Repository : https://github.com/jrbgit/GraphLinq.TelegramBot
Date : 2023-06-20
Version : 1.2
Description : Maint Config - Telegram bot for GraphLinq
"""
import os
from dotenv import load_dotenv
# Maintenance Mode 0 = Off, 1 = On
maint_mode = os.getenv('MAINT_MODE')
# Admin that can bypass maintenance mode
allowed_admin = os.getenv('ALLOWED_ADMIN')
# Maintenance Mode Messages
maint_mode_msg = 'This bot is in maintenance mode. Check back soon.'
maint_mode_log_msg_on = 'Maintenance Mode is ON!'
maint_mode_log_msg_off = 'Maintenance Mode is OFF!'