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

Function _fmt_bounty_price

Scripts/ButSystem.py:15498–15503  ·  view source on GitHub ↗

Format bounty price with localized currency symbol.

(val: Any)

Source from the content-addressed store, hash-verified

15496
15497 stored_path = os.path.join(ATT_DIR, f"group_voice_{vid}.bin")
15498 try:
15499 size = _save_plain_upload(file_storage, stored_path)
15500 if int(size) > CHAT_MAX_BYTES:
15501 try:
15502 os.remove(stored_path)
15503 except Exception:
15504 pass
15505 conn.execute("DELETE FROM group_voice WHERE id=?", (vid,))
15506 conn.commit()

Callers 4

profiler_listFunction · 0.70
profiler_getFunction · 0.70
profiler_viewFunction · 0.70

Calls 2

_fmt_bounty_amount_plainFunction · 0.70
_bounty_currency_symbolFunction · 0.70

Tested by

no test coverage detected