We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf35791 commit bfc5f58Copy full SHA for bfc5f58
1 file changed
config/commands.js
@@ -159,6 +159,24 @@ const commands = {
159
term.stylePrint(`(Robot voice): ${message}`);
160
},
161
162
+ cowsay: function (args) {
163
+ const message = args.join(" ") || "moo";
164
+ const msgLen = message.length;
165
+ const top = " " + "_".repeat(msgLen + 2);
166
+ const bottom = " " + "-".repeat(msgLen + 2);
167
+ const cow = [
168
+ `< ${message} >`,
169
+ bottom,
170
+ " \\ ^__^",
171
+ " \\ (oo)\\_______",
172
+ " (__)\\ )\\/\\",
173
+ " ||----w |",
174
+ " || ||",
175
+ ];
176
+ term.writeln(top);
177
+ cow.forEach((line) => term.writeln(line));
178
+ },
179
+
180
pwd: function () {
181
term.stylePrint("/" + term.cwd.replaceAll("~", `home/${term.user}`));
182
0 commit comments