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