mirror of https://github.com/stijndcl/didier
stash
parent
d6a560851b
commit
ca9dd84ab5
|
@ -49,8 +49,9 @@ class EditCustomCommand(discord.ui.Modal, title="Edit Custom Command"):
|
|||
self.original_name = name
|
||||
self.client = client
|
||||
|
||||
self.name = self.add_item(discord.ui.TextInput(label="Name", placeholder="Didier", default=name))
|
||||
self.response = self.add_item(
|
||||
# TODO find a way to access these items
|
||||
self.add_item(discord.ui.TextInput(label="Name", placeholder="Didier", default=name))
|
||||
self.add_item(
|
||||
discord.ui.TextInput(
|
||||
label="Response", placeholder="Hmm?", default=response, style=discord.TextStyle.long, max_length=2000
|
||||
)
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
import os
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
|
|
Loading…
Reference in New Issue