MCPcopy Create free account
hub / github.com/AAA3A-AAA3A/AAA3A-cogs / check_image

Method check_image

security/modules/image_checking.py:391–394  ·  view source on GitHub ↗
(self, config_hashes: list[str], image_hash: str)

Source from the content-addressed store, hash-verified

389 async def on_message(self, message: discord.Message) -> None:
390 if message.guild is None:
391 return
392 config = await self.config_value(message.guild)()
393 if not config["enabled"]:
394 return
395 number = self.strikes_cache[message.guild][message.author]
396 if not isinstance(message.author, discord.Member):
397 try:

Callers 2

on_messageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected