Description Usage Arguments Disclaimer
View source: R/events_guildroledelete.r
Event, emitted whenever a role is being deleted
1 | events.guild_role_delete(data, client)
|
data |
The event fields |
client |
The client object ## Not run: client$emitter$on("GUILD_ROLE_REMOVE", function(guild, role) { cat("The role:", role$name, "has been removed in:", guild$name, "!") }) ## End(Not run) |
This event will return guild id instead of guild object if not cached. this can be used in order to fetch the guild from the API (DISABLED FOR NOW)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.