aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-07-01 15:39:01 +0200
committerGravatar GitHub <[email protected]>2019-07-01 15:39:01 +0200
commit9c96c41928f999c3c6163e4fcdcaa762fbf4b786 (patch)
tree55acc760f40c857392022202e6d22b28419c2a2c
parentApplying changes requested in the reviews. (diff)
Apply docstring and logging message suggestions
Co-Authored-By: Mark <[email protected]>
-rw-r--r--bot/cogs/watchchannels/watchchannel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/watchchannels/watchchannel.py b/bot/cogs/watchchannels/watchchannel.py
index 8f0bc765d..020eabe45 100644
--- a/bot/cogs/watchchannels/watchchannel.py
+++ b/bot/cogs/watchchannels/watchchannel.py
@@ -40,7 +40,7 @@ def proxy_user(user_id: str) -> Object:
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:
@@ -100,7 +100,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: