ghost-devs.js
v2.2.3
Published
Genel botlar için tasarlanan modüldür!
Downloads
15
Readme
ghost-devs.js
İndirme:
npm i ghost-devs.js
Örnek Matematik Kodu:
const { Client } = require('discord.js');
const { Matematik } = require('ghost-devs.js');
const client = new Client();
client.on('ready', async () => {
console.log('ready');
});
client.on('message', async (message) => {
var args = message.content.split(" ");
if (args[0] == "!topla") {
var math = new Matematik();
math.toplama("100", "10", message.channel);
};
});
client.on('message', async (message) => {
var args = message.content.split(" ");
if (args[0] == "!çıkar") {
var math = new Matematik();
math.çıkarma("100", "10", message.channel);
};
});
client.on('message', async (message) => {
var args = message.content.split(" ");
if (args[0] == "!çarp") {
var math = new Matematik();
math.çarpma("100", "10", message.channel);
};
});
client.on('message', async (message) => {
var args = message.content.split(" ");
if (args[0] == "!böl") {
var math = new Matematik();
math.bölme("100", "10", message.channel);
};
});
client.login(process.env.token);
Telif Hakkı:
- Ghost Development: tıkla!