From dba54ea080f129ea45fc68b79c3708b5133aa3eb Mon Sep 17 00:00:00 2001 From: kevincaires Date: Sat, 20 Aug 2022 11:04:01 -0300 Subject: [PATCH] ADD constant config IMAGE_TYPES. --- settings/config.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/settings/config.py b/settings/config.py index a6b3dc7..853cafb 100644 --- a/settings/config.py +++ b/settings/config.py @@ -68,7 +68,7 @@ LOGGING_CONFIG = { }, }, } - +logger.dictConfig(LOGGING_CONFIG) ## INSTRUCTIONS ON SETTING UP PERMISSIONS: # Permissions are now granular, more than one distinct role @@ -80,4 +80,7 @@ PERMISSIONS = { 'v' : ['Operador', 'BotMan'] } -logger.dictConfig(LOGGING_CONFIG) +# Tuple of image type on image links. +# e.g: https://cdn.discordapp.com/attachments/720808802340962357/988542480981061702/cat.jpeg +# e.g: https://cdn.discordapp.com/attachments/720808802340962357/988542480981061702/unknow.png +IMAGE_TYPES = ('jpeg','jpg','png')