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

Method __init__

main.py:307–311  ·  view source on GitHub ↗
(self, query)

Source from the content-addressed store, hash-verified

305
306class MaxResultsView(discord.ui.View):
307 def __init__(self, query):
308 super().__init__()
309 self.query = query
310 self.message_id = None # Used for the MaxResultsView message
311 self.query_message_id = None
312
313 async def handle_search(self, interaction: discord.Interaction, max_results: int):
314 shodan_client = interaction.client.shodan

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected