mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
Chaging Config file name to work in Heroku
This commit is contained in:
26
Config/Configs.py
Normal file
26
Config/Configs.py
Normal file
@@ -0,0 +1,26 @@
|
||||
from decouple import config
|
||||
from Config.Singleton import Singleton
|
||||
|
||||
|
||||
class Configs(Singleton):
|
||||
def __init__(self) -> None:
|
||||
if not super().created:
|
||||
self.COMMANDS_PATH = 'Commands'
|
||||
self.BOT_TOKEN = config('BOT_TOKEN')
|
||||
self.SPOTIFY_ID = config('SPOTIFY_ID')
|
||||
self.SPOTIFY_SECRET = config('SPOTIFY_SECRET')
|
||||
self.CLEANER_MESSAGES_QUANT = 5
|
||||
|
||||
self.BOT_PREFIX = '!'
|
||||
self.VC_TIMEOUT = 600
|
||||
|
||||
self.MAX_PLAYLIST_LENGTH = 50
|
||||
self.MAX_PLAYLIST_FORCED_LENGTH = 5
|
||||
self.MAX_PRELOAD_SONGS = 10
|
||||
self.MAX_SONGS_HISTORY = 15
|
||||
|
||||
self.INVITE_MESSAGE = """To invite Vulkan to your own server, click [here]({}).
|
||||
Or use this direct URL: {}"""
|
||||
|
||||
self.MY_ERROR_BAD_COMMAND = 'This string serves to verify if some error was raised by myself on purpose'
|
||||
self.INVITE_URL = 'https://discordapp.com/oauth2/authorize?client_id={}&scope=bot'
|
||||
Reference in New Issue
Block a user