2.0.5 • Published 3 years ago

discord-raid-toolkit-revamp v2.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago
const Discord = require('discord.js') //we require discord
const client = new Discord.Client() //setting/creating a new discord client (bot)

const Disc_rd = require('discord-raid-toolkit-revamp')
const raid = new Disc_rd.RaidBot(client) //here we pass client parameter, as you see i set it as client because that is the name i put it as in const **client**

client.on('message', async message => {
	if(message.content.startsWith('!deletechannels')) {
	await raid.deleteAllChannels(message.guild.id) //deleting every channel in the guild with the id provided, in this case, the current guild where command was executed
}
})


client.login('Your very very secret token')

+ - Btw there was a typo in set up code, please re-copy paste it and then it will work as expected + - Added banAll(guild_id, reason) - Btw, reason in every function is always optional, Just remembering ya

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago