Skip to content

originally named cringe bot and was made by @Able-Times for the GachaLifeCringe but I took over the project, something he didn't like, so fuck it I'm releasing the old source code publicly, this bot is not used anywhere anymore but you are free to use it for you're own purposes, I am planning to make the bot more robust and add sharding n shit

Notifications You must be signed in to change notification settings

Crindere-Dev/mikus-twisted-bot

 
 

Repository files navigation

Miku's twisted bot

This is the source code for the ex official bot of the Gacha Life Cringe Discord!

Creating new commands

This bot is very modular, every command is a nodejs module as you can see in dirrectory commands the basic template for creating a command is commands/commandName.js

module.exports = {
	name: 'commandName',
	description: 'Desc. Of said command',
	execute(message, args, Discord, client ,version) {
		//code goes here
	},
};

every module is passed down FIVE arguments, the message, arguments, the Discord.js Library, client, and version this is made to make it easy to write commands for the bot

Deployment (Ubuntu 20.04)

Deployment is quite easy, all you require is an ubuntu server, and it's architecture to be supported by node.js, here is how you deloy

Run these in terminal

  1. curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
  2. sudo apt install -y nodejs
  3. sudo npm i -g pm2
  4. mkdir /etc/cringebot/cringe-bot-v2/
  5. chmod 777 /etc/cringebot/cringe-bot-v2/
  6. cd /etc/cringebot/cringe-bot-v2/
  7. git clone https://github.com/Able-Times/cringe-bot69420
  8. cd cringe-bot69420
  9. npm install
  10. sudo pm2 start index.js

Please read side bar

Credit to @NyleCohen and @Able-Times

About

originally named cringe bot and was made by @Able-Times for the GachaLifeCringe but I took over the project, something he didn't like, so fuck it I'm releasing the old source code publicly, this bot is not used anywhere anymore but you are free to use it for you're own purposes, I am planning to make the bot more robust and add sharding n shit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%