Added canChatCommand function
Merge branch 'master' into workshop