Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxyw committed Sep 3, 2022
1 parent 88e0d4b commit 5615f44
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/OneBot/V12/Object/Event/OneBotEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ abstract class OneBotEvent implements JsonSerializable, IteratorAggregate
/** @var string 事件ID */
public string $id;

/** @var string OneBot实现名称 */
public string $impl;

/** @var string OneBot实现平台名称 */
public string $platform;

Expand Down Expand Up @@ -78,7 +75,6 @@ public function __construct(string $type, string $detail_type, string $sub_type,
$ob = OneBot::getInstance();

$this->id = ob_uuidgen();
$this->impl = $ob->getImplementName();
$this->platform = $ob->getPlatform();
$this->self_id = $ob->getSelfId();
$this->time = $time;
Expand Down

0 comments on commit 5615f44

Please sign in to comment.