Discord-JS-Base:一个适用于Discord的简单JavaScript Bot基础

  • a0_259231
    了解作者
  • 5.7KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-04 06:04
    上传日期
Discord JS基础 | 一个用于Discord的简单JavaScript Bot基础。 这是一个非常简单JavaScript Bot Base,用于Discord.JS。 功能(到目前为止) 配置加载器 配置验证器 命令处理程序 示例信息命令 依存关系 !! 这需要Node.JS! 如何开始 首先,您需要创建一个“ Discord应用程序”。 然后是一个用于所述应用程序的机器人。 您可以在此处创建一个: 单击边栏上的“ Bot”,然后创建一个,*这些将不会被破坏! 现在复制您的Bot令牌,请勿与任何人共享。 即使他们是您最好的朋友。 *除非您完全删除该应用程序。 分叉存储库 分叉存储库。 克隆表示存储库。 运行“ npm ci”以安装依赖项。 将您的Discord Bot令牌添加到config.json文件。 (看上面) (Windows)运行start.bat文
Discord-JS-Base-main.zip
  • Discord-JS-Base-main
  • bot.js
    5.7KB
  • commands
  • info.js
    898B
  • LICENSE
    1KB
  • config.json
    83B
  • README.md
    1.9KB
  • start.bat
    80B
  • package.json
    332B
内容介绍
# Discord JS Base | A simple JavaScript Bot Base for Discord. This is a very simple JavaScript Bot Base, for use with Discord.JS. ## Features (so far) - Configuration loader - Configuration Validator - Command Handler - Example Info Command ## Dependencies !! This requires Node.JS !! [Download Node.JS](https://nodejs.org/en/) ## How to Get Started First, you need to create a "Discord Application". Then a bot for said Application. You can create one over here: [Discord Developer Applications](https://discord.com/developers/applications) Click 'Bot' on the sidebar and then create one, *these cannot be destroyed! Now copy your Bot Token, **DO NOT SHARE THIS WITH ANYONE. EVEN IF THEY ARE YOUR BEST FRIEND.** *Unless you delete the Application entirely. > Forking the Repository 1. Fork the Repository. 2. Clone said Repository. 3. Run 'npm ci' to install dependencies. 4. Add your Discord Bot Token to the config.json file. (See above) 5. (Windows) Run the start.bat file (Mac/Linux) or manually open in a Terminal. > Downloading from Source 1. Click the big green 'Code' button (at the top!). 2. Click 'Download ZIP' 3. Extract the folder to your Desktop (Or where-ever!). 4. Run 'npm ci' to install dependencies. 5. Add your Discord Bot Token to the config.json file. (See above) 6. (Windows) Run the start.bat file (Mac/Linux) or manually open in a Terminal. ## I need support/help! Please? I do not offer support, I think this should be pretty obvious as to why. HOWEVER, if you are having issues and you believe my code is responsible: > Submit a Issue/Pull Request <3 - [I'd like to submit a issue.](https://github.com/owospace/Discord-JS-Base/issues/new) - [I'd like to submit a Pull Request.](https://github.com/owospace/Discord-JS-Base/pulls) > Discord - My Discord is 'space#0002' without the quotes. > Email - My Email Address is 'me@spce.moe' without the quotes. ### Made with <3 by Space.
评论
    相关推荐