diff options
author | 2022-11-20 21:47:22 -0500 | |
---|---|---|
committer | 2022-11-20 21:47:22 -0500 | |
commit | 34f40e58c934b3e19b5a5b77552665ea6a987679 (patch) | |
tree | 08a4018c5df0f7f73ac00f6254ec924d83f1d1c6 | |
parent | Implement full FileAttachment parsing (diff) |
Change EvalJob str to repr
-rw-r--r-- | bot/exts/utils/snekbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py index 93941ed4c..60b9970b8 100644 --- a/bot/exts/utils/snekbox.py +++ b/bot/exts/utils/snekbox.py @@ -162,7 +162,7 @@ class EvalJob: args: list[str] files: list[FileAttachment] = field(default_factory=list) - def __str__(self) -> str: + def __repr__(self) -> str: """Return the job as a string.""" return f"EvalJob(args={self.args}, files={self.files})" |