diff --git a/commands/CommandQui.js b/commands/CommandQui.js index 856f45ca5010ed3dcd62f29b356352a1537923fe..6790c9d51efc7526841954463eeba5f987b3f6ce 100644 --- a/commands/CommandQui.js +++ b/commands/CommandQui.js @@ -5,7 +5,7 @@ class CommandQui{ constructor(client){ this.client = client; this.sentences = ["Sûrement <who>...", "<who>", "<who> !", "<who> ??", "Vous parlez de <who> ?", "C'est <who>.", "Bah, <who>.", "Bah <who> connard", "Mmmh <who> ?", "<who> ?", "<who>, on te parle"]; - this.quiRegExp = new RegExp('[^a-z]qui[^a-z]', 'i'); + this.quiRegExp = new RegExp('([^a-z]|^)qui[^a-z]', 'i'); /**'qui' pas dans un mot */ } getRandomQui(){