Commit graph

38 commits

Author SHA1 Message Date
f446913cd5
add method to remove extension from str 2022-07-22 00:04:19 +02:00
0cfea23150
make localization function specific and add specific function for locales 2022-07-21 23:38:20 +02:00
def329bf67
silently ignore when local isn't found 2022-07-21 23:01:54 +02:00
3b1611ee3c
change string for locales 2022-07-21 23:01:43 +02:00
dcf325c7fc
generic data declaration 2022-07-21 23:01:21 +02:00
eb4a022954
get filename 2022-07-21 21:06:01 +02:00
425ebcca2c
delete dist folder before build 2022-07-21 21:05:46 +02:00
2776048d33
Add name base on filename and desc based on default language 2022-07-21 17:44:55 +02:00
4068e0da7f
fix crash 2022-07-21 17:30:49 +02:00
8f0096a73c
* load locales into the client
* extract specific text from locales and fallback to en-US in case of failure
2022-07-21 17:10:25 +02:00
2bde673cb1
don't require default language 2022-07-21 17:09:47 +02:00
a819ed0ea8
use localization 2022-07-21 17:09:34 +02:00
4c42fa101b
Add Ping command name and desc 2022-07-21 17:09:18 +02:00
8ec15b7803
* language relative to user, not global anymore
* add comments
* store all the localizations instead of unique one
* move localization function to utils/ folder
2022-07-21 15:13:39 +02:00
1b4a594880
relative locale 2022-07-21 15:11:49 +02:00
0f2078b794
static string 2022-07-21 15:10:54 +02:00
d3aee129e0
locales relative to user 2022-07-21 15:10:48 +02:00
6830f5ffd9
turn string to static ones 2022-07-21 15:10:14 +02:00
75655c6414
follow discord.com locales name 2022-07-21 13:57:30 +02:00
9669ec376f
docker support 2022-07-21 01:03:51 +02:00
e965115aa4
add locales in prod 2022-07-21 00:50:11 +02:00
09cf5c1678
* env variabletable in readme
* add FR, EN locales
* Locales support
2022-07-21 00:27:48 +02:00
Anri
bc49aab23e refactor: cleanup (#26)
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/26
2022-07-20 23:47:41 +02:00
Anri
a9ef97daa6 refactor: typescript migration (#24)
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/24
2022-07-20 23:01:47 +02:00
Anri
f54083b663 docker-adjustements (#21)
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/21
2022-07-04 23:16:02 +02:00
Anri
933b968faf Add slash commands support (#20)
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/20
2022-07-03 21:09:57 +02:00
Anri
5e63f35849 Docker support (#19)
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/19
2022-07-03 19:19:10 +02:00
Anri
9f24b73ef8 Split into multiple files (#18)
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/18
2022-07-03 18:43:31 +02:00
fd2df7aee9
add steps on how to start with the bot 2022-06-06 11:30:25 +02:00
381077bc80
add script 2022-06-06 11:30:15 +02:00
a76a59bc5c
Ajout référence pfp 2022-04-18 18:54:59 +02:00
3b9e101107
Connexion à Discord 2022-04-18 15:41:35 +02:00
a3919a80a9
Ajout du fichier .env 2022-04-18 15:38:01 +02:00
a756892061
Ajout du lien pour ajouter le bot 2022-04-18 15:28:24 +02:00
43a585e0d9
Ignore le dossier des dépendances 2022-04-18 15:02:25 +02:00
9bd364e70e
Ajout de ESLint 2022-04-18 15:02:17 +02:00
f3c82f5586
Initalisation du projet 2022-04-18 15:01:42 +02:00
f833b389b4
Ajout Licence GPL-3.0-only 2022-04-18 14:53:28 +02:00