-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from ValgulNecron/dev
V2.1
- Loading branch information
Showing
165 changed files
with
6,367 additions
and
1,486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
DISCORD_TOKEN="Your token here" | ||
AI_API_TOKEN="Your token here for the ai part" | ||
AI_API_TOKEN="Your token here for the ai part"" | ||
AI_API_BASE_URL="The url for the request open ai or any openai proxy one do not forget to end with a / the url" | ||
AI_IMAGE_API_TOKEN="Your token here for the ai part"" | ||
AI_IMAGE_API_BASE_URL="The url for the request open ai or any openai proxy one do not forget to end with a / the url" | ||
IMAGE_GENERATION_MODELS_ON=True | ||
IMAGE_GENERATION_MODELS="" | ||
RUST_LOG="info" # trace, debug, info, warn or error | ||
NSFW=True# if the bot should honor the nsfw for image if set to true it will if false it will not. (turn it off if you are 100% the model you use for image can't generate nsfw) | ||
REMOVE_OLD_COMMAND_ON_STARTUP=True# if the bot should remove the old command when it start. recommended to set it for the 1st launch or when updating to a breaking change version | ||
DB_TYPE="sqlite" | ||
IMAGE_GENERATION_MODELS="The models you want to use for the image generation if IMAGE_GENERATION_MODELS_ON is True" | ||
IMAGE_QUALITY="hd dall-e-3" | ||
IMAGE_STYLE="vivid dall-e-3" | ||
IMAGE_SIZE="1024x1024 depend on models" | ||
RUST_LOG="warn/error/info/debug/trace" | ||
NSFW=True | ||
REMOVE_OLD_COMMAND_ON_STARTUP=True | ||
DB_TYPE="sqlite/postgres" | ||
SAVE_IMAGE="local/remote/false" | ||
SAVE_SERVER="imgur/catbox" | ||
TOKEN="catbox userhash / imgur client id" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "name of the command in english no more than 50 char long and no space special char or uppercase", | ||
"desc": "description of the command ", | ||
"dm_command": false, | ||
"nsfw": true, | ||
"perm": false, | ||
"default_permissions": "One of the RemotePermissionType in command_register/command_structure if perm is set to true", | ||
"arg_num": 1, | ||
"args": [ | ||
{ | ||
"name": "name of the option in english no more than 50 char long and no space special char or uppercase", | ||
"desc": "description of the option ", | ||
"required": true, | ||
"autocomplete": false, | ||
"command_type": "One of the RemoteCommandOptionType in command_register/command_structure", | ||
"localised_args": [ | ||
{ | ||
"code": "en-US", | ||
"name": "1st duplicate of the name and desc of the option in english after it the other translation", | ||
"desc": "same for description" | ||
} | ||
], | ||
"choices": [ | ||
{ | ||
"option_choice": "one choice" | ||
}, | ||
{ | ||
"option_choice": "second choice" | ||
} | ||
] | ||
} | ||
], | ||
"localised": [ | ||
{ | ||
"code": "en-US", | ||
"name": "1st duplicate of the name and desc of the command in english after it the other translation", | ||
"desc": "same for description" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"name": "delete_activity", | ||
"desc": "Delete an anime activity.", | ||
"dm_command": false, | ||
"nsfw": false, | ||
"perm": true, | ||
"default_permissions": [ | ||
{ | ||
"permission": "Administrator" | ||
} | ||
], | ||
"arg_num": 2, | ||
"args": [ | ||
{ | ||
"name": "anime_name", | ||
"desc": "Name of the anime you want to delete as an activity.", | ||
"required": true, | ||
"autocomplete": true, | ||
"command_type": "String", | ||
"localised_args": [ | ||
{ | ||
"code": "en-US", | ||
"name": "anime_name", | ||
"desc": "Name of the anime you want to delete as an activity." | ||
}, | ||
{ | ||
"code": "fr", | ||
"name": "nom_de_l_anime", | ||
"desc": "Nom de l'anime que vous voulez supprimer comme activité." | ||
}, | ||
{ | ||
"code": "de", | ||
"name": "anime_name", | ||
"desc": "Name des Animes, das Sie als Aktivität löschen möchten." | ||
}, | ||
{ | ||
"code": "ja", | ||
"name": "anime_no_namae", | ||
"desc": "アクティビティとして削除したいアニメの名前。" | ||
} | ||
] | ||
} | ||
], | ||
"localised": [ | ||
{ | ||
"code": "en-US", | ||
"name": "delete_activity", | ||
"desc": "Delete an anime activity." | ||
}, | ||
{ | ||
"code": "fr", | ||
"name": "supprimer_activite", | ||
"desc": "Supprimer une activité anime." | ||
}, | ||
{ | ||
"code": "de", | ||
"name": "aktivitat_loeschen", | ||
"desc": "Löschen Sie eine Anime-Aktivität." | ||
}, | ||
{ | ||
"code": "ja", | ||
"name": "katsudo_wo_sakujo", | ||
"desc": "アニメ活動を削除します。" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "guild_image", | ||
"desc": "Generate an image using the guild server image and the user pfp.", | ||
"dm_command": false, | ||
"nsfw": false, | ||
"perm": false, | ||
"arg_num": 0, | ||
"localised": [ | ||
{ | ||
"code": "en-US", | ||
"name": "guild_image", | ||
"desc": "Generate an image using the guild server image and the user pfp." | ||
}, | ||
{ | ||
"code": "fr", | ||
"name": "image_guilde", | ||
"desc": "Génère une image en utilisant l'image du serveur de guilde et le pfp de l'utilisateur." | ||
}, | ||
{ | ||
"code": "de", | ||
"name": "gildenbild", | ||
"desc": "Generieren Sie ein Bild mit dem Gilden-Serverbild und dem Benutzer-Pfp." | ||
}, | ||
{ | ||
"code": "ja", | ||
"name": "ギルド画像", | ||
"desc": "ギルドサーバー画像とユーザーpfpを使用して画像を生成します。" | ||
} | ||
] | ||
} |
Oops, something went wrong.