Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

elara-bots-archived/PublicBot-Cmdo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WARNING
This repository will NOT work after October, due to Discord requiring the use of Intents, and I don't plan on working on another open sourced bot like this one.


IMPORTANT NOTICE

  • This repository is outdated and will not be updated anymore.. with this warning I should put.. Discord.js version 12 is out right now and is NOT supported.. this is locked to right before the Managers was added, read this if you wish to update this code, but the elaracmdo package will not support it.

  • This is NOT for people who are just starting. I suggest you go watch a few tutorials to get the general idea of how to create a bot before even attempting to run this code etc..

  • If you have a bot from the previous version it will not work if you use stuff from this repository, This is on the master branch of discord.js and PublicBot branch of elaracmdo

  • If you have any issues please open a issue in this repository New Issue or join the support server: Link

Getting Started

1. Download the files or use git clone Ex: git clone https://github.com/elara-bots/PublicBot-Cmdo.git

2. Once you have the files downloaded open up a console in the bot folder and do npm install and let it run fully.

3. Fill out the options in the config.js file.

Config Requirements!

  • [log, error, servers, action, shard]: Webhooks are required, It requires webhook links/urls..
  • token: The bot token.. Get your bot token from. Discord Developers Page
  • owners: The array of bot developers. Ex: [id, id2]
  • mongo: The connect URL from Mongodb Atlas, Instructions below...
  • prefix: THe prefix for the bot. - Default is: !!

Mongodb Instructions

  • Get an account at mongodb
  • Once created, setup your cluster:
  • Select a "Free Region" server
  • Keep the M0 cluster tier (the only free one). You may select backups if you want, other additional options are paid.
  • Type in a cluster name of your choice. Something like Bot.
  • Click Create Cluster.
  • This can and will take awhile to finish..
  • Go to the Network Access tab and then click Add IP Address then put 0.0.0.0/0
  • Now that's all setup, go to the Database Access tab and then Click Add New User and add a username and password then press save..
  • Click Choose a connection method.
  • Click Connect your Application
  • Your connection string is here! Keep the page open to copy it later in the setup stage.

About

Read the README before anything!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published