Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
parafoxia committed Jan 22, 2022
1 parent d1ce252 commit 7418108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chatto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
__all__ = ("YOUTUBE_API_BASE_URL", "YOUTUBE_API_SCOPES", "YouTubeBot", "ux")

__productname__ = "chatto"
__version__ = "0.4.2"
__version__ = "0.5.0"
__description__ = "A unified API wrapper for YouTube and Twitch chat bots."
__url__ = "https://github.com/parafoxia/chatto"
__docs__ = "https://parafoxia.github.io/chatto/chatto/"
Expand Down
6 changes: 3 additions & 3 deletions chatto/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ async def make_request(self, url: str) -> dict[str, t.Any]:

return data # type: ignore

async def poll_for_messages(self) -> None:
async def process_messages(self) -> None:
"""A forever-looping task that polls the YouTube Live Streaming
API for new messages. This is handles for you.
API for new messages. This is handled for you.
Errors are generally logged and ignored when they occur, except
for some HTTPErrors.
Expand Down Expand Up @@ -387,7 +387,7 @@ def run(

self._loop.run_until_complete(self.fetch_stream_info(with_stream_id))

task = self._loop.create_task(self.poll_for_messages())
task = self._loop.create_task(self.process_messages())
self._loop.create_task(self.events.process())
self._loop.create_task(
self.auto_refresh_tokens(self.tokens["expires_in"]) # type: ignore
Expand Down

0 comments on commit 7418108

Please sign in to comment.