Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@alemonjs/bubble

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alemonjs/bubble

bubble platform

Source
npmnpm
Version
2.1.2
Version published
Weekly downloads
160
61.62%
Maintainers
2
Weekly downloads
 
Created
Source

@alemonjs/bubble

文档 https://bubble.alemonjs.com/developer/docs

安装

yarn add @alemonjs/bubble

配置

alemon.config.yaml 中配置:

bubble:
  # Bot Token(必填)
  token: 'YOUR_BOT_TOKEN'

  # WebSocket Gateway URL(可选,默认: wss://bubble.alemonjs.com/api/bot/gateway)
  GATEWAY_URL: 'wss://bubble.alemonjs.com/api/bot/gateway'

  # API Base URL(可选,默认: https://bubble.alemonjs.com/api/bot/v1)
  API_URL: 'https://bubble.alemonjs.com/api/bot/v1'

  # CDN Base URL(可选,默认: https://bubble-oss-files.alemonjs.com)
  CDN_URL: 'https://bubble-oss-files.alemonjs.com'

  # 订阅的事件类型(可选,默认: 所有可用事件)
  intent:
    - MESSAGE_CREATE
    - DM_MESSAGE_CREATE
    - GUILD_MEMBER_ADD

  # 主人配置(可选)
  master_key: []
  master_id: []

  # 代理配置(可选)
  websocket_proxy: ''
  request_proxy: ''

  # 客户端名称(可选,默认: alemonjs-bot)
  clientName: 'alemonjs-bot'

  # 隐藏不支持的消息类型(可选,默认: false)
  # 开启后,转为文本时不可读内容(如 [视频]、[音频]、[图片]、[附件] 等占位符)将被置空
  # 可读内容(如标题、按钮文本、链接等)仍会保留为纯文本
  # 转换后内容为空时,将跳过发送并输出 info 日志
  hideUnsupported: true

Keywords

alemonjs

FAQs

Package last updated on 12 Mar 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