LinkWarden Bot
Release 1.4.5
該Discord Bot專為個人和社區使用而設計,可通過審查在Discord渠道中共享的鏈接來增強服務器的安全性。它利用Virustal API,WHOIS查找和urlscan.io掃描來提供全面的實時分析,從而幫助維護會員安全的在線環境。
trusted_domains.json ,您可以自定義應掃描哪些域。config.py文件中列出的特定角色。在使用機器人之前,您需要使用Discord Server進行設置並使用API鍵進行配置。
pip install -r requirements.txt安裝所需的依賴項。config.py文件(或使用預製'config.py'文件),並添加您的Discord Bot令牌,virustotal api鍵,urlscan.io api鍵,guild id(s),調速器角色ID和ID,以及想要在以下形式的頻道輸出的位置: TOKEN = 'your_discord_bot_token_here'
VIRUSTOTAL_API_KEY = 'your_virustotal_api_key_here'
URLSCAN_API_KEY = 'your_urlscan_io_api_key_here'
guild_ids = [ your_guild_id_here ]
SCAN_CHANNEL_ID = CHANNEL_WHERE_SCANS_SHOULD_GO
ALLOWED_ROLE_IDS = [ MOD_ROLE_ID_GOES_HERE ]main.py該機器人需要以下python軟件包:
pip install py - cord requests python - whois或者,您可以使用sumplast.txt文件安裝它們。
pip install - r requirements . txt 該機器人很容易與簡單的命令結構一起使用。它支持以下命令:
/checklink [LINK] [MODE]
/checklink https://example.com simple
/checklink https://example.com detailed
/checklhistory
trusted_domains.json更強地針對誤報。該項目是根據MIT許可證開源的。