diff --git a/didier/data/modals/custom_commands.py b/didier/data/modals/custom_commands.py index 90f378c..3cd908f 100644 --- a/didier/data/modals/custom_commands.py +++ b/didier/data/modals/custom_commands.py @@ -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 ) diff --git a/didier/didier.py b/didier/didier.py index 5cefe9f..1138b02 100644 --- a/didier/didier.py +++ b/didier/didier.py @@ -1,6 +1,4 @@ import os -import sys -import traceback import discord from discord.ext import commands