mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
Changing folders names and adding more concrete classes of controllers and viewers
This commit is contained in:
34
config/Colors.py
Normal file
34
config/Colors.py
Normal file
@@ -0,0 +1,34 @@
|
||||
from Config.Singleton import Singleton
|
||||
|
||||
|
||||
class Colors(Singleton):
|
||||
def __init__(self) -> None:
|
||||
self.__red = 0xDC143C
|
||||
self.__green = 0x1F8B4C
|
||||
self.__grey = 0x708090
|
||||
self.__blue = 0x206694
|
||||
self.__black = 0x23272A
|
||||
|
||||
@property
|
||||
def RED(self) -> str:
|
||||
return self.__red
|
||||
|
||||
@property
|
||||
def GREEN(self) -> str:
|
||||
return self.__green
|
||||
|
||||
@property
|
||||
def GREY(self) -> str:
|
||||
return self.__grey
|
||||
|
||||
@property
|
||||
def BLUE(self) -> str:
|
||||
return self.__blue
|
||||
|
||||
@property
|
||||
def BLACK(self) -> str:
|
||||
return self.__black
|
||||
|
||||
@property
|
||||
def RED(self) -> str:
|
||||
return self.__red
|
||||
@@ -1,5 +1,5 @@
|
||||
from config.Singleton import Singleton
|
||||
from config.Config import Config
|
||||
from Config.Singleton import Singleton
|
||||
from Config.Config import Config
|
||||
|
||||
|
||||
class Helper(Singleton):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from decouple import config
|
||||
from config.Singleton import Singleton
|
||||
from Config.Singleton import Singleton
|
||||
|
||||
|
||||
class Config(Singleton):
|
||||
@@ -77,11 +77,13 @@ class Config(Singleton):
|
||||
self.MY_ERROR_BAD_COMMAND = 'This string serves to verify if some error was raised by myself on purpose'
|
||||
self.BAD_COMMAND_TITLE = 'Misuse of command'
|
||||
self.BAD_COMMAND = f'❌ Bad usage of this command, type {self.BOT_PREFIX}help "command" to understand the command better'
|
||||
self.INVITE_URL = 'https://discordapp.com/oauth2/authorize?client_id={}&scope=bot>'
|
||||
self.VIDEO_UNAVAILABLE = '❌ Sorry. This video is unavailable for download.'
|
||||
|
||||
self.COLOURS = {
|
||||
'red': 0xDC143C,
|
||||
'green': 0x1F8B4C,
|
||||
'grey': 0x708090,
|
||||
'blue': 0x206694,
|
||||
'black': 0x23272A
|
||||
}
|
||||
self.COLOURS = {
|
||||
'red': 0xDC143C,
|
||||
'green': 0x1F8B4C,
|
||||
'grey': 0x708090,
|
||||
'blue': 0x206694,
|
||||
'black': 0x23272A
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user