1.0.38 • Published 2 years ago
discordjs-module v1.0.38
Author: kiritothereal
Installation
For install this module type the command next in your console :
npm i discordjs-moduleFeature
Antiraid
Dans votre event guildMemberAdd:
const djssimply = require("discordjs-module")
client.on("guildMemberAdd", async(member) => {
const atiraid = new djssimply.Antiraid()
.setMember(member)
.setTextMember(`Vous avez été kick car le mode antiraid est activé !`)
await antiraid.toAntiraid();
})Captcha
Dans votre event guildMemberAdd:
const djssimply = require("discordjs-module")
client.on("guildMemberAdd", async(member) => {
const setCaptcha = new djs.Captcha({
member: member,//The member to fetch!
kickMS: "1m",//The time to the captcha after the kick!
sucess: "You have succeeded the captcha!",//The sentence when the captcha will be succeed!
failedMS: "You have been kicked reason: the captcha was not done in time!",//The sentence when the captcha will be not done in time!
failed: "Too bad!",//The sentence when the captcha will be failed!
launch: "Please verify the captcha!", //The sentence when the captcha will be launched!
channel: interaction.channel, //The channel to send the captcha!
traceColor: "red", //The Trace color of the image!
colorCaptcha: "blue" //The Text color of the image!
});
await setCaptcha.toSend();
})setStatus
Example:
const djssimply = require("discordjs-module");
const setStatus = new djssimply.setStatus()
.setActivity("Streaming")
.setUrl("https://www.twitch.tv/blxst_kirito")
.setBot(bot)
.setPresence("online")
.setStatus("test")
await setStatus.toSetStatus();
return message.reply("Status changé !");Commands
ServeurInfo
const servInfo = new djs.serveurInfo({
guild: interaction.guild.id, //Your guild id to fetch!
message: interaction, //The message or interaction object to send the message!
bot: interaction.client //Your client object (bot) for get the guild!
});
await servInfo.toSend();1.0.38
2 years ago
1.0.33
2 years ago
1.0.32
2 years ago
1.0.31
2 years ago
1.0.35
2 years ago
1.0.34
2 years ago
1.0.26
3 years ago
1.0.25
3 years ago
1.0.24
3 years ago
1.0.23
3 years ago
1.0.29
3 years ago
1.0.27
3 years ago
1.0.22
3 years ago
1.0.21
3 years ago
1.0.20
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago