protected static function _GivePoints($UserID, $Points, $SlotType, $Source = 'Total', $CategoryID = 0, $Timestamp = FALSE) {
      $TimeSlot = gmdate('Y-m-d', Gdn_Statistics::TimeSlotStamp($SlotType, $Timestamp));
      
      $Px = Gdn::Database()->DatabasePrefix;
      $Sql = "insert {$Px}UserPoints (UserID, SlotType, TimeSlot, Source, CategoryID, Points)
         values (:UserID, :SlotType, :TimeSlot, :Source, :CategoryID, :Points)
         on duplicate key update Points = Points + :Points1";
      
      Gdn::Database()->Query($Sql, array(
          ':UserID' => $UserID, 
          ':Points' => $Points, 
          ':SlotType' => $SlotType, 
          ':Source' => $Source,
          ':CategoryID' => $CategoryID,
          ':TimeSlot' => $TimeSlot, 
          ':Points1' => $Points));
   }