Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/GPT3Discord/commit/49b652bdd3f78996739542941593f5b6e2f5c820
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
18 additions and
0 deletions
@ -53,3 +53,21 @@ class EnvService:
allowed_roles . split ( " , " ) if " , " in allowed_roles else [ allowed_roles ]
)
return allowed_roles
@staticmethod
def get_welcome_message ( ) :
# WELCOME_MESSAGE is a string used to welcome new members to the server.
#The string can be blank.
#The string is DMd to the new server member as part of an embed.
try :
welcome_message = os . getenv ( " WELCOME_MESSAGE " )
except :
welcome_message = None
if welcome_message is None :
raise ValueError (
" WELCOME_MESSAGE is not defined properly in the environment file! "
" Please create a welcome message and put it into WELCOME_MESSAGE in the .env file. "
' For example a line should look like: `WELCOME_MESSAGE: " Welcome to our server! We hop you enjoy it here. " ` '
)
return welcome_message