Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.
/ Discord-Chat Public archive

TERA密语通知 转发 Discord聊天频道

Notifications You must be signed in to change notification settings

tera-mod/Discord-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Chat

将TERA客户端中接受到的 [密语消息] 自动转发到Discord[聊天频道]

更多模型参考:

https://github.com/codeagon/Astral-Chat

https://github.com/codeagon/Astral-TERA


因为我常常游戏挂机而错过了一些重要的密语消息, 所以想到为TERA制作1个离线提醒的mod


  1. https://www.npmjs.com/ 搜索 discord.js 模块

  2. https://www.npmjs.com/package/discord.js 获取安装命令 npm i discord.js

  • 将默认工程目录下载的 node_modules 复制到 \CaaliTeraProxy\mods\Discord-Chat\

  • 也可以使用我上传的这个 [node_modules] 文件夹


  1. https://discordapp.com/developers/applications/ 登陆你的 Discord 账户并创建一个[APP]应用

  2. 点击进入[APP]设置[SETTINGS], 记录下[APP]的[CLIENT ID]信息, 例如: 535000001234567890

  3. 选中[SETTINGS]中的[Bot], 创建(BUILD-A-BOT)一个机器人, 点击[Add Bot]即可, 并记录下[BUILD-A-BOT]的 TOKEN 码

    点击 [Click to Reveal Token] 即可见, 例如: NTM1MDY2NzI2NzE1MzU5MjM0.DyCw2w.0jCzz97U0ROMk_-ssZbZi5OlVsQ

  4. 如何将[APP]应用(bot机器人)拉入(授权)属于你的Discord语音聊天服务器


  1. 下载 config.json 和 index.js , 存放\CaaliTeraProxy\mods\Discord-Chat\ , 配置 config.json
  • token -> [BUILD-A-BOT]的 TOKEN 码

  • channel -> Discord[文字聊天]频道的ID (并不是Discord[服务器ID])

About

TERA密语通知 转发 Discord聊天频道

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published