public function queue_guardcode() { $l = BotQueue::where('steamid64_user', '=', Auth::user()->steamid64)->where('triesleft', '>', 0)->first(); if ($l) { return $l->guardcode; } else { return; } }
public function isInQueue() { $q = BotQueue::where('steamid64_user', '=', $this->steamid64)->where('triesleft', '>', 0)->first(); return $q; }