π€Client
The Guilded Bot's client, where everything's happen and where the Guilded bot interacts with guilds/servers.
Properties
Property
Description
Type
Constructor
new Client(params)Properties
Description
Type
Required?
Methods
connect()
disconnect(crashOnDisconnect?)
Properties
Description
Type
getRESTChannel(channelID)
Properties
Description
Type
getRESTMember(guildID, memberID)
Properties
Description
Type
getRESTGuild(guildID)
Properties
Description
Type
getRESTChannelMessages(channelID, filter?)
Properties
Description
Type
getRESTChannelDocs(channelID, filter?)
Properties
Description
Type
getRESTChannelDoc(channelID, docID)
Properties
Description
Type
getRESTForumTopics(channelID, filter?)
Properties
Description
Type
getRESTForumTopic(channelID, topicID)
Properties
Description
Type
getRESTTopicComments(channelID, topicID)
Properties
Description
Type
getRESTTopicComment(channelID, topicID, commentID)
Properties
Description
Type
getRESTCalendarEvents(channelID, filter?)
Properties
Description
Type
getRESTCalendarEvent(channelID, eventID)
Properties
Description
Type
getRESTCalendarRsvps(channelID, eventID)
Properties
Description
Type
getRESTCalendarRsvp(channelID, eventID, memberID)
Properties
Description
Type
getRESTListItem(channelID, itemID)
Properties
Description
Type
getRESTListItems(channelID)
Properties
Description
Type
getRESTGuildWebhook(guildID, webhookID)
Properties
Description
Type
getRESTChannelWebhooks(guildID, channelID)
Properties
Description
Type
getChannelMessages(channelID, filter?)
Properties
Description
Type
getChannelDocs(channelID, filter?)
Properties
Description
Type
getForumTopics(channelID, filter?)
Properties
Description
Type
getTopicComments(channelID, topicID)
Properties
Description
Type
getCalendarEvents(channelID, filter?)
Properties
Description
Type
getCalendarRsvps(channelID, eventID)
Properties
Description
Type
getListItems(channelID)
Properties
Description
Type
getMemberRoles(guildID, memberID)
Properties
Description
Type
getChannelWebhooks(guildID, channelID)
Properties
Description
Type
createChannel(location, name, type, options)
Properties
Description
Type
Required?
createMessage(channelID, options)
Properties
Description
Type
Required?
editMessage(channelID, messageID, newMessage)
Properties
Description
Type
Required?
deleteMessage(channelID, messageID)
Properties
Description
Type
Required?
addMessageReaction(channelID, messageID, reaction)
Properties
Description
Type
Required?
removeMessageReaction(channelID, messageID, reaction)
Properties
Description
Type
Required?
createTopic(channelID, options)
Properties
Description
Type
Required?
editTopic(channelID, topicID)
Properties
Description
Type
Required?
deleteTopic(channelID, topicID)
Properties
Description
Type
Required?
pinTopic(channelID, topicID)
Properties
Description
Type
Required?
unpinTopic(channelID, topicID)
Properties
Description
Type
Required?
lockTopic(channelID, topicID)
Properties
Description
Type
unlockTopic(channelID, topicID)
Properties
Description
Type
addTopicReaction(channelID, topicID, emoteID)
Properties
Description
Type
removeTopicReaction(channelID, topicID, emoteID)
Properties
Description
Type
createTopicComment(channelID, topicID, options)
Properties
Description
Type
editTopicComment(channelID, topicID, commentID, options?)
Properties
Description
Type
deleteTopicComment(channelID, topicID, commentID)
Properties
Description
Type
createDoc(channelID, options)
Properties
Description
Type
Required?
editDoc(channelID, docID, options)
Properties
Description
Type
Required?
deleteDoc(channelID)
Properties
Description
Type
Required?
createCalendarEvent(channelID, options)
Properties
Description
Type
Required?
editCalendarEvent(channelID, eventID, options)
Properties
Description
Type
Required?
deleteCalendarEvent(channelID, eventID)
Properties
Description
Type
Required?
editCalendarRsvp(channelID, eventID, memberID)
Properties
Description
Type
Required?
deleteCalendarRsvp(channelID, eventID, memberID)
Properties
Description
Type
Required?
createListItem(channelID, content, note?)
Properties
Description
Type
Required?
editListItem(channelID, itemID, content, note?)
Properties
Description
Type
Required?
completeListItem(channelID, itemID)
Properties
Description
Type
Required?
uncompleteListItem(channelID, itemID)
Properties
Description
Type
Required?
addGuildMemberGroup(groupID, memberID)
Properties
Description
Type
Required?
removeGuildMemberGroup(groupID, memberID)
Properties
Description
Type
Required?
addGuildMemberRole(guildID, memberID, roleID)
Properties
Description
Type
Required?
removeGuildMemberRole(guildID, memberID, roleID)
Properties
Description
Type
Required?
createGuildWebhook(guildID, channelID, name)
Properties
Description
Type
Required?
editGuildWebhook(guildID, webhookID, options)
Properties
Description
Type
Required?
deleteGuildWebhook(guildID, webhookID)
Properties
Description
Type
Required?
awardMember(guildID, memberID, xpAmount)
Properties
Description
Type
setMemberXP(guildID, memberID, xpAmount)
Properties
Description
Type
awardRole(guildID, roleID, xpAmount)
Properties
Description
Type
Last updated