{"id":29161274,"url":"https://github.com/codemeapixel/ninja-bot-source","last_synced_at":"2025-10-12T21:14:53.422Z","repository":{"id":106962425,"uuid":"254247903","full_name":"CodeMeAPixel/Ninja-Bot-Source","owner":"CodeMeAPixel","description":"Discord Moderation Bot using SQL \u0026 Discord.JS","archived":false,"fork":false,"pushed_at":"2021-03-25T09:06:57.000Z","size":6285,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T10:50:22.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeMeAPixel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-09T02:08:00.000Z","updated_at":"2021-11-25T13:09:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"c489ee0f-e03d-482a-bb73-cc0d4831a78a","html_url":"https://github.com/CodeMeAPixel/Ninja-Bot-Source","commit_stats":null,"previous_names":["codemeapixel/ninja-bot-source"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CodeMeAPixel/Ninja-Bot-Source","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FNinja-Bot-Source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FNinja-Bot-Source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FNinja-Bot-Source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FNinja-Bot-Source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeMeAPixel","download_url":"https://codeload.github.com/CodeMeAPixel/Ninja-Bot-Source/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeMeAPixel%2FNinja-Bot-Source/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262887253,"owners_count":23379771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-01T03:09:50.245Z","updated_at":"2025-10-12T21:14:53.362Z","avatar_url":"https://github.com/CodeMeAPixel.png","language":"JavaScript","readme":"# Attention:\n**I will do my best to help out if your having issues hosting.**\n\n# ★ Ninja ★\nWritten in discord.js of course \n\n# ★ Ninja AI ★\n\u003e Currently unavailable, Updates will be available soon module has been Deprecated untill then.\n\n# Bug Reports\nIf you find any bugs please make a issue so i can look into it and fix it\n\n# Credits\nMade By:\n- ☣ Tσxιƈ Dҽʋ ☣#7308 (me)\n\nSpecial Thanks too:\n- dragonfire535 - Some api commands\n\n- YorkAARGH - How to use sqlite from this guide https://anidiotsguide_old.gitbooks.io/discord-js-bot-guide/content/coding-guides/storing-data-in-an-sqlite-file.html\n\n will use sqlite instead of jsons to store data (Better this way so it wont currupt if your bot gets in to many servers and is constantly reading/writing data), json is fine for storing static information\n\n--------------------------------------------------------\n\nHosting\n\nFirst, download all the files and put them in a folder.\n\nNow you need to create a new app at https://discordapp.com/developers/applications/me/create and then need to fill out the bots name and select its avatar then create it. Once done that find where is says Bot and click create a bot user and hit yes, do it\n\nNow you want to go back to bot go to token and click token: click to reveal this will show you the bot token now edit config.json in assets where it says, \"token\": \"Your token\" with your bot token once done click save.\n\nAdditionally for the token you can use \n\n- \"client.lgoin(\"YOUR_TOKEN_HERE\")\n\nOR\n\n- process.env\n\n\nNow you have done that you will need NodeJs installed can get it from https://nodejs.org/en/ so you can start running the bot.\n\nNow right click the folder in an empty space where you put the files in then click open command prompt.\n\nNeed to install each of these packages with npm install [packagename] without the brackets and replace package name with the ones below.\n\nPackages Needed\n\n- discord.js\n- ms\n- superagent\n- snekfetch\n- request\n- request-promise-native\n- urban\n- chrono-node\n- moment\n- windows-build-tools\n- node-gyp\n- canvas\n- canvas-constructor\n- fs-nextra\n- cheerio\n- got\n- sqlite\n- sqlite3\n- mathjs\n\nWhen done downloading the dependencies, run node Main.js, to start the bot.\n\nIf there is a problem or an error please make an issue.\n\nIf you want to run this bot while not having the console or terminal open, use nodemon or pm2 (ex. pm2 start Main.js) or just get a host\n\n# Free Hosts\n- Heroku\n- Glitch\n\n# Recommended Paid Hosts\n- Google Cloud\n- Amazon\n- Digital Ocean\n\n# COPYRIGHT WARNING\nYou are free to Edit **ANY AND ALL** Copyright Notices in the bots Embeds etc but.\nYou may **NOT** edit **ANY** of the info provided in the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemeapixel%2Fninja-bot-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemeapixel%2Fninja-bot-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemeapixel%2Fninja-bot-source/lists"}