1.0.38 • Published 2 years ago

discordjs-module v1.0.38

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

Author: kiritothereal

Installation

For install this module type the command next in your console :

npm i discordjs-module

Feature

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

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.29

2 years ago

1.0.27

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago