3.0.2 • Published 3 years ago

blackwordblocker v3.0.2

Weekly downloads
4
License
-
Repository
-
Last release
3 years ago

#初めに このパッケージは禁止ワードを手軽に設定できるものです まず、npm i blackwordblockerとうちます それだけです。

#サンプルコード

const black = require('blackwordblocker');
console.log(black.kinshi())

#Discord応用

const Discord = require('discord.js');
const client = new Discord.Client();
const black = require('blackwordblocker');

client.on("message", async message => {
if(message.content === black.kinshi()){
    message.delete();
}})

console.log(black.kinshi())

client.login('TOKEN')
3.0.2

3 years ago