]> git.localhorst.tv Git - alttp.git/blobdiff - app/TwitchBotCommands/BaseCommand.php
log who sent manual random chats
[alttp.git] / app / TwitchBotCommands / BaseCommand.php
index d803fb739defe022977c6b4cda7c017797695507..e2df728d0eb76a59970dff23aca17ed0a13705e3 100644 (file)
@@ -44,6 +44,10 @@ abstract class BaseCommand {
                return User::findOrFail($this->getParameter('user'));
        }
 
+       protected function getExecutingUser() {
+               return $this->command->user;
+       }
+
        protected function hasParameter($name) {
                return array_key_exists($name, $this->command->parameters);
        }