Rename /term to /sh
This commit is contained in:
parent
2610afb304
commit
c4c7c7b1d5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user