Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions TagScriptEngine/adapter/redbotadapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@


class RedCommandAdapter(SimpleAdapter["Command"]):
if not _has_redbot:
raise ImportError("A Red-DiscordBot instance is required to use this.", name="redbot")

def __init__(self, base: Command, *, signature: Optional[str] = None) -> None:
super().__init__(base=base)
self.signature: Optional[str] = signature

if not _has_redbot:
raise ImportError("A Red-DiscordBot instance is required to use this.", name="redbot")

def update_attributes(self) -> None:
command: Command = self.object
self._attributes.update(
Expand Down