|
@@ -18,7 +18,16 @@ class Matesearch(commands.Cog):
|
|
|
self.bot = bot
|
|
self.bot = bot
|
|
|
|
|
|
|
|
#Modal form layout
|
|
#Modal form layout
|
|
|
- self.add_item(discord.ui.InputText(label="Date", placeholder="Insert the estimated date.", required=False, ))
|
|
|
|
|
|
|
+ self.add_item(discord.ui.Select(label="Day", placeholder="Select a day.", options=[
|
|
|
|
|
+ discord.SelectOption(label="Montag", value="Montag"),
|
|
|
|
|
+ discord.SelectOption(label="Dienstag", value="Dienstag"),
|
|
|
|
|
+ discord.SelectOption(label="Mittwoch", value="Mittwoch"),
|
|
|
|
|
+ discord.SelectOption(label="Donnerstag", value="Donnerstag"),
|
|
|
|
|
+ discord.SelectOption(label="Freitag", value="Freitag"),
|
|
|
|
|
+ discord.SelectOption(label="Samstag", value="Samstag"),
|
|
|
|
|
+ discord.SelectOption(label="Sontag", value="Sontag"),
|
|
|
|
|
+ ],min_values=1,max_values=1))
|
|
|
|
|
+ #self.add_item(discord.ui.InputText(label="Date", placeholder="Insert the estimated date.", required=False, ))
|
|
|
self.add_item(discord.ui.InputText(label="Time", placeholder="Insert the estimated time."))
|
|
self.add_item(discord.ui.InputText(label="Time", placeholder="Insert the estimated time."))
|
|
|
|
|
|
|
|
#funktions to load the config and get the channels
|
|
#funktions to load the config and get the channels
|