MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _render_dm_row_html

Function _render_dm_row_html

Scripts/ButSystem.py:13432–13434  ·  view source on GitHub ↗

Render one DM message row to HTML for AJAX updates.

(m: Dict[str, Any], me: str)

Source from the content-addressed store, hash-verified

13430 u = urllib.parse.urlparse(gif_url)
13431 if u.scheme not in ("http", "https"):
13432 raise ValueError("GIF url must be http(s)")
13433
13434 _validate_remote_media_url(gif_url)
13435
13436 cur = conn.cursor()
13437 cur.execute(

Callers 2

dm_sendFunction · 0.70
api_dm_sinceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected