diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-15 15:08:43 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-15 15:08:43 -0500 |
commit | c3127be31e58a9bdd59131e3ae4b8c280b9ccefe (patch) | |
tree | 740b3df3637f108488cae4b97979bc1faf993fec /app/lib | |
parent | 6daeca8a092e00851ab9bc75bd1810fab39f0cdb (diff) |
add visibility shortcodes
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/bangtags.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index f343c7e0f..294e1dd69 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -450,18 +450,25 @@ class Bangtags 'direct' => :direct, 'dm' => :direct, 'whisper' => :direct, + 'd' => :direct, 'private' => :private, 'packmate' => :private, 'group' => :private, + 'f' => :private, + 'g' => :private, 'unlisted' => :unlisted, + 'u' => :unlisted, 'local' => :local, 'monsterpit' => :local, + 'l' => :local, + 'm' => :local, 'public' => :public, 'world' => :public, + 'p' => :public, } v = cmd[1].downcase status.visibility = visibilities[v] unless visibilities[v].nil? |