diff options
| author | 2019-07-03 20:04:54 +0200 | |
|---|---|---|
| committer | 2019-07-03 20:04:54 +0200 | |
| commit | d4f2a26a0d24b62c97b194bd382e5a562d5e7f58 (patch) | |
| tree | 1c9abea100e2326f1f0c34d68fb61b0664410140 | |
| parent | Change end nomination API endpoint to PATCH endpoint (diff) | |
| parent | Apply docstring and logging message suggestions (diff) | |
Merge branch 'django-watchchannels' of github.com:python-discord/bot into django-watchchannels
| -rw-r--r-- | bot/cogs/watchchannels/watchchannel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/watchchannels/watchchannel.py b/bot/cogs/watchchannels/watchchannel.py index 16212e3b0..c2d3d0bec 100644 --- a/bot/cogs/watchchannels/watchchannel.py +++ b/bot/cogs/watchchannels/watchchannel.py @@ -51,7 +51,7 @@ class MessageHistory: class WatchChannel(ABC): - """ABC that implements watch channel functionality to relay all messages of a user to a watch channel.""" + """ABC with functionality for relaying users' messages to a certain channel.""" @abstractmethod def __init__(self, bot: Bot, destination, webhook_id, api_endpoint, api_default_params, logger) -> None: @@ -110,7 +110,7 @@ class WatchChannel(ABC): else: break else: - self.log.error(f"Failed to retrieve the text channel with id `{self.destination}") + self.log.error(f"Failed to retrieve the text channel with id {self.destination}") # `get_webhook_info` has been renamed to `fetch_webhook` in newer versions of d.py try: |