diff options
| author | 2023-01-27 22:59:41 +0200 | |
|---|---|---|
| committer | 2023-01-27 22:59:41 +0200 | |
| commit | 4626b07e2750cc6dbf1e02b33dfc0015d6a8fdf9 (patch) | |
| tree | b880adc41df67c19879f6d23eab4aeb47e0cb0a0 | |
| parent | Post descriptive embed on unexpected error (diff) | |
Fix display of sequence setting with non-string elements
| -rw-r--r-- | bot/exts/filtering/_ui/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/filtering/_ui/ui.py b/bot/exts/filtering/_ui/ui.py index f0055d72d..bc9fc09f0 100644 --- a/bot/exts/filtering/_ui/ui.py +++ b/bot/exts/filtering/_ui/ui.py @@ -121,7 +121,7 @@ def populate_embed_from_dict(embed: Embed, data: dict) -> None: if setting.startswith("_"): continue if isinstance(value, (list, set, tuple)): - value = f"[{', '.join(value)}]" + value = f"[{', '.join(map(str, value))}]" else: value = str(value) if value not in ("", None) else "-" if len(value) > MAX_FIELD_SIZE: |