From 4626b07e2750cc6dbf1e02b33dfc0015d6a8fdf9 Mon Sep 17 00:00:00 2001 From: mbaruh Date: Fri, 27 Jan 2023 22:59:41 +0200 Subject: Fix display of sequence setting with non-string elements --- bot/exts/filtering/_ui/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3