events.guild_ban_add: Event, emitted whenever a user gets hammered by the power of...

Description Usage Slots Examples

View source: R/events_guildbanadd.r

Description

Event, emitted whenever a user gets hammered by the power of thor.

Usage

1

Slots

data

The event fields

client

The client object

Examples

1
2
3
4
5
6
## Not run: 
client$emitter$on("GUILD_BAN_ADD", function(guild, user) {
 cat("The user", user$username, "has been banned from", guild$name)
})

## End(Not run)

TheOnlyArtz/Pirate documentation built on Oct. 31, 2019, 12:12 a.m.