【文件属性】:
文件名称:ffxiv-mrsudalbot
文件大小:251KB
文件格式:ZIP
更新时间:2021-04-11 10:06:19
JavaScript
DalDalee Bot先生
这提供了与带有Discord的Final Fantasy XIV相关的几个有用功能。 当前的主要功能是打印FFXIV Lodestone /韩国官方存档消息和fflogs报告。
要求
NodeJS v15或更高版本
Redis 6.0或更高版本
如何使用
$ npm install
Web服务器和Discord Bot客户端是分开设计的,因此它们可以分别运行,因此在运行服务器时,需要分别运行两个。
# Discord Bot Server
$ node index
# Web Server
$ node server
打开config / constants.js文件,然后编辑Discord bot令牌和fflog。
// Discord Bot Client ID
DISCORD_BOT_CLIENT_ID: '' ,
// Discord Bot
【文件预览】:
ffxiv-mrsudalbot-main
----config()
--------fflogs.js(2KB)
--------categories.js(3KB)
--------constants.js(1KB)
--------lodestoneLocales.js(94B)
----index.js(6KB)
----package.json(869B)
----commands()
--------fflogs.js(7KB)
--------echo.js(146B)
--------exit.js(187B)
--------notify.js(11KB)
--------uptime.js(961B)
--------fashion.js(3KB)
--------reset.js(5KB)
----server.js(2KB)
----package-lock.json(41KB)
----views()
--------index.ejs(6KB)
----.gitignore(78B)
----public()
--------css()
--------js()
----README.md(909B)
----services()
--------fflogs.js(11KB)
--------webhooks.js(19KB)
--------scheduler.js(546B)
--------news.js(22KB)
----libs()
--------exceptions.js(219B)
--------redis.js(120B)
--------logger.js(965B)