pull/115/head
stijndcl 2022-06-27 19:53:44 +02:00
parent d6a560851b
commit ca9dd84ab5
2 changed files with 3 additions and 4 deletions

View File

@ -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
)

View File

@ -1,6 +1,4 @@
import os
import sys
import traceback
import discord
from discord.ext import commands