-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py
More file actions
35 lines (25 loc) · 751 Bytes
/
Copy pathconfig.py
File metadata and controls
35 lines (25 loc) · 751 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
27
28
29
30
31
32
33
34
35
import discord
from os import environ
TOKEN = environ["TOKEN"] # Bot token goes here
MONGO = environ["MONGO"] # MongoDB database URI
DB_NAME = environ["DB"]
USER_COL_NAME = "users"
COL_COL_NAME = "tags"
SERVER_COL_NAME = "server"
TIMER=0
PREFIX=">>"
MAX=50
def modify_prefix_timer_max(prefix=None, timer=None, max=None):
global TIMER, PREFIX, MAX
if timer is not None:
TIMER = timer
if prefix is not None:
PREFIX = prefix
if max is not None:
MAX = max
NORMAL_COLOR = discord.Color.dark_theme()
ERROR_COLOR = discord.Color.red()
NEXT_EMOJI = "<:next:964507779765272648>"
PREV_EMOJI = "<:prev:964508551915634768>"
FIRST_EMOJI = "<:first:964508851166646272>"
LAST_EMOJI = "<:last:964508277809496125>"