Skip to content

Commit

Permalink
Removed acknowledging messages
Browse files Browse the repository at this point in the history
Due to the request of @jhgg
  • Loading branch information
David committed Jan 5, 2016
1 parent cdb1693 commit c2e2e5e
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/Discord/Parts/Channel/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,6 @@ class Message extends Part
'delete' => 'channels/:channel_id/messages/:id'
];

/**
* Acknowledges the message on Discord servers.
*
* @return boolean
*/
public function acknowledgeMessage()
{
Guzzle::post($this->replaceWithVars('channels/:channel_id/messages/:id/ack'));

return true;
}

/**
* Shortcut for acknowledgeMessage();
*
* @return boolean
*/
public function ackMessage()
{
return $this->acknowledgeMessage();
}

/**
* Returns the author attribute.
*
Expand Down

0 comments on commit c2e2e5e

Please sign in to comment.