Skip to content

Instantly share code, notes, and snippets.

<?php
class RecentStatsCommand extends Command {
public function execute($args) {
if(isset($args[2])) {
$user = $args[2];
} else {
$args[2] = $this->getDefaultUser($this->getUser()->id_str);
$user = $args[2];
}