Skip to content

Event.listen()

github-actions[bot] edited this page Sep 30, 2024 · 2 revisions

adds a new listener to the event

JS
event.listen( (a, b, c) => {       
    console.log(a, b, c);
});      

Function Sync

Arguments:

  • callback Function
    callback function for the listener that's 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


Clone this wiki locally