Skip to content

Commit

Permalink
CDN path put to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaysoro committed Nov 18, 2024
1 parent fc86d87 commit 8300aed
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 44 deletions.
34 changes: 17 additions & 17 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"overview": "provides information about me and a way to get help",
"detailed": "provides detailed information about me (invitation link, source code, handling of private data...) and a way to get help if needed (support Discord, Twitter)",
"source": "",
"tutorial": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/about.gif"
"tutorial": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/about.gif"
},
"title": "{{ .name }} version {{ .version }}",
"desc": "Discord bot dedicated to the {{ .game.Name }} {{ .gameLogo }} game!",
Expand Down Expand Up @@ -42,8 +42,8 @@
"set": "records your alignment in the book, independently of the Discord server; this recording cannot be done for others.\n - The `city` field is mandatory and corresponds to the city to which players have pledged allegiance. *__Example__:Bonta*\n - The `order` field is mandatory and corresponds to the order joined by players. *__Example__:Spirit*\n - The `level` field is mandatory and corresponds to the alignment level between 0 and 200, with 0 indicating removal from the directory. *__Example__:200*\n - The `server` field is optional and corresponds to the desired game server. If not specified, the game server used is the one defined for the Discord guild (see `config`). *__Example__:Imagiro*"
},
"tutorial": {
"get": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/align_get.gif",
"set": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/align_set.gif"
"get": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/align_get.gif",
"set": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/align_set.gif"
},
"source": "The collected data is used only for my proper functioning."
},
Expand All @@ -68,9 +68,9 @@
"resources": "provides the necessary resources for a given period\n - The `duration` field is optional and corresponds to the desired number of days, ranging from 1 to 30. If not specified, the necessary resources for the next 7 days are returned. *__Example__:30*"
},
"tutorial": {
"day": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/almanax_day.gif",
"effects": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/almanax_efects.gif",
"resources": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/almanax_resource.gif"
"day": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/almanax_day.gif",
"effects": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/almanax_efects.gif",
"resources": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/almanax_resource.gif"
},
"source": "The data comes from [dofusdu.de](http://dofusdu.de), an incredible tech made in Germany which collects and exposes them."
},
Expand Down Expand Up @@ -129,13 +129,13 @@
"youtube": "enables/disables the automatic sending of Youtube creators videos\n - The `videast` field is mandatory and corresponds to a Youtube creator name. *__Example__:Eslix Gaming*\n - The `enabled` and `channel` fields are identical to `/config almanax`."
},
"tutorial": {
"get": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/config_get.gif",
"almanax": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/config_almanax.gif",
"rss": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/config_rss.gif",
"server": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/config_server.gif",
"twitch": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/config_twitch.gif",
"twitter": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/config_twitter.gif",
"youtube": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/config_youtube.gif"
"get": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/config_get.gif",
"almanax": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/config_almanax.gif",
"rss": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/config_rss.gif",
"server": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/config_server.gif",
"twitch": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/config_twitch.gif",
"twitter": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/config_twitter.gif",
"youtube": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/config_youtube.gif"
},
"source": "The collected data is used only for my proper functioning."
},
Expand Down Expand Up @@ -227,8 +227,8 @@
"set": "records your profession in the book, independently of the Discord server; this recording cannot be done for others.\n - The `job` field is mandatory and corresponds to a profession in the game. *__Example__:Lumberjack*\n - The `level` field is mandatory and corresponds to the alignment level between 0 and 200, with 0 indicating removal from the directory. *__Example__:200*\n - The `server` field is optional and corresponds to the desired game server. If not specified, the game server used is the one defined for the Discord guild (see `config`). *__Example__:Imagiro*"
},
"tutorial": {
"get": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/job_get.gif",
"set": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/job_set.gif"
"get": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/job_get.gif",
"set": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/job_set.gif"
},
"source": "The collected data is used only for my proper functioning."
},
Expand All @@ -248,7 +248,7 @@
"help": {
"overview": "randomly draws a competitive map",
"detailed": "randomly draws a competitive map\n - The `number` field is optional and corresponds to a desired competitive map. If not specified, the map is drawn at random. *__Example__:42*",
"tutorial": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/map.gif",
"tutorial": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/map.gif",
"source": "Screenshots come from [Krosmoz Tournaments Arena](https://ktarena.com/)."
},
"title": "Map {{ .mapNumber }}",
Expand Down Expand Up @@ -282,7 +282,7 @@
"help": {
"overview": "provides the most recent dimension portal positions",
"detailed": "provides the most recent positions of dimensional portals\n - The `dimension` field is optional and corresponds to a desired dimension. If not specified, the positions of portals for all dimensions are returned. *__Example__:Enurado*\n - The `server` field is optional and corresponds to the desired game server. If not specified, the game server used is the one defined for the Discord guild (see `config`). *__Example__:Imagiro*",
"tutorial": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/en/pos.gif",
"tutorial": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/en/pos.gif",
"source": "The data comes from [dofus-portals.fr](https://dofus-portals.fr/), which relies on the participation of portal seekers."
},
"embed": {
Expand Down
34 changes: 17 additions & 17 deletions i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"help": {
"overview": "donne des informations à mon propos et un moyen d'obtenir de l'aide si besoin",
"detailed": "donne des informations à mon propos (lien d'invitation, code source, gestion des données privées...) et un moyen d'obtenir de l'aide si besoin (discord de support, twitter)",
"tutorial": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/about.gif",
"tutorial": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/about.gif",
"source": ""
},
"title": "{{ .name }} version {{ .version }}",
Expand Down Expand Up @@ -43,8 +43,8 @@
},
"source": "Les données récoltées ne sont utilisées que pour mon bon fonctionnement uniquement.",
"tutorial": {
"get": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/align_get.gif",
"set": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/align_set.gif"
"get": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/align_get.gif",
"set": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/align_set.gif"
}
},
"success": "L'annuaire a été mise à jour !",
Expand All @@ -68,9 +68,9 @@
"resources": "donne les ressources nécessaires pour une période donnée\n - Le champ `duration` est optionnel et correspond au nombre de jours souhaité, allant de 1 à 30. Si non renseigné, les ressources nécessaires pour les 7 prochains jours sont remontées. *__Exemple__ : 30*"
},
"tutorial": {
"day": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/almanax_day.gif",
"effects": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/almanax_efects.gif",
"resources": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/almanax_resource.gif"
"day": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/almanax_day.gif",
"effects": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/almanax_efects.gif",
"resources": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/almanax_resource.gif"
},
"source": "Les données proviennent de [dofusdu.de](http://dofusdu.de), une incroyable technologie faite en Allemagne qui se charge de les récolter et de les exposer."
},
Expand Down Expand Up @@ -129,13 +129,13 @@
"youtube": "(dés)active l'envoi automatique de nouvelles vidéos de créateurs Youtube\n - Le champ `videast` est obligatoire et correspond à un nom de créateur Youtube. *__Exemple__ : Humility*\n - Les champs `enabled` et `channel` sont identiques à `/config almanax`."
},
"tutorial": {
"get": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/config_get.gif",
"almanax": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/config_almanax.gif",
"rss": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/config_rss.gif",
"server": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/config_server.gif",
"twitch": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/config_twitch.gif",
"twitter": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/config_twitter.gif",
"youtube": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/config_youtube.gif"
"get": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/config_get.gif",
"almanax": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/config_almanax.gif",
"rss": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/config_rss.gif",
"server": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/config_server.gif",
"twitch": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/config_twitch.gif",
"twitter": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/config_twitter.gif",
"youtube": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/config_youtube.gif"
},
"source": "Les données récoltées ne sont utilisées que pour mon bon fonctionnement uniquement."
},
Expand Down Expand Up @@ -227,8 +227,8 @@
"set": "enregistre ta profession dans l'annuaire, indépendamment du serveur Discord; cet enregistrement ne peut être fait pour autrui.\n - Le champ `job` est obligatoire et correspond à un métier du jeu. *__Exemple__ : Bûcheron*\n - Le champ `level` est obligatoire et correspond au niveau d'alignement compris entre 0 et 200, le 0 correspondant à une suppression de l'annuaire. *__Exemple__ : 200*\n - Le champ `server` est optionnel et correspond au serveur de jeu souhaité. Si non renseigné, le serveur de jeu utilisé est celui défini pour la guilde Discord (cf. `config`). *__Exemple__ : Imagiro*"
},
"tutorial": {
"get": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/job_get.gif",
"set": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/job_set.gif"
"get": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/job_get.gif",
"set": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/job_set.gif"
},
"source": "Les données récoltées ne sont utilisées que pour mon bon fonctionnement uniquement."
},
Expand All @@ -248,7 +248,7 @@
"help": {
"overview": "tire au hasard une carte compétitive",
"detailed": "tire au hasard une carte compétitive\n - Le champ `number` est optionnel et correspond au numéro de carte compétitive souhaité. Si non renseigné, la carte est tirée aléatoirement. *__Exemple__ : 42*",
"tutorial": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/map.gif",
"tutorial": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/map.gif",
"source": "Les captures d'écran proviennent de [Krosmoz Tournaments Arena](https://ktarena.com/)."
},
"title": "Carte {{ .mapNumber }}",
Expand Down Expand Up @@ -282,7 +282,7 @@
"help": {
"overview": "donne les positions de portail de dimension les plus récentes",
"detailed": "donne les positions de portail de dimension les plus récentes\n - Le champ `dimension` est optionnel et correspond à une dimension souhaitée. Si non renseigné, la position des portails de l'ensemble des dimensions est renvoyée. *__Exemple__ : Enutrosor*\n - Le champ `server` est optionnel et correspond au serveur de jeu souhaité. Si non renseigné, le serveur de jeu utilisé est celui défini pour la guilde Discord (cf. `config`). *__Exemple__ : Imagiro*",
"tutorial": "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/tutorials/fr/pos.gif",
"tutorial": "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/tutorials/fr/pos.gif",
"source": "Les données proviennent de [dofus-portals.fr](https://dofus-portals.fr/) qui mise sur la participation des chercheurs de portails."
},
"embed": {
Expand Down
4 changes: 2 additions & 2 deletions models/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const (
Name = "KaellyBot"
Version = "2.0.0"
Color = 12543562
AvatarIcon = "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/id/face.webp"
AvatarImage = "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/KaellyBot/id/full_body.webp"
AvatarIcon = "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/id/face.webp"
AvatarImage = "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/kaellybot/id/full_body.webp"
Invite = "https://discordapp.com/oauth2/authorize?&client_id=202916641414184960&scope=bot"
Discord = "https://discordapp.com/invite/CyJCFDk"
Twitter = "https://twitter.com/KaellyBot"
Expand Down
4 changes: 2 additions & 2 deletions models/constants/games.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ type AnkamaGame struct {
}

const (
AnkamaLogo = "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/common/logos/ankama.webp"
AnkamaLogo = "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/common/logos/ankama.webp"
)

func GetGame() AnkamaGame {
return AnkamaGame{
Name: "DOFUS",
Icon: "https://raw.githubusercontent.com/KaellyBot/Kaelly-cdn/refs/heads/main/common/logos/dofus.webp",
Icon: "https://raw.githubusercontent.com/kaellybot/kaelly-cdn/refs/heads/main/common/logos/dofus.webp",
AMQPGame: amqp.Game_DOFUS_GAME,
}
}
Loading

0 comments on commit 8300aed

Please sign in to comment.