30 lines
901 B
Python
30 lines
901 B
Python
import discord
|
|
import os
|
|
|
|
from essentials.secrets import SECRETS
|
|
|
|
|
|
class Settings:
|
|
def __init__(self):
|
|
self.color = discord.Colour(int('7289da', 16))
|
|
self.title_icon = "https://i.imgur.com/vtLsAl8.jpg" #PM
|
|
self.author_icon = "https://i.imgur.com/TYbBtwB.jpg" #tag
|
|
self.report_icon = "https://i.imgur.com/YksGRLN.png" #report
|
|
self.owner_id = os.environ.get('OWNER_ID')
|
|
self.msg_errors = True
|
|
self.log_errors = True
|
|
self.invite_link = \
|
|
'https://discordapp.com/api/oauth2/authorize?client_id=%s&permissions=126016&scope=bot' % (os.environ.get('INVITE_CLIENT_ID'))
|
|
|
|
self.load_secrets()
|
|
|
|
def load_secrets(self):
|
|
# secret
|
|
self.dbl_token = SECRETS.dbl_token
|
|
self.mongo_db = SECRETS.mongo_db
|
|
self.bot_token = SECRETS.bot_token
|
|
self.mode = SECRETS.mode
|
|
|
|
|
|
SETTINGS = Settings()
|