about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-28 08:41:15 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:16 -0500
commit625121ab53ea4a54d381fb2fe8c3c31244ad6ab7 (patch)
tree1d9563b0493f5fae3d9e78c3fa933f38f0f06ae0 /app/lib
parenta5a9f95840ea948f6ceeae2790a7fd433febb287 (diff)
[Command Tags] Add abbreviations for truthy/falsy words
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/command_tag/processor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb
index 34de03e4e..0d72c7a07 100644
--- a/app/lib/command_tag/processor.rb
+++ b/app/lib/command_tag/processor.rb
@@ -256,11 +256,11 @@ class CommandTag::Processor
   end
 
   def read_falsy_from(arg)
-    %w(false no off disable).include?(arg)
+    %w(f n false no off disable).include?(arg)
   end
 
   def read_truthy_from(arg)
-    %w(true yes on enable).include?(arg)
+    %w(t y true yes on enable).include?(arg)
   end
 
   def read_boolean_from(arg)