MCPcopy Create free account
hub / github.com/RocketGod-git/shodanbot / __init__

Method __init__

main.py:295–297  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

293
294class QueryModal(discord.ui.Modal):
295 def __init__(self, *args, **kwargs):
296 super().__init__(*args, **kwargs)
297 self.add_item(discord.ui.TextInput(label="Enter your search query", style=discord.TextStyle.short, custom_id="query_input"))
298
299 async def on_submit(self, interaction: discord.Interaction):
300 await interaction.response.defer(ephemeral=True)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected