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