diff --git a/services/CommandService.py b/services/CommandService.py index 1f33303..4896ae8 100644 --- a/services/CommandService.py +++ b/services/CommandService.py @@ -86,7 +86,8 @@ class CommandService(Service): def add_command(self, command, args): self.commands[command.lstrip("!")] = args.split("||") self.write() - return f"La commande '!{command}' a été ajoutée" + str_command = command.lstrip("!") + return f"La commande '!{str_command}' a été ajoutée" def del_command(self, command): if command not in self.commands: