From 8635ba66f4791ee38ed393b643e697b9e0e31e32 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 17 Dec 2019 21:51:19 -0600 Subject: remove prefix from the `bangtag` bangtag --- app/lib/bangtags.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 54122b696..a9b7d747b 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -482,7 +482,7 @@ class Bangtags @post_cmds.push(['media', media_idx, media_cmd]) when 'bangtag' - chunk = orig_chunk + chunk = orig_chunk.sub('bangtag:', '').gsub(':', ":\u200b") when 'join' chunk = nil next if cmd[1].nil? -- cgit