events.guild_remove: Event, whenever a guild becomes unavilable or the bot has...

Description Usage Arguments Examples

View source: R/events_guildremove.r

Description

Event, whenever a guild becomes unavilable or the bot has been removed from there

Usage

1

Arguments

data

The guild object (partial)

client

The client object

Examples

1
2
3
4
5
6
## Not run: 
 client$emitter$on("GUILD_REMOVE", function(guild) {
   cat("The bot left ", guild$name)
 })

## End(Not run)

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