From 4ffded622acc95e0953867e32781ebedb6629513 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 18 Mar 2017 11:52:18 -0400 Subject: Removing acking on channels. --- discord/abc.py | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'discord/abc.py') diff --git a/discord/abc.py b/discord/abc.py index 0ad5b5a8..7472c103 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -777,25 +777,3 @@ class Messageable(metaclass=abc.ABCMeta): counter += 1 """ return HistoryIterator(self, limit=limit, before=before, after=after, around=around, reverse=reverse) - - @asyncio.coroutine - def ack(self): - """|coro| - - Marks this channel as read. - - The user must not be a bot user. - - Raises - ------- - HTTPException - Acking failed. - ClientException - You must not be a bot user. - """ - - state = self._state - if state.is_bot: - raise ClientException('Must not be a bot account to ack messages.') - channel = yield from self._get_channel() - yield from state.http.ack_channel(channel.id) -- cgit v1.2.3