diff options
| author | 2023-04-06 16:05:34 +0300 | |
|---|---|---|
| committer | 2023-04-06 16:05:34 +0300 | |
| commit | e9aeb621156e72dda645b3f7d1d9a741ef5699ba (patch) | |
| tree | bdfdfaea69982cb5add7831c48cf31cb3f83046f | |
| parent | .__origin__ -> get_origin (diff) | |
Clarify comment
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/filtering/_filter_context.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/exts/filtering/_filter_context.py b/bot/exts/filtering/_filter_context.py index 05cc23160..0794a48e4 100644 --- a/bot/exts/filtering/_filter_context.py +++ b/bot/exts/filtering/_filter_context.py @@ -58,7 +58,7 @@ class FilterContext:      upload_deletion_logs: bool = True  # Whether it's allowed to upload deletion logs.      def __post_init__(self): -        # If it were in the context of a DM there would be a channel. +        # If it's in the context of a DM channel, self.channel won't be None, but self.channel.guild will.          self.in_guild = self.channel is None or self.channel.guild is not None      @classmethod | 
