🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@alemonjs/discord

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alemonjs/discord

discord platform connection

latest
Source
npmnpm
Version
2.1.23
Version published
Maintainers
2
Created
Source

https://alemonjs.com/

平台 https://discord.com/developers/applications/

文档 https://discord.com/developers/docs/intro

USE

  • discord
yarn add @alemonjs/discord
  • alemon.config.yaml
discord:
  # 令牌
  token: ''
  # 前缀(非必填)
  intent: null
  # 活动 非必填)
  shard: null
  # 使用 user_key
  master_key:
     - 'xxx'
  # 使用 user_id
  master_id:
     - 'yyy'
  # 请求代理(推荐使用)配置参考 axios
  request_config:
    proxy:
      protocol: 'http'
      host: 'localhost'
      port: 7890
  # ws 代理
  websocket_proxy: 'http://localhost:7890'
  # request_proxy: 'http://localhost:7890'
  # 隐藏不支持的消息类型(可选,默认: false)
  # 1:一级隐藏,不可读占位符([视频]、[音频]、[图片]、[附件]等)被置空,可读内容保留
  # 2:二级隐藏,按钮仅显示指令数据(如 /挑战),链接仅显示 URL
  # 3:三级隐藏,按钮和链接的 data 也不保留,完全隐藏
  # 4:四级隐藏,不进行任何转换,降级数据直接丢弃
  # 转换后内容为空时,将跳过发送并输出 info 日志
  hideUnsupported: 1

# 禁用 SSL 证书验证,允许连接使用无效或自签名的证书
env.NODE_TLS_REJECT_UNAUTHORIZED=0

Keywords

alemonjs

FAQs

Package last updated on 14 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts