Giter VIP home page Giter VIP logo

bot-discordjs-vn's Introduction

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Lines of Code

Yêu cầu

Install NodeJS

Install ffmpeg:

Đối với Windows

Tải về tại đây, giải nén ffmpeg.exe vào thư mục C:\Windows hoặc bất kỳ thư mục nào khác rồi thêm vào PATH

Đối với Debian

$ sudo apt install ffmpeg -y

Đối với RedHat

$ sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

CentOS 6: 
$ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

CentOS 7: 
$ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
    
$ sudo yum install ffmpeg ffmpeg-devel -y

Đối với Mac

$ brew install ffmpeg

First Start

npm i

Config

  • Vào đường dẫn: config/config.json điền vào các mục sau:
{
  "prefix": "COMMAND> ", // Prefix main
  "prefix_child": [
    "!",
	  "&"
  ], // các Prefix phụ  
  "token": "", // Token bot discord có được sao khi tạo bot trên Settings > Bot > TOKEN
  "id_bot": "715216540412411995", // id của bot lấy được bằng ở mục Settings > Generator Information > CLIENT ID
  "usernameIrc": "", // Tài Khoản Irc Osu! https://old.ppy.sh/p/irc
  "passwordIrc": "", // Mật Khẩu Irc Osu! https://old.ppy.sh/p/irc
  "apiOsuKey": "" // apikey Osu! https://osu.ppy.sh/p/api
}

Chạy Bot

$ npm start

Notes:

  • Code rất ẩu :v

bot-discordjs-vn's People

Contributors

hknight-official avatar

Stargazers

 avatar

Watchers

 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.