We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
removes a listener to a given event(s)
async function callback(ctx) { console.log(ctx); } client.on("send", callback); // adds the listener client.off("send", callback); // removes the listener
Function Sync
Function
Sync
event(s) String or Array all of the events you want to remove a listener from callback Function callback for the listener
event(s) String or Array all of the events you want to remove a listener from
String
Array
callback Function callback for the listener
🛈 Client
🛈 AddonService
🛈 AttachmentService
🛈 ChannelService
🛈 CommandService
🛈 ComponentService
🛈 ErrorService
🛈 EventService
🛈 ExpressionService
🛈 GuildService
🛈 LogService
🛈 MessageService
🛈 PermissionService
🛈 RoleService
🛈 StorageService
🛈 TypeService
🛈 UserService
🛈 UtilService
🛈 VoiceService