|
@@ -19,7 +19,7 @@ class Matesearch(commands.Cog):
|
|
|
self.bot = bot
|
|
self.bot = bot
|
|
|
|
|
|
|
|
#Modal form layout
|
|
#Modal form layout
|
|
|
- self.add_item(Select(placeholder="Select a day.",
|
|
|
|
|
|
|
+ """self.add_item(Select(placeholder="Select a day.",
|
|
|
options=[
|
|
options=[
|
|
|
discord.SelectOption(label="Montag", value="Montag"),
|
|
discord.SelectOption(label="Montag", value="Montag"),
|
|
|
discord.SelectOption(label="Dienstag", value="Dienstag"),
|
|
discord.SelectOption(label="Dienstag", value="Dienstag"),
|
|
@@ -30,8 +30,8 @@ class Matesearch(commands.Cog):
|
|
|
discord.SelectOption(label="Sonntag", value="Sontag"),
|
|
discord.SelectOption(label="Sonntag", value="Sontag"),
|
|
|
],
|
|
],
|
|
|
min_values=1,
|
|
min_values=1,
|
|
|
- max_values=1))
|
|
|
|
|
- #self.add_item(discord.ui.InputText(label="Date", placeholder="Insert the estimated date.", required=False, ))
|
|
|
|
|
|
|
+ max_values=1))"""
|
|
|
|
|
+ self.add_item(discord.ui.InputText(label="Tag", placeholder="Insert the estimated day.", 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
|