Make all public is_ functions into methods instead of properties.

This commit is contained in:
Rapptz committed 2017-01-29 20:53:17 -05:00
1 parent 01c17704bc
commit e77012f4d9
6 files changed
+11 -16

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ class MyClient(discord.Client):
await self.wait_until_ready()
counter = 0
channel = self.get_channel(1234567) # channel ID goes here
while not self.is_closed:
while not self.is_closed():
counter += 1
await channel.send(counter)
await asyncio.sleep(60) # task runs every 60 seconds