Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
662ba7c
initial commit
KagChi Aug 10, 2021
bc33ddc
chore: cleanup
KagChi Aug 10, 2021
6f5ea81
chore: change default audioResorce youtube-dl
KagChi Aug 10, 2021
590f988
chore: add requester to tracks
KagChi Aug 10, 2021
bbed6fe
chore: add textChannel to player
KagChi Aug 11, 2021
32037e7
refactor: preparation for filters
KagChi Aug 11, 2021
d3e28bb
chore: add player listener
KagChi Aug 11, 2021
bc28107
chore: bump track-resolver
KagChi Aug 11, 2021
8c174bc
chore: remove debug log
KagChi Aug 11, 2021
ff3136e
feat: implement queue system
KagChi Aug 12, 2021
73bb80e
fix: set state to NOTCONNECTED if destroyed
KagChi Aug 12, 2021
81f4393
feat: implement some basic music filter
KagChi Aug 12, 2021
edea86e
chore: update readme
KagChi Aug 12, 2021
bcfe4f1
chore: bump workflows nodejs
KagChi Aug 12, 2021
eae46ce
initial commit
KagChi Aug 10, 2021
cdde092
chore: cleanup
KagChi Aug 10, 2021
ca4ef3b
chore: change default audioResorce youtube-dl
KagChi Aug 10, 2021
2a90f24
chore: add requester to tracks
KagChi Aug 10, 2021
0902c2f
chore: add textChannel to player
KagChi Aug 11, 2021
1825730
refactor: preparation for filters
KagChi Aug 11, 2021
928ad64
chore: add player listener
KagChi Aug 11, 2021
4e5c3cd
chore: bump track-resolver
KagChi Aug 11, 2021
bf994e4
chore: remove debug log
KagChi Aug 11, 2021
dd523f8
feat: implement queue system
KagChi Aug 12, 2021
38bae69
fix: set state to NOTCONNECTED if destroyed
KagChi Aug 12, 2021
8df4819
feat: implement some basic music filter
KagChi Aug 12, 2021
905dce6
chore: update readme
KagChi Aug 12, 2021
6314349
Merge branch 'feat/rewrite' of https://github.com/KagChi/kaguya into …
KagChi Aug 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
name: build code test

on:
push:
Expand All @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 15.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
Expand Down
674 changes: 0 additions & 674 deletions LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion Procfile

This file was deleted.

31 changes: 3 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,7 @@
![Written](https://camo.githubusercontent.com/a3544e8c62ffc6f9b9dfbbfe7e280b9d22db60ad526dee467542e88b020ad6f3/68747470733a2f2f62616467656e2e6e65742f62616467652f69636f6e2f747970657363726970743f69636f6e3d74797065736372697074266c6162656c)
![Database](https://img.shields.io/badge/db-mongodb-orange)
## Rich Music Bot
A music bot with custom playlist support, download music, music filters

## Commands
> Kaguya
<br>

![Image](https://cdn.discordapp.com/attachments/746013897512714320/795981253030576159/Screenshot_2021-01-05-18-45-15-99_572064f74bd5f9fa804b05334aa4f912.jpg)

<br>

> Featured
<br>

![Image](https://cdn.discordapp.com/attachments/746013897512714320/795981608502296587/Screenshot_2021-01-05-18-46-40-75_572064f74bd5f9fa804b05334aa4f912.jpg)

<br>

> Commands
<br>

![Image](https://cdn.discordapp.com/attachments/746013897512714320/795981912614502430/Screenshot_2021-01-05-18-47-52-87_572064f74bd5f9fa804b05334aa4f912.jpg)
A music bot with custom playlist support, music downloader, music filters

## Self Hosting
> Configuration
Expand All @@ -43,14 +23,9 @@ A music bot with custom playlist support, download music, music filters
## Requirements
1. A brain (ofc)
2. Bot Token
3. Mongodb url
4. Node.js v14.x
4. Node.js v16.x

## Disclaimer
> Keep it free!

please don't sell the code under any circumstances, the code will always free.

> Hey, it's secret!

This project contains code from closed source
[NezukoChan](https://top.gg/bot/616169470293049344)
36 changes: 36 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* eslint global-require: "off" */
const http = require('http');
require('dotenv').config();
const { execSync } = require("child_process");
const GLitch = (process.env.PROJECT_DOMAIN !== undefined
&& process.env.PROJECT_INVITE_TOKEN !== undefined
&& process.env.API_SERVER_EXTERNAL !== undefined
&& process.env.PROJECT_REMIX_CHAIN !== undefined);
const Replit = (process.env.REPLIT_DB_URL !== undefined);
function initialize(glitch = false, replit = false) {
if (glitch) {
console.log('[GLITCH ENVIRONMENT DETECTED] [STARTING WEBSERVER]');
http.createServer((req, res) => {
const now = new Date().toLocaleString('en-US');
res.end(`OK (200) - ${now}`);
}).listen(3000);
console.log('[GLITCH ENVIRONMENT DETECTED] [COMPILING PROJECT]');
execSync("npm run build");
require('./dist/Client');
} if (replit) {
console.log('[REPLIT ENVIRONMENT DETECTED] [STARTING WEBSERVER]');
http.createServer((req, res) => {
const now = new Date().toLocaleString('en-US');
res.end(`OK (200) - ${now}`);
}).listen(3000);
console.log('[REPLIT ENVIRONMENT DETECTED] [COMPILING PROJECT]');
execSync("npm run build");
require('./dist/Client');
} else {
console.log('[COMPILING PROJECT]');
execSync("npm run build");
require('./dist/Client');
}
}

initialize(GLitch, Replit);
1 change: 0 additions & 1 deletion music/README

This file was deleted.

Loading