Hopefully a working command

Hopefully this works, thanks to a friend of mine for helping me write this
code. It should work across channels, this is the final commit of this
branch, should it work, before merging