ban
A powerful discord bot making library to help you make discord bots. Super easy, 100 percent discord api coverage, and more! Discord.lib also allows you to interact with discord.js.
This is the function that will ban a member.
For now, only member with ADMINISTRATOR permission could ban member. if you want to specify a permission, you need use the discord.lib.client interacting method. This method will be in the example section below
Parameters
Parameter
Description
Require
command
command name
yes
Example
example for using discord.lib kick
example for interacting with discord.lib.client
Last updated