1.0.2 • Published 3 years ago
cruach v1.0.2
2117 Studio | Command Handler For Discord Bot
Notes:
- Bazı Buglar Giderildi!
- Arayüz İyileştirmeleri
Download:
$ npm install cruach
Main:
const d = require("discord.js");
const cruach = require("cruach");
const client = new d.Client();
let komuts = "./komutlar" //komutlar klasörü
let eventLoad = "./events" // event klasörü
let ownerID = ["Sahip ID"]
let owner = true; // bot sahibinin kullanabileceği komutları aktifleştirir
let ana = true; // örnek komutları etkinleştirir
const loading = new cruach(client,komuts,eventLoad,ownerID,{owner,ana})
let answebots = false;
let prefix = "!" // örnek prefix
let pingprefix = true;
let prefixtoping = true;
client.on('message', async (msg) => {
loading.message(
msg,prefix,{answebots,prefixtoping,
pingprefix}
)
})
client.login("Discord Bot Token")
Commands File:
module.exports = {
name: "nsfw",
aliases: ["malum-iş"],
description: "Kodun Açıklama Kısmı",
usage: "Nasıl Kullanılır?",
ownerOnly: false, // Bot Sahibine Özel Mi?
run: async (message,args,client) => {
/*
Kodlar...
*/
}}
Bilgi:
Modül İçinde Olan Komutlar:
- ping (Ana Komut)
- eval (owner komudu)
- kapat (owner komudu)
- fakejoin (owner komudu) -fakeleave (owner komudu)
Yardım | Bug Report |
---|---|
Discord |
1.0.2
3 years ago
1.0.1-promotion
3 years ago
1.0.0-reMake
3 years ago
1.0.0-excellent
3 years ago
1.0.1-beta
3 years ago
1.0.0-remake
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago