diff --git a/konata.sh b/konata.sh index c0fb72d..6822e85 100755 --- a/konata.sh +++ b/konata.sh @@ -104,6 +104,7 @@ help(){ Admin only commands: - /mp3 \[link\] - Download an mp3 file from YouTube. - /stat - Uptime, memory, storage stats. + - /neo - Get system information. - /term - Execute a command on the system. And a lot more to come!" @@ -255,6 +256,11 @@ stat(){ $(df -h / | tail -n1 | awk '{print $3}') of storage." } +neo(){ + admin + sendmsg "\`$(neofetch --stdout)\`" +} + term(){ admin sendmsg "\`$(whoami)@${HOSTNAME}:${PWD}$\` \`${args[*]}\` @@ -293,6 +299,7 @@ case "$cmd" in # Administrative /mp3@$bot*) mp3 ;; /stat@$bot) stat ;; + /neo@$bot) neo ;; /term@$bot*) term ;; # Notes and such !anyone*) anyone ;;