We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6f046 commit aac6a6aCopy full SHA for aac6a6a
sha.py
@@ -6,6 +6,6 @@
6
@willie.module.example('.sha', 'sha')
7
def spacestate(bot, trigger):
8
"""Gives you a random SHA2021 slogan suggestion"""
9
- txt = "echo \"$(grep \"^s\" /usr/share/dict/cracklib-small | shuf -n1) $(grep \"^hack\" /usr/share/dict/cracklib-small | shuf -n1) $(grep \"^a\" /usr/share/dict/cracklib-small | shuf -n1) 2021\""
10
- bot.say(os.popen(txt).read().title())
11
-
+ txt = "for v in s h a; do w=$(grep \"^$v\" /usr/share/dict/cracklib-small | shuf -n1); echo -n \"${w^^${w:0:1}} \"; done ; echo 2021"
+ bot.say(os.popen(txt).read())
+
0 commit comments