diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-13 20:50:32 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-13 20:50:32 +0200 |
| commit | 8b174209e193746216e711423cb26cebd0786581 (patch) | |
| tree | 7a636ee3bc4f29c8614e00d85597b396ea3a1913 /main.go | |
| parent | a02a0d8e3e45d738c5a1a07dbc925c329ddf6278 (diff) | |
fix(command): automatic refactor changing names at wrong place
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -58,7 +58,7 @@ func main() { gokord.NewCommand("show", "Affiche la config").SetHandler(commands.ConfigShow), ). AddSub( - gokord.NewCommand("exp", "Modifie l'exp"). + gokord.NewCommand("xp", "Modifie l'xp"). HasOption(). AddOption(gokord.NewOption( discordgo.ApplicationCommandOptionString, @@ -114,12 +114,12 @@ func main() { HasOption(). SetHandler(commands.Top) - resetCmd := gokord.NewCommand("reset", "Reset l'exp"). + resetCmd := gokord.NewCommand("reset", "Reset l'xp"). HasOption(). SetHandler(commands.Reset). SetPermission(&adm) - resetUserCmd := gokord.NewCommand("reset-user", "Reset l'exp d'un utilisation"). + resetUserCmd := gokord.NewCommand("reset-user", "Reset l'xp d'un utilisation"). HasOption(). AddOption(gokord.NewOption( discordgo.ApplicationCommandOptionUser, |
