fix modal
This commit is contained in:
parent
b4619c2f26
commit
5f48a8e845
1 changed files with 1 additions and 1 deletions
2
bot.py
2
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
|
||||
|
|
Loading…
Reference in a new issue