aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2023-01-27 22:59:41 +0200
committerGravatar mbaruh <[email protected]>2023-01-27 22:59:41 +0200
commit4626b07e2750cc6dbf1e02b33dfc0015d6a8fdf9 (patch)
treeb880adc41df67c19879f6d23eab4aeb47e0cb0a0
parentPost descriptive embed on unexpected error (diff)
Fix display of sequence setting with non-string elements
-rw-r--r--bot/exts/filtering/_ui/ui.py2
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: