Giter Site home page Giter Site logo

dhvitop / bcfd-bdfd-clone Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 6.0 1.68 MB

A BDFD Clone but made in JS with express, quick.db and mongodb. Except BDScript it uses Discord.js for making commands and events for bots

License: Apache License 2.0

JavaScript 19.26% CSS 68.94% EJS 11.80%
discord-bot discord-bot-maker discordjs discord-js bdfd-clone bdfd bcfd bot-maker discord javascript

bcfd-bdfd-clone's Introduction

Requirements

NodeJS V16
Should know Basics of JS and Express also discord.js lol

Upcoming/Todo

✔ = In Development and ❌ = Pending
CodeShare from which you can import codes in your bot directly (Almost Made)
Add Slash Commands Options/Arguments for Commands ❌

Info on Codeshare Integration (Done)

For This Its making a POST Method System, So that any codeshare website can integrate any of this project and add an code import system to their codeshare site.
Only Discord.js Code Type will be supported (If i don't have any plan to add new language support)

Documentation for CodeShare Integration

You can see it Here

Notice

Please Star if you liked this project and fork it if you want to use it also make sure of LICENSE, dont use this project without giving credits or without seeing LICENSE Also It is fully made by me xd

Date : 19 December, Time : 4:00PM IST Added Codeshare Integration, Documentation of it will be coming soon

Features

Make Your own bot in 20 Seconds
Easy to Setup
A Special Token for Each bot which owner of the bot cannot see. (It is used to encrypt the data which you store in quick.db)
Slash Commands and Message Commands Both Are Supported. (You cannot create options in slash commands as of right now)
Bots are free to customize their settings.
Importing Commands from codeshare (Coming Soon almost ready)
Make Unlimited Commands for your bot!!
CodeShare Integration Support

Getting Started

First of all Clone this Project or Download it if you wanna run it on localhost/your own computer

Installation

After Downloading the Project, Go in Terminal/Console (If you are on local computer than Enter the Directory where the project is unzipped) and type npm install

Setting Up

After Installing all the node modules and packages you have to setup config.js. For doing it go to config.js and you will have something like this -

module.exports = {
  mongourl : "", // MongoDB Url 
  callback: "", // The Callback for discord auth e.g - https://yourwebsite.com/callback
  botid: "", // Your Official botID
  botsecret: "" // Your Official Bot Client Secret
  bottoken: "" // Your Official Bot Token
}

So in Mongourl Give your Mongodb Url.

In Callback You have to give https://yourwebsite.com/callback and replace yourwebsite.com with your domain (If you are on Local Computer than replace it with localhost:8000). After Doing that Go in Your Discord Developers Portal And in That Portal Choose your Official bot and in that bot page select Oauth2 and in Redirects Click on add another redirect Than in the Text Area give the link which you also entered in the config.js callback. Just paste it in that text area and than save.

In Bot ID Give your Official bot's client ID from the Discord Developers Portal of that bot.

In Bot Secret Give your Official bot's Client Secret from the Discord Developers Portal of that bot. You can find it in Oauth2 Section.

And the Last Give your Official bot's Token from the Discord Developers Portal of that bot. You can find it in Bot Section.

Completed

Now the Setup is completed and you just made your own Bot Designer for Discord Clone!!!!

Problems

Having Errors? Create Issue or contact me on Discord my tag is - DHVIT#7547

Important

First of all star otherwise i will eat your icecream
So, After Setting up the whole Project go in https://yourwebsite.com/bots and replace yourwebsite.com with your website where you hosted it (if hosting on your pc/locally than it will be https://localhost:8000/bots)

Example

You can find a demo/example website at https://bcfd.dhvitop.repl.co/bots

Creators Credits

Frontend/Html and Css are made by itsMcraft#9988 and AdiOS#1754 (my friends) Backend/JS Things By me

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.