From 5f48a8e845b00fe7f6320e28af6baa495b3abbb1 Mon Sep 17 00:00:00 2001 From: aaron Date: Thu, 2 Jun 2022 02:06:39 +0200 Subject: [PATCH] fix modal --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index fc55318..685db0e 100644 --- a/bot.py +++ b/bot.py @@ -168,7 +168,7 @@ async def gmroll(ctx, class MyModal(Modal): def __init__(self) -> None: self.message_id = 0 - super().__init__("Emojitext") + super().__init__(title="Emojitext") self.add_item(InputText(label="Dein Text:", placeholder="Jeder Buchstabe nur einmal!")) def set_message_id(self, message_id): self.message_id = message_id