199 if not kwargs.get("ephemeral") and delete_after is not None:
200 await response.delete(delay=delete_after)
201
202 async def send_success(self, description: str, title: Optional[str] = None, footer = None, delete_after: Optional[float] = None, followup: Optional[bool] = None, ephemeral: Optional[bool] = False):203 """Send an embed response with green color to an interaction.
204
205 Parameters
199 if not kwargs.get("ephemeral") and delete_after is not None:
200 await response.delete(delay=delete_after)
201
202 async def send_success(self, description: str, title: Optional[str] = None, footer = None, delete_after: Optional[float] = None, followup: Optional[bool] = None, ephemeral: Optional[bool] = False):203 """Send an embed response with green color to an interaction.
204
205 Parameters
5
6
7class Confirm(ui.View):
8 def __init__(self, ctx: GIRContext, true_response = None, false_response = None): 9 super().__init__(timeout=20)
10 self.ctx = ctx
11 self.value = None
5
6
7class Confirm(ui.View):
8 def __init__(self, ctx: GIRContext, true_response = None, false_response = None): 9 super().__init__(timeout=20)
10 self.ctx = ctx
11 self.value = None
5
6
7class Confirm(ui.View):
8 def __init__(self, ctx: GIRContext, true_response = None, false_response = None): 9 super().__init__(timeout=20)
10 self.ctx = ctx
11 self.value = None
There should be no spaces before or after the =
in a function definition.