Rename /term to /sh

This commit is contained in:
Michael De Roover 2021-03-28 18:39:37 +02:00
parent 2610afb304
commit c4c7c7b1d5
Signed by: vim
GPG Key ID: 075496E232CE04CB

View File

@ -263,7 +263,7 @@ neo(){
sendmsg "\`$(neofetch --stdout)\`" sendmsg "\`$(neofetch --stdout)\`"
} }
term(){ sh(){
admin admin
sendmsg "\`$(whoami)@${HOSTNAME}:${PWD}$\` \`${args[*]}\` sendmsg "\`$(whoami)@${HOSTNAME}:${PWD}$\` \`${args[*]}\`
\`$(echo ${args[*]} | bash - 2>&1)\`" \`$(echo ${args[*]} | bash - 2>&1)\`"
@ -302,7 +302,7 @@ case "$cmd" in
/mp3@$bot*) mp3 ;; /mp3@$bot*) mp3 ;;
/sys@$bot) sys ;; /sys@$bot) sys ;;
/neo@$bot) neo ;; /neo@$bot) neo ;;
/term@$bot*) term ;; /sh@$bot*) sh ;;
# Notes and such # Notes and such
!anyone*) anyone ;; !anyone*) anyone ;;
esac esac