【文件属性】:
文件名称:Firebase-Discord-Interactions:使用Firebase数据库实时或静态数据从命令斜杠接收Discord Bot的命令
文件大小:41KB
文件格式:ZIP
更新时间:2021-04-18 08:24:17
nodejs plugin http express discord
Firebase-Discord-Interactions
使用Firebase数据库实时或静态数据从命令斜杠接收Discord Bot的命令。
该模块可以通过网关API用作Discord.JS的插件。
如果您将此模块用作Webhook请求,则最终URL将为:https:// {your-domain} / {your-url-path}?type = endpoint&bot = {bot-object-name-in-your-file -config}
函数监听器
在使用Express模块的HTTP请求中使用此方法。 将您的请求和响应发送到模块后,整个过程将自动完成。
要求
快速应用程序模块的请求值。
资源
来自快速应用程序模块的响应值。
选项
模块设置将在此处定义。
options.errorCallback(函数)
模块中发生的错误将在此处显示,以便您将响应发送到Di
【文件预览】:
Firebase-Discord-Interactions-main
----index.js(244B)
----package.json(1KB)
----templates()
--------index.js(80B)
--------discord.js(1KB)
----.github()
--------FUNDING.yml(71B)
----test()
--------templates()
--------functionListener()
--------config_example.json(285B)
----functionListener()
--------endpoint.js(599B)
--------cfgTemplate.js(1KB)
--------index.js(609B)
--------gateway.js(2KB)
--------interactionResponse.js(1KB)
--------validator()
--------version()
--------firebaseCallback()
----LICENSE(1KB)
----package-lock.json(50KB)
----.gitignore(2KB)
----README.md(10KB)
----.vscode()
--------launch.json(1KB)