Code Monkey home page Code Monkey logo

yukiko's Introduction

PROJECT NO LONGER SUPPORTED!

As Yukiko 2.0 (Closed sources) grow I don't have much time to work and update this version. if you need a great bot to help with your Discord guilds please use Yukiko.app

Discord Bots

Edit (21/04/21)

You are a lot to still star this thing so I updated it, should be working fine now, and updated to djs 12 and better music system. I didnt put as much work or code quality than on Yukiko.app but its working. You are very welcome :)

Yukiko

Yukiko is a powerfull Discord bot that include XP system, Leaderboard, Music, Welcome and farewell message, Moderation, and much more!

This bot is in developement state and actively updated, Feel free to come back take a look to our change logs!

I want to use it!

Nice! Let me help you!

I don't want / don't know how to host it.

In that case feel free to add the Official Yukiko bot to your Discord server via this Check on our website to invite Yukiko to your server!

I want to host it myself!

Okay cool! you save me few bucks for the hosting :3
Here is the tutorial on how to install and configure the bot!

Install

To install and use this bot you need few things first.

If you are on debian/ubuntu

curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
apt install build-essential 

for Windows:

Install nodeJS from this link
Open a powershell in admin mode win+x You can install gitbash or download the code via this link

npm install --global windows-build-tools

Then your system should be ready.

git clone https://github.com/Asthriona/Yukiko.git
cd Yukiko
npm install
npm run start

For Linux you should install "screen" package to be able to keep the bot running in the background. you can also use PM2

Lavalink

I switched the Music bot to Lavalink and Erela.js for practical reasons (Youtube-DL was a pain to set up in the code and require a lot of ressources.) Please find Lavalink on the Author repo and follow their install instruction (Don't worry thats very easy.)

Update

The author changed their name to Freyacodes and someone else too their old name, if you google 'Lavalink' you'll find the old name repo, Follow the link upthere to get the right one.
The Yukiko Dev Team forked it you can follow that link too.

Configuration

Yukiko's configuration is pretty simple.
You need a MongoDB database, and a Discord bot
Discord Developper portal
Free mongoDB Database Culsters

copy the exemple file

cp botconfig.json.exemple botconfig.json 

token is your Discord bot token
prefix a! by default you can change it for whatever you want.
dbLink The login link of your database.

Official Discord Server.

For now Yukiko don't have any public place. Just a nice little home called "Dev Bot Zone." This is a private server dedicated to my developement bot.
If you want to contact me to get some help, or having an idea, please feel free to open an issue, or contact me on Twitter @Asthriona for bug report, please open an issue, and give me all the information you have!
(She have very quite room mate, one of them is a wall!)
devServer

Modification

You can modify the bos as you pleased. But you have to credit me, and my collaborator.
Please leave the credit in the "bot info" commands.

Help me

Hi, I'am Asthriona Full time WoW player, and some kind of developper. i'm doing stuff on internet for quite a long time... a decade now, and I love making stuff that can be usefull or help other.
But if you want to help me, Feel free to take a look at the code, Create issue for idea/bugs, or pull request.

As I said, i'm full time doing this, and now days, being indie developper don't really pay the bills (not even talking about server bill.), so if you really want to help, and have some bucks to spare, Feel free to pay me a ko-fi

ko-fi

Thanks for your interest in Yukiko! <3

yukiko's People

Contributors

asthriona avatar dependabot[bot] avatar heazher avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

yukiko's Issues

MongoDB url

Please help me I don't know how to get mongodb url like mongodb://yukiko:127.0.0.1 I have free MongoDB atlas

sos

SyntaxError: C:\Users\user\Downloads\新增資料夾 (3)\Yukiko\botconfig.json: Unexpected string in JSON at position 83
at parse ()
�[90m at Object.Module._extensions..json (internal/modules/cjs/loader.js:1106:22)�[39m
�[90m at Module.load (internal/modules/cjs/loader.js:928:32)�[39m
�[90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)�[39m
�[90m at Module.require (internal/modules/cjs/loader.js:952:19)�[39m
�[90m at require (internal/modules/cjs/helpers.js:88:18)�[39m
at Object. (C:\Users\user\Downloads\新增資料夾 (3)\Yukiko\index.js:2:17)
�[90m at Module._compile (internal/modules/cjs/loader.js:1063:30)�[39m
�[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)�[39m
�[90m at Module.load (internal/modules/cjs/loader.js:928:32)�[39m

Cant run the bot when i type help

YukikoDB: Can not connect Error: MongooseServerSelectionError: getaddrinfo ENOTFOUND yukiko
C:\Users\Admin\Downloads\Yukiko-master\Yukiko-master\index.js:24
bot.commands = new discord.Collection();
^

TypeError: Cannot set property 'commands' of undefined
at NativeConnection. (C:\Users\Admin\Downloads\Yukiko-master\Yukiko-master\index.js:24:18)
at NativeConnection.emit (events.js:315:20)
at C:\Users\Admin\Downloads\Yukiko-master\Yukiko-master\node_modules\mongoose\lib\connection.js:841:37
at processTicksAndRejections (internal/process/task_queues.js:75:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2021-02-03T11_08_06_073Z-debug.log

another error in the code

var bot = new Discord.Client({ disableEveryone: true });
^
ReferenceError: Discord is not defined

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.