Coder Social home page Coder Social logo

1-rasky-1 / discord.js_bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teamsekai/sekai.explode

0.0 0.0 0.0 30.01 MB

Project Sekai.explode - 多機能、カスタマイズ性の高さを目指して作られたBot。

License: GNU General Public License v3.0

JavaScript 100.00%

discord.js_bot's Introduction

Sekai.explode - Simple Discord Bot w/discord.js@v14

Alt

What's this?

discord.js@v14を使用した、多機能botです。

機能の追加/削除も簡単に行え、初心者でも使いやすい設計になっています。

このBotを試すことはできますか?

はい。公開ボットとして24時間稼働しておりますので、手軽に試す事ができます。

こちらから追加できます。

動作環境

  • Node.js (v18以上を推奨)
  • npm、またはyarnを利用できる環境
  • gitを利用できる環境
  • (推奨) pm2を利用できる環境

PM2が利用できない場合、/updateコマンドが動作しません。

インストール & 実行

⚠ 動作環境を確認してから行ってください。

  1. このリポジトリをクローン
  2. npm installで依存関係をインストール
  3. config.json.exampleconfig.jsonとしてコピーする
  4. config.jsonを編集
  5. node discordbot.js、またはpm2 start discordbot.jsで起動!

コマンドを登録する

commandsディレクトリにファイルを作成するだけで、起動時に自動で読み込まれます。

Example:

const { SlashCommandBuilder } = require('discord.js');

module.exports = {
    data: new SlashCommandBuilder()
        .setName('hello')
        .setDescription('Hello World!'),
    execute: async function (interaction) {
        await interaction.reply('Hello World!') //処理を記述
    }
};

discord.js_bot's People

Contributors

ringo360 avatar 1-rasky-1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.