Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/GPT3Discord/commit/f0860d1f66507e60fc51cd9cf8a0bc443d0c34a0
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
5 additions and
1 deletions
@ -63,7 +63,9 @@ class Settings_autocompleter:
""" gets valid values for the type option """
print ( f " The value is { ctx . value } " )
return [
value for value in [ " warn " , " delete " , " reset " ] if value . startswith ( ctx . value . lower ( ) )
value
for value in [ " warn " , " delete " , " reset " ]
if value . startswith ( ctx . value . lower ( ) )
]
async def get_value_alert_id_channel ( self , ctx : discord . AutocompleteContext ) :
@ -313,6 +313,7 @@ class ModerationAdminView(discord.ui.View):
KickUserButton ( self . message , self . moderation_message , component_number )
)
class ApproveMessageButton ( discord . ui . Button [ " ModerationAdminView " ] ) :
def __init__ ( self , message , moderation_message , current_num ) :
super ( ) . __init__ ( style = discord . ButtonStyle . green , label = " Approve " )
@ -326,6 +327,7 @@ class ApproveMessageButton(discord.ui.Button["ModerationAdminView"]):
await self . message . clear_reactions ( )
await self . moderation_message [ 0 ] . delete ( )
class DeleteMessageButton ( discord . ui . Button [ " ModerationAdminView " ] ) :
def __init__ ( self , message , moderation_message , current_num ) :
super ( ) . __init__ ( style = discord . ButtonStyle . danger , label = " Delete Message " )