From 09aed3181ea77a8a764a7002beba6459ccb02a88 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 14 May 2023 14:55:45 +0200 Subject: [PATCH] Add whitespace todo --- src/bot/command/bang.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bot/command/bang.rs b/src/bot/command/bang.rs index 82b4551..a55d99d 100644 --- a/src/bot/command/bang.rs +++ b/src/bot/command/bang.rs @@ -5,6 +5,10 @@ use crate::nick; use super::{Command, Context}; +// TODO Don't ignore leading whitespace? +// I'm not entirely happy with how commands handle whitespace, and on euphoria, +// prefixing commands with whitespace is traditionally used to not trigger them. + /// Parse leading whitespace followed by an prefix-initiated command. /// /// Returns the command name and the remaining text with one leading whitespace