Codsworth the music bot (Severely Outdated)
This repository has been archived on 2022-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Sophia Atkinson 6ecac80ac0
Add files via upload
2021-06-04 14:33:15 -07:00
commands Add files via upload 2021-04-13 11:49:09 -07:00
include Add files via upload 2021-04-13 11:49:24 -07:00
locales Add files via upload 2021-04-13 11:49:37 -07:00
util Add files via upload 2021-04-13 11:49:56 -07:00
LICENSE Update LICENSE 2021-05-17 15:46:57 -07:00
ReadME.md Update ReadME.md 2021-06-04 14:32:06 -07:00
config.json Add files via upload 2021-04-13 11:48:26 -07:00
index.js Add files via upload 2021-04-13 11:48:26 -07:00
noshard.bat Rename start.bat to noshard.bat 2021-06-04 14:32:59 -07:00
package-lock.json Add files via upload 2021-05-31 14:16:00 -07:00
package.json Update package.json 2021-05-09 02:05:15 -07:00
shard.bat Add files via upload 2021-06-04 14:33:15 -07:00
shard.js Add files via upload 2021-06-04 14:22:39 -07:00

ReadME.md

Codsworth

to install this use npm install

Hits

guide for beginners.

You need to have Node.js V 16.3.0 or v14.17.0 LTS open codsworths folder in cmd and do npm install and it should intall all of its dependencies.

Config.json

{ "TOKEN": "Discord Bot Token", //Put your discord bot token "YOUTUBE_API_KEY": "YOUTUBE_API_KEY", // put your youtube api key from Here "SOUNDCLOUD_CLIENT_ID": "", "MAX_PLAYLIST_SIZE": 100, "PREFIX": "PREFIX", //Pick a prefix "PRUNING": false, // if you want the bot to delete its own messages "LOCALE": "en", // Keep the same if you want english "STAY_TIME": 30, // how long you want it to stay in the vc for "DEFAULT_VOLUME": 100 }

shard.js

if you plan on this being a big bot use shard.js

const { ShardingManager } = require('discord.js'); const manager = new ShardingManager('./index.js', { token: 'Token' }); // Put your token here.

manager.on('shardCreate', shard => console.log(Launched shard ${shard.id})); manager.spawn();