From b5315bf2399b551aefee3c10a8235446c88e8f55 Mon Sep 17 00:00:00 2001 From: nemesis Date: Wed, 26 Nov 2025 21:10:54 +0100 Subject: [PATCH] correction alias boisson --- asmodee.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/asmodee.py b/asmodee.py index c2d9f79..3d27179 100644 --- a/asmodee.py +++ b/asmodee.py @@ -1132,6 +1132,9 @@ async def boissons(room,message): # Gestion des alias de boissons if (len(args) > 0): elu = " ".join(args) + pos = elu.find(":") + if (pos != -1): + elu = elu[:pos] if (len(elu) > 0 and len(boisson) > 0): mess = "!biere give " + elu + ":" + boisson