All Projects → dirigeants → Komada

dirigeants / Komada

Licence: mit
Komada: Croatian for `pieces`, is a modular bot system including reloading modules and easy to use custom commands.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Komada

Tinypart
TinyPart is an iOS modularization framework implemented by Ojective-C. It also supports URL-routing and inter-module communication. TinyPart是一个由Objective-C编写的面向协议的iOS模块化框架,同时它还支持URL路由和模块间通信机制。
Stars: ✭ 120 (+79.1%)
Mutual labels:  framework, module, modular
Whs.js
🚀 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js
Stars: ✭ 5,685 (+8385.07%)
Mutual labels:  framework, modular
Lass
👧 Lass scaffolds a modern package boilerplate for Node.js
Stars: ✭ 615 (+817.91%)
Mutual labels:  framework, module
Webmiddle
Node.js framework for modular web scraping and data extraction
Stars: ✭ 13 (-80.6%)
Mutual labels:  framework, modular
Beehive
🐝 BeeHive is a solution for iOS Application module programs, it absorbed the Spring Framework API service concept to avoid coupling between modules.
Stars: ✭ 4,117 (+6044.78%)
Mutual labels:  module, modular
Commando
Official command framework for discord.js
Stars: ✭ 434 (+547.76%)
Mutual labels:  framework, discord
Currencyviewer
Short python framework that dynamically displays and converts the cryptocurrencies in your Kraken wallet into equivalents fiat money.
Stars: ✭ 13 (-80.6%)
Mutual labels:  framework, module
Liblava
🌋 A modern and easy-to-use library for the Vulkan API
Stars: ✭ 275 (+310.45%)
Mutual labels:  framework, modular
Jcnavigator
A decoupled navigator framework of jumping between modules or apps for iOS development.
Stars: ✭ 33 (-50.75%)
Mutual labels:  framework, module
Phaser Node Kit
Rapid Game Development with PhaserJS and Node for Modern Browsers
Stars: ✭ 39 (-41.79%)
Mutual labels:  framework, node-js
System Bot
Moderative and user-friendly discord bot using discord.js
Stars: ✭ 43 (-35.82%)
Mutual labels:  discord, node-js
Tentcss
🌿 A CSS survival kit. Includes only the essentials to make camp.
Stars: ✭ 400 (+497.01%)
Mutual labels:  framework, modular
Filter.js
Filter.js: Video and Image Processing and Computer Vision Library in pure JavaScript (Browser and Node.js)
Stars: ✭ 335 (+400%)
Mutual labels:  framework, node-js
Gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
Stars: ✭ 6,501 (+9602.99%)
Mutual labels:  framework, modular
Plato
❤️ a Boilerplate for [mobile] SPAs use vue, vuex, vue-router
Stars: ✭ 283 (+322.39%)
Mutual labels:  framework, modular
Weakauras2
World of Warcraft addon that provides a powerful framework to display customizable graphics on your screen.
Stars: ✭ 731 (+991.04%)
Mutual labels:  framework, discord
Modularjs
△ Dead simple modular JavaScript framework for ES modules.
Stars: ✭ 52 (-22.39%)
Mutual labels:  framework, modular
cytrus-re
A multipurpose Discord bot!
Stars: ✭ 16 (-76.12%)
Mutual labels:  discord, node-js
Sihl
A modular functional web framework
Stars: ✭ 267 (+298.51%)
Mutual labels:  framework, modular
Pvpcraft
PvPCraft Discord bot
Stars: ✭ 29 (-56.72%)
Mutual labels:  modular, discord

Komada Framework Documentation

Discord npm npm Greenkeeper badge Build Status David Codacy Badge

Komada is a modular framework for bots built on top of Discord.js. It offers an extremely easy installation, downloadable commands, and a framework to build your own commands, modules, and functions.

What's with the name?

Komada is the Croatian word for "pieces", such as puzzle pieces. As usual to find my software name I just shove english words in a translator and see what comes out. But why "pieces"? Because Komada is modular, meaning each "piece" is a standalone part that can be easily replaced, enhanced, reloaded, removed.

Installing Komada

Time to take the plunge! Komada is on NPM and can be easily installed.

I assume you know how to open a command prompt in a folder where you want to install this. Please don't prove me wrong.

npm install komada discordjs/discord.js

Create a file called app.js (or whatever you prefer) which will initiate and configure Komada.

const komada = require("komada");

const client = new komada.Client({
  ownerID : "your-user-id",
  prefix: "+",
  clientOptions: {
    fetchAllMembers: false,
  },
  cmdLogging: true,
});

client.login("your-bot-token");

Configuration Options

  • botToken: The MFA token for your bot. To get this, please see This discord.js Getting Started Guide, which explains how to create the bot and get the token.
  • ownerID: The User ID of the bot owner - you. This gives you the highest possible access to the bot's default commands, including eval! To obtain it, enable Developer Mode in Discord, right-click your name and do "Copy ID".

As of Komada 0.20.4, If you do not set this option, the ownerID will default the creator of the application on the discord developer website. This only works if your bot is not a self/user bot.

  • prefix: The default prefix when the bot first boots up. This option becomes useless after first boot, since the prefix is written to the default configuration system.
  • clientOptions: These are passed directly to the discord.js library. They are optional. For more information on which options are available, see ClientOptions in the discord.js docs.
  • permStructure: It allows you to configure the permission levels from Komada, with a range of 0-10. You can also use Komada.PermLevels constructor.
  • cmdLogging: If set to true, it console.logs EVERY successful command run, where, the user who ran it, and the time it took to process the command with a sexy color format.

Komada automatically detects selfbot mode, and takes appropriate precautions, such as not responding to anyone but yourself.

Running the bot

Then, run the following in your folder:

node app.js

Requirements: This version of Komada requires Node 8.1.0 or higher to run. Depends on Discord.js v12.0.0-dev or higher (the appropriate version is automatically installed).

Documentation

Please check Komada Docs to learn more about Komada Framework and its usage. Any doubts? Ask us here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].