diff --git a/assets/js/search.js b/assets/js/search.js index 0d931d3b..7111ed8e 100644 --- a/assets/js/search.js +++ b/assets/js/search.js @@ -1 +1 @@ -window.searchData = {"kinds":{"32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","4194304":"Type alias"},"rows":[{"id":0,"kind":128,"name":"Channel","url":"classes/Channel.html","classes":"tsd-kind-class"},{"id":1,"kind":512,"name":"constructor","url":"classes/Channel.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Channel"},{"id":2,"kind":1024,"name":"client","url":"classes/Channel.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":3,"kind":1024,"name":"_id","url":"classes/Channel.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":4,"kind":1024,"name":"channel_type","url":"classes/Channel.html#channel_type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":5,"kind":1024,"name":"active","url":"classes/Channel.html#active","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":6,"kind":1024,"name":"owner_id","url":"classes/Channel.html#owner_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":7,"kind":1024,"name":"server_id","url":"classes/Channel.html#server_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":8,"kind":1024,"name":"permissions","url":"classes/Channel.html#permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":9,"kind":1024,"name":"default_permissions","url":"classes/Channel.html#default_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":10,"kind":1024,"name":"role_permissions","url":"classes/Channel.html#role_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":11,"kind":1024,"name":"name","url":"classes/Channel.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":12,"kind":1024,"name":"icon","url":"classes/Channel.html#icon","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":13,"kind":1024,"name":"description","url":"classes/Channel.html#description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":14,"kind":1024,"name":"recipient_ids","url":"classes/Channel.html#recipient_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":15,"kind":1024,"name":"last_message_id","url":"classes/Channel.html#last_message_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":16,"kind":1024,"name":"typing_ids","url":"classes/Channel.html#typing_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":17,"kind":1024,"name":"nsfw","url":"classes/Channel.html#nsfw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Channel"},{"id":18,"kind":262144,"name":"owner","url":"classes/Channel.html#owner","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":19,"kind":262144,"name":"server","url":"classes/Channel.html#server","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":20,"kind":262144,"name":"recipient","url":"classes/Channel.html#recipient","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":21,"kind":262144,"name":"last_message","url":"classes/Channel.html#last_message","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":22,"kind":262144,"name":"last_message_id_or_past","url":"classes/Channel.html#last_message_id_or_past","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":23,"kind":262144,"name":"recipients","url":"classes/Channel.html#recipients","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":24,"kind":262144,"name":"typing","url":"classes/Channel.html#typing","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":25,"kind":262144,"name":"createdAt","url":"classes/Channel.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":26,"kind":262144,"name":"path","url":"classes/Channel.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":27,"kind":262144,"name":"url","url":"classes/Channel.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":28,"kind":2048,"name":"isUnread","url":"classes/Channel.html#isUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":29,"kind":2048,"name":"getMentions","url":"classes/Channel.html#getMentions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":30,"kind":262144,"name":"unread","url":"classes/Channel.html#unread","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":31,"kind":262144,"name":"mentions","url":"classes/Channel.html#mentions","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":32,"kind":2048,"name":"update","url":"classes/Channel.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":33,"kind":2048,"name":"updateGroupJoin","url":"classes/Channel.html#updateGroupJoin","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":34,"kind":2048,"name":"updateGroupLeave","url":"classes/Channel.html#updateGroupLeave","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":35,"kind":2048,"name":"updateStartTyping","url":"classes/Channel.html#updateStartTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":36,"kind":2048,"name":"updateStopTyping","url":"classes/Channel.html#updateStopTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":37,"kind":2048,"name":"fetchMembers","url":"classes/Channel.html#fetchMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":38,"kind":2048,"name":"edit","url":"classes/Channel.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":39,"kind":2048,"name":"delete","url":"classes/Channel.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":40,"kind":2048,"name":"addMember","url":"classes/Channel.html#addMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":41,"kind":2048,"name":"removeMember","url":"classes/Channel.html#removeMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":42,"kind":2048,"name":"sendMessage","url":"classes/Channel.html#sendMessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":43,"kind":2048,"name":"fetchMessage","url":"classes/Channel.html#fetchMessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":44,"kind":2048,"name":"fetchMessages","url":"classes/Channel.html#fetchMessages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":45,"kind":2048,"name":"fetchMessagesWithUsers","url":"classes/Channel.html#fetchMessagesWithUsers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":46,"kind":2048,"name":"search","url":"classes/Channel.html#search","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":47,"kind":2048,"name":"searchWithUsers","url":"classes/Channel.html#searchWithUsers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":48,"kind":2048,"name":"fetchStale","url":"classes/Channel.html#fetchStale","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":49,"kind":2048,"name":"deleteMessages","url":"classes/Channel.html#deleteMessages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":50,"kind":2048,"name":"createInvite","url":"classes/Channel.html#createInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":51,"kind":2048,"name":"joinCall","url":"classes/Channel.html#joinCall","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":52,"kind":1024,"name":"ackTimeout","url":"classes/Channel.html#ackTimeout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Channel"},{"id":53,"kind":1024,"name":"ackLimit","url":"classes/Channel.html#ackLimit","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Channel"},{"id":54,"kind":2048,"name":"ack","url":"classes/Channel.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":55,"kind":2048,"name":"setPermissions","url":"classes/Channel.html#setPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":56,"kind":2048,"name":"startTyping","url":"classes/Channel.html#startTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":57,"kind":2048,"name":"stopTyping","url":"classes/Channel.html#stopTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":58,"kind":2048,"name":"generateIconURL","url":"classes/Channel.html#generateIconURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":59,"kind":262144,"name":"permission","url":"classes/Channel.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Channel"},{"id":60,"kind":2048,"name":"havePermission","url":"classes/Channel.html#havePermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Channel"},{"id":61,"kind":128,"name":"Member","url":"classes/Member.html","classes":"tsd-kind-class"},{"id":62,"kind":512,"name":"constructor","url":"classes/Member.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Member"},{"id":63,"kind":1024,"name":"client","url":"classes/Member.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Member"},{"id":64,"kind":1024,"name":"_id","url":"classes/Member.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Member"},{"id":65,"kind":65536,"name":"__type","url":"classes/Member.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"Member"},{"id":66,"kind":1024,"name":"nickname","url":"classes/Member.html#nickname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Member"},{"id":67,"kind":1024,"name":"avatar","url":"classes/Member.html#avatar","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Member"},{"id":68,"kind":1024,"name":"roles","url":"classes/Member.html#roles","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Member"},{"id":69,"kind":262144,"name":"user","url":"classes/Member.html#user-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":70,"kind":262144,"name":"server","url":"classes/Member.html#server-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":71,"kind":262144,"name":"inferior","url":"classes/Member.html#inferior","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":72,"kind":262144,"name":"kickable","url":"classes/Member.html#kickable","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":73,"kind":262144,"name":"bannable","url":"classes/Member.html#bannable","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":74,"kind":2048,"name":"update","url":"classes/Member.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Member"},{"id":75,"kind":2048,"name":"edit","url":"classes/Member.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Member"},{"id":76,"kind":2048,"name":"kick","url":"classes/Member.html#kick","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Member"},{"id":77,"kind":262144,"name":"orderedRoles","url":"classes/Member.html#orderedRoles","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":78,"kind":262144,"name":"hoistedRole","url":"classes/Member.html#hoistedRole","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":79,"kind":262144,"name":"ranking","url":"classes/Member.html#ranking","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Member"},{"id":80,"kind":2048,"name":"generateAvatarURL","url":"classes/Member.html#generateAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Member"},{"id":81,"kind":2048,"name":"getPermissions","url":"classes/Member.html#getPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Member"},{"id":82,"kind":2048,"name":"hasPermission","url":"classes/Member.html#hasPermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Member"},{"id":83,"kind":2048,"name":"inferiorTo","url":"classes/Member.html#inferiorTo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Member"},{"id":84,"kind":128,"name":"Message","url":"classes/Message.html","classes":"tsd-kind-class"},{"id":85,"kind":512,"name":"constructor","url":"classes/Message.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Message"},{"id":86,"kind":1024,"name":"client","url":"classes/Message.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":87,"kind":1024,"name":"_id","url":"classes/Message.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":88,"kind":1024,"name":"nonce","url":"classes/Message.html#nonce","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":89,"kind":1024,"name":"channel_id","url":"classes/Message.html#channel_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":90,"kind":1024,"name":"author_id","url":"classes/Message.html#author_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":91,"kind":1024,"name":"content","url":"classes/Message.html#content","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":92,"kind":1024,"name":"system","url":"classes/Message.html#system","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":93,"kind":1024,"name":"attachments","url":"classes/Message.html#attachments","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":94,"kind":1024,"name":"edited","url":"classes/Message.html#edited","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":95,"kind":1024,"name":"embeds","url":"classes/Message.html#embeds","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":96,"kind":1024,"name":"mention_ids","url":"classes/Message.html#mention_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":97,"kind":1024,"name":"reply_ids","url":"classes/Message.html#reply_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":98,"kind":1024,"name":"masquerade","url":"classes/Message.html#masquerade","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Message"},{"id":99,"kind":262144,"name":"channel","url":"classes/Message.html#channel","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":100,"kind":262144,"name":"author","url":"classes/Message.html#author","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":101,"kind":262144,"name":"member","url":"classes/Message.html#member","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":102,"kind":262144,"name":"mentions","url":"classes/Message.html#mentions","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":103,"kind":262144,"name":"createdAt","url":"classes/Message.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":104,"kind":262144,"name":"path","url":"classes/Message.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":105,"kind":262144,"name":"url","url":"classes/Message.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":106,"kind":2048,"name":"generateMasqAvatarURL","url":"classes/Message.html#generateMasqAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Message"},{"id":107,"kind":262144,"name":"asSystemMessage","url":"classes/Message.html#asSystemMessage","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Message"},{"id":108,"kind":2048,"name":"update","url":"classes/Message.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Message"},{"id":109,"kind":2048,"name":"append","url":"classes/Message.html#append","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Message"},{"id":110,"kind":2048,"name":"edit","url":"classes/Message.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Message"},{"id":111,"kind":2048,"name":"delete","url":"classes/Message.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Message"},{"id":112,"kind":2048,"name":"ack","url":"classes/Message.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Message"},{"id":113,"kind":2048,"name":"reply","url":"classes/Message.html#reply","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Message"},{"id":114,"kind":128,"name":"Server","url":"classes/Server.html","classes":"tsd-kind-class"},{"id":115,"kind":512,"name":"constructor","url":"classes/Server.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Server"},{"id":116,"kind":1024,"name":"client","url":"classes/Server.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":117,"kind":1024,"name":"_id","url":"classes/Server.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":118,"kind":1024,"name":"owner","url":"classes/Server.html#owner","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":119,"kind":1024,"name":"name","url":"classes/Server.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":120,"kind":1024,"name":"description","url":"classes/Server.html#description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":121,"kind":1024,"name":"channel_ids","url":"classes/Server.html#channel_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":122,"kind":1024,"name":"categories","url":"classes/Server.html#categories","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":123,"kind":1024,"name":"system_messages","url":"classes/Server.html#system_messages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":124,"kind":1024,"name":"roles","url":"classes/Server.html#roles","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":125,"kind":1024,"name":"default_permissions","url":"classes/Server.html#default_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":126,"kind":1024,"name":"icon","url":"classes/Server.html#icon","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":127,"kind":1024,"name":"banner","url":"classes/Server.html#banner","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":128,"kind":1024,"name":"nsfw","url":"classes/Server.html#nsfw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":129,"kind":1024,"name":"flags","url":"classes/Server.html#flags","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Server"},{"id":130,"kind":262144,"name":"channels","url":"classes/Server.html#channels","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":131,"kind":262144,"name":"createdAt","url":"classes/Server.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":132,"kind":262144,"name":"path","url":"classes/Server.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":133,"kind":262144,"name":"url","url":"classes/Server.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":134,"kind":262144,"name":"orderedChannels","url":"classes/Server.html#orderedChannels","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":135,"kind":262144,"name":"orderedRoles","url":"classes/Server.html#orderedRoles","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":136,"kind":2048,"name":"isUnread","url":"classes/Server.html#isUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":137,"kind":2048,"name":"getMentions","url":"classes/Server.html#getMentions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":138,"kind":2048,"name":"update","url":"classes/Server.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":139,"kind":2048,"name":"createChannel","url":"classes/Server.html#createChannel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":140,"kind":2048,"name":"edit","url":"classes/Server.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":141,"kind":2048,"name":"delete","url":"classes/Server.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":142,"kind":2048,"name":"ack","url":"classes/Server.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":143,"kind":2048,"name":"banUser","url":"classes/Server.html#banUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":144,"kind":2048,"name":"unbanUser","url":"classes/Server.html#unbanUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":145,"kind":2048,"name":"fetchInvites","url":"classes/Server.html#fetchInvites","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":146,"kind":2048,"name":"fetchBans","url":"classes/Server.html#fetchBans","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":147,"kind":2048,"name":"setPermissions","url":"classes/Server.html#setPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":148,"kind":2048,"name":"createRole","url":"classes/Server.html#createRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":149,"kind":2048,"name":"editRole","url":"classes/Server.html#editRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":150,"kind":2048,"name":"deleteRole","url":"classes/Server.html#deleteRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":151,"kind":2048,"name":"fetchMember","url":"classes/Server.html#fetchMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":152,"kind":2048,"name":"syncMembers","url":"classes/Server.html#syncMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":153,"kind":2048,"name":"fetchMembers","url":"classes/Server.html#fetchMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":154,"kind":2048,"name":"generateIconURL","url":"classes/Server.html#generateIconURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":155,"kind":2048,"name":"generateBannerURL","url":"classes/Server.html#generateBannerURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":156,"kind":262144,"name":"member","url":"classes/Server.html#member","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":157,"kind":262144,"name":"permission","url":"classes/Server.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Server"},{"id":158,"kind":2048,"name":"havePermission","url":"classes/Server.html#havePermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Server"},{"id":159,"kind":128,"name":"User","url":"classes/User.html","classes":"tsd-kind-class"},{"id":160,"kind":512,"name":"constructor","url":"classes/User.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"User"},{"id":161,"kind":1024,"name":"client","url":"classes/User.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":162,"kind":1024,"name":"_id","url":"classes/User.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":163,"kind":1024,"name":"username","url":"classes/User.html#username","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":164,"kind":1024,"name":"avatar","url":"classes/User.html#avatar","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":165,"kind":1024,"name":"badges","url":"classes/User.html#badges","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":166,"kind":1024,"name":"status","url":"classes/User.html#status","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":167,"kind":1024,"name":"relationship","url":"classes/User.html#relationship","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":168,"kind":1024,"name":"online","url":"classes/User.html#online","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":169,"kind":1024,"name":"privileged","url":"classes/User.html#privileged","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":170,"kind":1024,"name":"flags","url":"classes/User.html#flags","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":171,"kind":1024,"name":"bot","url":"classes/User.html#bot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"User"},{"id":172,"kind":262144,"name":"createdAt","url":"classes/User.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"User"},{"id":173,"kind":2048,"name":"update","url":"classes/User.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":174,"kind":2048,"name":"openDM","url":"classes/User.html#openDM","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":175,"kind":2048,"name":"addFriend","url":"classes/User.html#addFriend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":176,"kind":2048,"name":"removeFriend","url":"classes/User.html#removeFriend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":177,"kind":2048,"name":"blockUser","url":"classes/User.html#blockUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":178,"kind":2048,"name":"unblockUser","url":"classes/User.html#unblockUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":179,"kind":2048,"name":"fetchProfile","url":"classes/User.html#fetchProfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":180,"kind":2048,"name":"fetchMutual","url":"classes/User.html#fetchMutual","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":181,"kind":262144,"name":"defaultAvatarURL","url":"classes/User.html#defaultAvatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"User"},{"id":182,"kind":2048,"name":"generateAvatarURL","url":"classes/User.html#generateAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"User"},{"id":183,"kind":262144,"name":"permission","url":"classes/User.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"User"},{"id":184,"kind":32,"name":"UserPermission","url":"modules.html#UserPermission","classes":"tsd-kind-variable"},{"id":185,"kind":65536,"name":"__type","url":"modules.html#UserPermission.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"UserPermission"},{"id":186,"kind":1024,"name":"Access","url":"modules.html#UserPermission.__type.Access","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"UserPermission.__type"},{"id":187,"kind":1024,"name":"ViewProfile","url":"modules.html#UserPermission.__type.ViewProfile","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"UserPermission.__type"},{"id":188,"kind":1024,"name":"SendMessage","url":"modules.html#UserPermission.__type.SendMessage","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"UserPermission.__type"},{"id":189,"kind":1024,"name":"Invite","url":"modules.html#UserPermission.__type.Invite","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"UserPermission.__type"},{"id":190,"kind":32,"name":"Permission","url":"modules.html#Permission","classes":"tsd-kind-variable"},{"id":191,"kind":65536,"name":"__type","url":"modules.html#Permission.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"Permission"},{"id":192,"kind":1024,"name":"ManageChannel","url":"modules.html#Permission.__type.ManageChannel","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":193,"kind":1024,"name":"ManageServer","url":"modules.html#Permission.__type.ManageServer","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":194,"kind":1024,"name":"ManagePermissions","url":"modules.html#Permission.__type.ManagePermissions","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":195,"kind":1024,"name":"ManageRole","url":"modules.html#Permission.__type.ManageRole","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":196,"kind":1024,"name":"KickMembers","url":"modules.html#Permission.__type.KickMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":197,"kind":1024,"name":"BanMembers","url":"modules.html#Permission.__type.BanMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":198,"kind":1024,"name":"TimeoutMembers","url":"modules.html#Permission.__type.TimeoutMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":199,"kind":1024,"name":"AssignRoles","url":"modules.html#Permission.__type.AssignRoles","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":200,"kind":1024,"name":"ChangeNickname","url":"modules.html#Permission.__type.ChangeNickname","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":201,"kind":1024,"name":"ManageNicknames","url":"modules.html#Permission.__type.ManageNicknames","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":202,"kind":1024,"name":"ChangeAvatar","url":"modules.html#Permission.__type.ChangeAvatar","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":203,"kind":1024,"name":"RemoveAvatars","url":"modules.html#Permission.__type.RemoveAvatars","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":204,"kind":1024,"name":"ViewChannel","url":"modules.html#Permission.__type.ViewChannel","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":205,"kind":1024,"name":"ReadMessageHistory","url":"modules.html#Permission.__type.ReadMessageHistory","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":206,"kind":1024,"name":"SendMessage","url":"modules.html#Permission.__type.SendMessage","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":207,"kind":1024,"name":"ManageMessages","url":"modules.html#Permission.__type.ManageMessages","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":208,"kind":1024,"name":"ManageWebhooks","url":"modules.html#Permission.__type.ManageWebhooks","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":209,"kind":1024,"name":"InviteOthers","url":"modules.html#Permission.__type.InviteOthers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":210,"kind":1024,"name":"SendEmbeds","url":"modules.html#Permission.__type.SendEmbeds","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":211,"kind":1024,"name":"UploadFiles","url":"modules.html#Permission.__type.UploadFiles","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":212,"kind":1024,"name":"Masquerade","url":"modules.html#Permission.__type.Masquerade","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":213,"kind":1024,"name":"Connect","url":"modules.html#Permission.__type.Connect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":214,"kind":1024,"name":"Speak","url":"modules.html#Permission.__type.Speak","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":215,"kind":1024,"name":"Video","url":"modules.html#Permission.__type.Video","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":216,"kind":1024,"name":"MuteMembers","url":"modules.html#Permission.__type.MuteMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":217,"kind":1024,"name":"DeafenMembers","url":"modules.html#Permission.__type.DeafenMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":218,"kind":1024,"name":"MoveMembers","url":"modules.html#Permission.__type.MoveMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":219,"kind":1024,"name":"GrantAllSafe","url":"modules.html#Permission.__type.GrantAllSafe","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"Permission.__type"},{"id":220,"kind":32,"name":"DEFAULT_PERMISSION","url":"modules.html#DEFAULT_PERMISSION","classes":"tsd-kind-variable"},{"id":221,"kind":32,"name":"DEFAULT_PERMISSION_DIRECT_MESSAGE","url":"modules.html#DEFAULT_PERMISSION_DIRECT_MESSAGE","classes":"tsd-kind-variable"},{"id":222,"kind":32,"name":"DEFAULT_PERMISSION_SAVED_MESSAGES","url":"modules.html#DEFAULT_PERMISSION_SAVED_MESSAGES","classes":"tsd-kind-variable"},{"id":223,"kind":32,"name":"DEFAULT_PERMISSION_SERVER","url":"modules.html#DEFAULT_PERMISSION_SERVER","classes":"tsd-kind-variable"},{"id":224,"kind":32,"name":"DEFAULT_PERMISSION_VIEW_ONLY","url":"modules.html#DEFAULT_PERMISSION_VIEW_ONLY","classes":"tsd-kind-variable"},{"id":225,"kind":32,"name":"U32_MAX","url":"modules.html#U32_MAX","classes":"tsd-kind-variable"},{"id":226,"kind":64,"name":"calculatePermission","url":"modules.html#calculatePermission","classes":"tsd-kind-function"},{"id":227,"kind":4194304,"name":"Nullable","url":"modules.html#Nullable","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":228,"kind":64,"name":"toNullable","url":"modules.html#toNullable","classes":"tsd-kind-function tsd-has-type-parameter"},{"id":229,"kind":64,"name":"toNullableDate","url":"modules.html#toNullableDate","classes":"tsd-kind-function"},{"id":230,"kind":4194304,"name":"ReadyPacket","url":"modules.html#ReadyPacket","classes":"tsd-kind-type-alias"},{"id":231,"kind":65536,"name":"__type","url":"modules.html#ReadyPacket.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"ReadyPacket"},{"id":232,"kind":1024,"name":"type","url":"modules.html#ReadyPacket.__type.type","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"ReadyPacket.__type"},{"id":233,"kind":1024,"name":"users","url":"modules.html#ReadyPacket.__type.users","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"ReadyPacket.__type"},{"id":234,"kind":1024,"name":"servers","url":"modules.html#ReadyPacket.__type.servers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"ReadyPacket.__type"},{"id":235,"kind":1024,"name":"channels","url":"modules.html#ReadyPacket.__type.channels","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"ReadyPacket.__type"},{"id":236,"kind":1024,"name":"members","url":"modules.html#ReadyPacket.__type.members","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"ReadyPacket.__type"},{"id":237,"kind":4194304,"name":"ClientboundNotification","url":"modules.html#ClientboundNotification","classes":"tsd-kind-type-alias"},{"id":238,"kind":4194304,"name":"ServerboundNotification","url":"modules.html#ServerboundNotification","classes":"tsd-kind-type-alias"},{"id":239,"kind":256,"name":"ClientOptions","url":"interfaces/ClientOptions.html","classes":"tsd-kind-interface"},{"id":240,"kind":1024,"name":"apiURL","url":"interfaces/ClientOptions.html#apiURL","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":241,"kind":1024,"name":"debug","url":"interfaces/ClientOptions.html#debug","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":242,"kind":1024,"name":"cache","url":"interfaces/ClientOptions.html#cache","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":243,"kind":1024,"name":"unreads","url":"interfaces/ClientOptions.html#unreads","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":244,"kind":1024,"name":"heartbeat","url":"interfaces/ClientOptions.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":245,"kind":1024,"name":"autoReconnect","url":"interfaces/ClientOptions.html#autoReconnect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":246,"kind":1024,"name":"pongTimeout","url":"interfaces/ClientOptions.html#pongTimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":247,"kind":1024,"name":"onPongTimeout","url":"interfaces/ClientOptions.html#onPongTimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":248,"kind":1024,"name":"ackRateLimiter","url":"interfaces/ClientOptions.html#ackRateLimiter","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ClientOptions"},{"id":249,"kind":128,"name":"Client","url":"classes/Client.html","classes":"tsd-kind-class"},{"id":250,"kind":512,"name":"constructor","url":"classes/Client.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Client"},{"id":251,"kind":2048,"name":"on","url":"classes/Client.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":252,"kind":1024,"name":"heartbeat","url":"classes/Client.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":253,"kind":1024,"name":"api","url":"classes/Client.html#api","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":254,"kind":1024,"name":"session","url":"classes/Client.html#session","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":255,"kind":1024,"name":"user","url":"classes/Client.html#user","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":256,"kind":1024,"name":"options","url":"classes/Client.html#options","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":257,"kind":1024,"name":"websocket","url":"classes/Client.html#websocket","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":258,"kind":1024,"name":"configuration","url":"classes/Client.html#configuration","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":259,"kind":65536,"name":"__type","url":"classes/Client.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"Client"},{"id":260,"kind":65536,"name":"__type","url":"classes/Client.html#__type.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.__type"},{"id":261,"kind":65536,"name":"__type","url":"classes/Client.html#__type.__type-1.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.__type.__type"},{"id":262,"kind":65536,"name":"__type","url":"classes/Client.html#__type.__type-1.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.__type.__type"},{"id":263,"kind":65536,"name":"__type","url":"classes/Client.html#__type.__type-1.__type-4","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.__type.__type"},{"id":264,"kind":65536,"name":"__type","url":"classes/Client.html#__type.__type-1.__type-5","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.__type.__type"},{"id":265,"kind":1024,"name":"users","url":"classes/Client.html#users","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":266,"kind":1024,"name":"channels","url":"classes/Client.html#channels","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":267,"kind":1024,"name":"servers","url":"classes/Client.html#servers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":268,"kind":1024,"name":"members","url":"classes/Client.html#members","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":269,"kind":1024,"name":"messages","url":"classes/Client.html#messages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":270,"kind":1024,"name":"bots","url":"classes/Client.html#bots","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":271,"kind":1024,"name":"unreads","url":"classes/Client.html#unreads","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client"},{"id":272,"kind":262144,"name":"apiURL","url":"classes/Client.html#apiURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client"},{"id":273,"kind":262144,"name":"debug","url":"classes/Client.html#debug","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client"},{"id":274,"kind":262144,"name":"autoReconnect","url":"classes/Client.html#autoReconnect","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client"},{"id":275,"kind":2048,"name":"connect","url":"classes/Client.html#connect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":276,"kind":2048,"name":"fetchConfiguration","url":"classes/Client.html#fetchConfiguration","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":277,"kind":2048,"name":"$updateHeaders","url":"classes/Client.html#_updateHeaders","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Client"},{"id":278,"kind":2048,"name":"login","url":"classes/Client.html#login","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":279,"kind":2048,"name":"useExistingSession","url":"classes/Client.html#useExistingSession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":280,"kind":2048,"name":"loginBot","url":"classes/Client.html#loginBot","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":281,"kind":2048,"name":"$connect","url":"classes/Client.html#_connect","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Client"},{"id":282,"kind":2048,"name":"completeOnboarding","url":"classes/Client.html#completeOnboarding","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":283,"kind":2048,"name":"fetchInvite","url":"classes/Client.html#fetchInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":284,"kind":2048,"name":"joinInvite","url":"classes/Client.html#joinInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":285,"kind":2048,"name":"deleteInvite","url":"classes/Client.html#deleteInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":286,"kind":2048,"name":"syncFetchSettings","url":"classes/Client.html#syncFetchSettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":287,"kind":2048,"name":"syncSetSettings","url":"classes/Client.html#syncSetSettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":288,"kind":2048,"name":"syncFetchUnreads","url":"classes/Client.html#syncFetchUnreads","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":289,"kind":2048,"name":"logout","url":"classes/Client.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":290,"kind":2048,"name":"reset","url":"classes/Client.html#reset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":291,"kind":2048,"name":"register","url":"classes/Client.html#register","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":292,"kind":2048,"name":"markdownToText","url":"classes/Client.html#markdownToText","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":293,"kind":2048,"name":"proxyFile","url":"classes/Client.html#proxyFile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":294,"kind":2048,"name":"generateFileURL","url":"classes/Client.html#generateFileURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client"},{"id":295,"kind":32,"name":"RE_MENTIONS","url":"modules.html#RE_MENTIONS","classes":"tsd-kind-variable"},{"id":296,"kind":32,"name":"RE_SPOILER","url":"modules.html#RE_SPOILER","classes":"tsd-kind-variable"},{"id":297,"kind":4194304,"name":"FileArgs","url":"modules.html#FileArgs","classes":"tsd-kind-type-alias"},{"id":298,"kind":32,"name":"LIBRARY_VERSION","url":"modules.html#LIBRARY_VERSION","classes":"tsd-kind-variable"},{"id":299,"kind":32,"name":"defaultConfig","url":"modules.html#defaultConfig","classes":"tsd-kind-variable"},{"id":300,"kind":65536,"name":"__type","url":"modules.html#defaultConfig.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"defaultConfig"},{"id":301,"kind":1024,"name":"apiURL","url":"modules.html#defaultConfig.__type.apiURL","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"defaultConfig.__type"},{"id":302,"kind":1024,"name":"autoReconnect","url":"modules.html#defaultConfig.__type.autoReconnect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"defaultConfig.__type"},{"id":303,"kind":1024,"name":"heartbeat","url":"modules.html#defaultConfig.__type.heartbeat","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"defaultConfig.__type"},{"id":304,"kind":1024,"name":"debug","url":"modules.html#defaultConfig.__type.debug","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"defaultConfig.__type"},{"id":305,"kind":1024,"name":"cache","url":"modules.html#defaultConfig.__type.cache","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"defaultConfig.__type"},{"id":306,"kind":1024,"name":"unreads","url":"modules.html#defaultConfig.__type.unreads","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"defaultConfig.__type"},{"id":307,"kind":1024,"name":"ackRateLimiter","url":"modules.html#defaultConfig.__type.ackRateLimiter","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"defaultConfig.__type"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,15.982]],["parent/0",[]],["name/1",[1,38.615]],["parent/1",[0,1.538]],["name/2",[2,18.939]],["parent/2",[0,1.538]],["name/3",[3,40.286]],["parent/3",[0,1.538]],["name/4",[4,53.279]],["parent/4",[0,1.538]],["name/5",[5,53.279]],["parent/5",[0,1.538]],["name/6",[6,53.279]],["parent/6",[0,1.538]],["name/7",[7,53.279]],["parent/7",[0,1.538]],["name/8",[8,53.279]],["parent/8",[0,1.538]],["name/9",[9,48.171]],["parent/9",[0,1.538]],["name/10",[10,53.279]],["parent/10",[0,1.538]],["name/11",[11,48.171]],["parent/11",[0,1.538]],["name/12",[12,48.171]],["parent/12",[0,1.538]],["name/13",[13,48.171]],["parent/13",[0,1.538]],["name/14",[14,53.279]],["parent/14",[0,1.538]],["name/15",[15,53.279]],["parent/15",[0,1.538]],["name/16",[16,53.279]],["parent/16",[0,1.538]],["name/17",[17,48.171]],["parent/17",[0,1.538]],["name/18",[18,48.171]],["parent/18",[0,1.538]],["name/19",[19,18.726]],["parent/19",[0,1.538]],["name/20",[20,53.279]],["parent/20",[0,1.538]],["name/21",[21,53.279]],["parent/21",[0,1.538]],["name/22",[22,53.279]],["parent/22",[0,1.538]],["name/23",[23,53.279]],["parent/23",[0,1.538]],["name/24",[24,53.279]],["parent/24",[0,1.538]],["name/25",[25,42.293]],["parent/25",[0,1.538]],["name/26",[26,44.806]],["parent/26",[0,1.538]],["name/27",[27,44.806]],["parent/27",[0,1.538]],["name/28",[28,48.171]],["parent/28",[0,1.538]],["name/29",[29,48.171]],["parent/29",[0,1.538]],["name/30",[30,53.279]],["parent/30",[0,1.538]],["name/31",[31,48.171]],["parent/31",[0,1.538]],["name/32",[32,40.286]],["parent/32",[0,1.538]],["name/33",[33,53.279]],["parent/33",[0,1.538]],["name/34",[34,53.279]],["parent/34",[0,1.538]],["name/35",[35,53.279]],["parent/35",[0,1.538]],["name/36",[36,53.279]],["parent/36",[0,1.538]],["name/37",[37,48.171]],["parent/37",[0,1.538]],["name/38",[38,42.293]],["parent/38",[0,1.538]],["name/39",[39,44.806]],["parent/39",[0,1.538]],["name/40",[40,53.279]],["parent/40",[0,1.538]],["name/41",[41,53.279]],["parent/41",[0,1.538]],["name/42",[42,44.806]],["parent/42",[0,1.538]],["name/43",[43,53.279]],["parent/43",[0,1.538]],["name/44",[44,53.279]],["parent/44",[0,1.538]],["name/45",[45,53.279]],["parent/45",[0,1.538]],["name/46",[46,53.279]],["parent/46",[0,1.538]],["name/47",[47,53.279]],["parent/47",[0,1.538]],["name/48",[48,53.279]],["parent/48",[0,1.538]],["name/49",[49,53.279]],["parent/49",[0,1.538]],["name/50",[50,53.279]],["parent/50",[0,1.538]],["name/51",[51,53.279]],["parent/51",[0,1.538]],["name/52",[52,53.279]],["parent/52",[0,1.538]],["name/53",[53,53.279]],["parent/53",[0,1.538]],["name/54",[54,44.806]],["parent/54",[0,1.538]],["name/55",[55,48.171]],["parent/55",[0,1.538]],["name/56",[56,53.279]],["parent/56",[0,1.538]],["name/57",[57,53.279]],["parent/57",[0,1.538]],["name/58",[58,48.171]],["parent/58",[0,1.538]],["name/59",[59,40.286]],["parent/59",[0,1.538]],["name/60",[60,48.171]],["parent/60",[0,1.538]],["name/61",[61,24.947]],["parent/61",[]],["name/62",[1,38.615]],["parent/62",[61,2.4]],["name/63",[2,18.939]],["parent/63",[61,2.4]],["name/64",[3,40.286]],["parent/64",[61,2.4]],["name/65",[62,32.91]],["parent/65",[61,2.4]],["name/66",[63,53.279]],["parent/66",[61,2.4]],["name/67",[64,48.171]],["parent/67",[61,2.4]],["name/68",[65,48.171]],["parent/68",[61,2.4]],["name/69",[66,24.192]],["parent/69",[61,2.4]],["name/70",[19,18.726]],["parent/70",[61,2.4]],["name/71",[67,53.279]],["parent/71",[61,2.4]],["name/72",[68,53.279]],["parent/72",[61,2.4]],["name/73",[69,53.279]],["parent/73",[61,2.4]],["name/74",[32,40.286]],["parent/74",[61,2.4]],["name/75",[38,42.293]],["parent/75",[61,2.4]],["name/76",[70,53.279]],["parent/76",[61,2.4]],["name/77",[71,48.171]],["parent/77",[61,2.4]],["name/78",[72,53.279]],["parent/78",[61,2.4]],["name/79",[73,53.279]],["parent/79",[61,2.4]],["name/80",[74,48.171]],["parent/80",[61,2.4]],["name/81",[75,53.279]],["parent/81",[61,2.4]],["name/82",[76,53.279]],["parent/82",[61,2.4]],["name/83",[77,53.279]],["parent/83",[61,2.4]],["name/84",[78,23.156]],["parent/84",[]],["name/85",[1,38.615]],["parent/85",[78,2.228]],["name/86",[2,18.939]],["parent/86",[78,2.228]],["name/87",[3,40.286]],["parent/87",[78,2.228]],["name/88",[79,53.279]],["parent/88",[78,2.228]],["name/89",[80,53.279]],["parent/89",[78,2.228]],["name/90",[81,53.279]],["parent/90",[78,2.228]],["name/91",[82,53.279]],["parent/91",[78,2.228]],["name/92",[83,53.279]],["parent/92",[78,2.228]],["name/93",[84,53.279]],["parent/93",[78,2.228]],["name/94",[85,53.279]],["parent/94",[78,2.228]],["name/95",[86,53.279]],["parent/95",[78,2.228]],["name/96",[87,53.279]],["parent/96",[78,2.228]],["name/97",[88,53.279]],["parent/97",[78,2.228]],["name/98",[89,48.171]],["parent/98",[78,2.228]],["name/99",[0,15.982]],["parent/99",[78,2.228]],["name/100",[90,53.279]],["parent/100",[78,2.228]],["name/101",[61,24.947]],["parent/101",[78,2.228]],["name/102",[31,48.171]],["parent/102",[78,2.228]],["name/103",[25,42.293]],["parent/103",[78,2.228]],["name/104",[26,44.806]],["parent/104",[78,2.228]],["name/105",[27,44.806]],["parent/105",[78,2.228]],["name/106",[91,53.279]],["parent/106",[78,2.228]],["name/107",[92,53.279]],["parent/107",[78,2.228]],["name/108",[32,40.286]],["parent/108",[78,2.228]],["name/109",[93,53.279]],["parent/109",[78,2.228]],["name/110",[38,42.293]],["parent/110",[78,2.228]],["name/111",[39,44.806]],["parent/111",[78,2.228]],["name/112",[54,44.806]],["parent/112",[78,2.228]],["name/113",[94,53.279]],["parent/113",[78,2.228]],["name/114",[19,18.726]],["parent/114",[]],["name/115",[1,38.615]],["parent/115",[19,1.802]],["name/116",[2,18.939]],["parent/116",[19,1.802]],["name/117",[3,40.286]],["parent/117",[19,1.802]],["name/118",[18,48.171]],["parent/118",[19,1.802]],["name/119",[11,48.171]],["parent/119",[19,1.802]],["name/120",[13,48.171]],["parent/120",[19,1.802]],["name/121",[95,53.279]],["parent/121",[19,1.802]],["name/122",[96,53.279]],["parent/122",[19,1.802]],["name/123",[97,53.279]],["parent/123",[19,1.802]],["name/124",[65,48.171]],["parent/124",[19,1.802]],["name/125",[9,48.171]],["parent/125",[19,1.802]],["name/126",[12,48.171]],["parent/126",[19,1.802]],["name/127",[98,53.279]],["parent/127",[19,1.802]],["name/128",[17,48.171]],["parent/128",[19,1.802]],["name/129",[99,48.171]],["parent/129",[19,1.802]],["name/130",[100,44.806]],["parent/130",[19,1.802]],["name/131",[25,42.293]],["parent/131",[19,1.802]],["name/132",[26,44.806]],["parent/132",[19,1.802]],["name/133",[27,44.806]],["parent/133",[19,1.802]],["name/134",[101,53.279]],["parent/134",[19,1.802]],["name/135",[71,48.171]],["parent/135",[19,1.802]],["name/136",[28,48.171]],["parent/136",[19,1.802]],["name/137",[29,48.171]],["parent/137",[19,1.802]],["name/138",[32,40.286]],["parent/138",[19,1.802]],["name/139",[102,53.279]],["parent/139",[19,1.802]],["name/140",[38,42.293]],["parent/140",[19,1.802]],["name/141",[39,44.806]],["parent/141",[19,1.802]],["name/142",[54,44.806]],["parent/142",[19,1.802]],["name/143",[103,53.279]],["parent/143",[19,1.802]],["name/144",[104,53.279]],["parent/144",[19,1.802]],["name/145",[105,53.279]],["parent/145",[19,1.802]],["name/146",[106,53.279]],["parent/146",[19,1.802]],["name/147",[55,48.171]],["parent/147",[19,1.802]],["name/148",[107,53.279]],["parent/148",[19,1.802]],["name/149",[108,53.279]],["parent/149",[19,1.802]],["name/150",[109,53.279]],["parent/150",[19,1.802]],["name/151",[110,53.279]],["parent/151",[19,1.802]],["name/152",[111,53.279]],["parent/152",[19,1.802]],["name/153",[37,48.171]],["parent/153",[19,1.802]],["name/154",[58,48.171]],["parent/154",[19,1.802]],["name/155",[112,53.279]],["parent/155",[19,1.802]],["name/156",[61,24.947]],["parent/156",[19,1.802]],["name/157",[59,40.286]],["parent/157",[19,1.802]],["name/158",[60,48.171]],["parent/158",[19,1.802]],["name/159",[66,24.192]],["parent/159",[]],["name/160",[1,38.615]],["parent/160",[66,2.328]],["name/161",[2,18.939]],["parent/161",[66,2.328]],["name/162",[3,40.286]],["parent/162",[66,2.328]],["name/163",[113,53.279]],["parent/163",[66,2.328]],["name/164",[64,48.171]],["parent/164",[66,2.328]],["name/165",[114,53.279]],["parent/165",[66,2.328]],["name/166",[115,53.279]],["parent/166",[66,2.328]],["name/167",[116,53.279]],["parent/167",[66,2.328]],["name/168",[117,53.279]],["parent/168",[66,2.328]],["name/169",[118,53.279]],["parent/169",[66,2.328]],["name/170",[99,48.171]],["parent/170",[66,2.328]],["name/171",[119,53.279]],["parent/171",[66,2.328]],["name/172",[25,42.293]],["parent/172",[66,2.328]],["name/173",[32,40.286]],["parent/173",[66,2.328]],["name/174",[120,53.279]],["parent/174",[66,2.328]],["name/175",[121,53.279]],["parent/175",[66,2.328]],["name/176",[122,53.279]],["parent/176",[66,2.328]],["name/177",[123,53.279]],["parent/177",[66,2.328]],["name/178",[124,53.279]],["parent/178",[66,2.328]],["name/179",[125,53.279]],["parent/179",[66,2.328]],["name/180",[126,53.279]],["parent/180",[66,2.328]],["name/181",[127,53.279]],["parent/181",[66,2.328]],["name/182",[74,48.171]],["parent/182",[66,2.328]],["name/183",[59,40.286]],["parent/183",[66,2.328]],["name/184",[128,48.171]],["parent/184",[]],["name/185",[62,32.91]],["parent/185",[128,4.635]],["name/186",[129,53.279]],["parent/186",[130,4.069]],["name/187",[131,53.279]],["parent/187",[130,4.069]],["name/188",[42,44.806]],["parent/188",[130,4.069]],["name/189",[132,53.279]],["parent/189",[130,4.069]],["name/190",[59,40.286]],["parent/190",[]],["name/191",[62,32.91]],["parent/191",[59,3.876]],["name/192",[133,53.279]],["parent/192",[134,2.293]],["name/193",[135,53.279]],["parent/193",[134,2.293]],["name/194",[136,53.279]],["parent/194",[134,2.293]],["name/195",[137,53.279]],["parent/195",[134,2.293]],["name/196",[138,53.279]],["parent/196",[134,2.293]],["name/197",[139,53.279]],["parent/197",[134,2.293]],["name/198",[140,53.279]],["parent/198",[134,2.293]],["name/199",[141,53.279]],["parent/199",[134,2.293]],["name/200",[142,53.279]],["parent/200",[134,2.293]],["name/201",[143,53.279]],["parent/201",[134,2.293]],["name/202",[144,53.279]],["parent/202",[134,2.293]],["name/203",[145,53.279]],["parent/203",[134,2.293]],["name/204",[146,53.279]],["parent/204",[134,2.293]],["name/205",[147,53.279]],["parent/205",[134,2.293]],["name/206",[42,44.806]],["parent/206",[134,2.293]],["name/207",[148,53.279]],["parent/207",[134,2.293]],["name/208",[149,53.279]],["parent/208",[134,2.293]],["name/209",[150,53.279]],["parent/209",[134,2.293]],["name/210",[151,53.279]],["parent/210",[134,2.293]],["name/211",[152,53.279]],["parent/211",[134,2.293]],["name/212",[89,48.171]],["parent/212",[134,2.293]],["name/213",[153,44.806]],["parent/213",[134,2.293]],["name/214",[154,53.279]],["parent/214",[134,2.293]],["name/215",[155,53.279]],["parent/215",[134,2.293]],["name/216",[156,53.279]],["parent/216",[134,2.293]],["name/217",[157,53.279]],["parent/217",[134,2.293]],["name/218",[158,53.279]],["parent/218",[134,2.293]],["name/219",[159,53.279]],["parent/219",[134,2.293]],["name/220",[160,53.279]],["parent/220",[]],["name/221",[161,53.279]],["parent/221",[]],["name/222",[162,53.279]],["parent/222",[]],["name/223",[163,53.279]],["parent/223",[]],["name/224",[164,53.279]],["parent/224",[]],["name/225",[165,53.279]],["parent/225",[]],["name/226",[166,53.279]],["parent/226",[]],["name/227",[167,53.279]],["parent/227",[]],["name/228",[168,53.279]],["parent/228",[]],["name/229",[169,53.279]],["parent/229",[]],["name/230",[170,48.171]],["parent/230",[]],["name/231",[62,32.91]],["parent/231",[170,4.635]],["name/232",[171,53.279]],["parent/232",[172,3.876]],["name/233",[173,48.171]],["parent/233",[172,3.876]],["name/234",[174,48.171]],["parent/234",[172,3.876]],["name/235",[100,44.806]],["parent/235",[172,3.876]],["name/236",[175,48.171]],["parent/236",[172,3.876]],["name/237",[176,53.279]],["parent/237",[]],["name/238",[177,53.279]],["parent/238",[]],["name/239",[178,33.82]],["parent/239",[]],["name/240",[179,44.806]],["parent/240",[178,3.254]],["name/241",[180,44.806]],["parent/241",[178,3.254]],["name/242",[181,48.171]],["parent/242",[178,3.254]],["name/243",[182,44.806]],["parent/243",[178,3.254]],["name/244",[183,44.806]],["parent/244",[178,3.254]],["name/245",[184,44.806]],["parent/245",[178,3.254]],["name/246",[185,53.279]],["parent/246",[178,3.254]],["name/247",[186,53.279]],["parent/247",[178,3.254]],["name/248",[187,48.171]],["parent/248",[178,3.254]],["name/249",[2,18.939]],["parent/249",[]],["name/250",[1,38.615]],["parent/250",[2,1.822]],["name/251",[188,53.279]],["parent/251",[2,1.822]],["name/252",[183,44.806]],["parent/252",[2,1.822]],["name/253",[189,53.279]],["parent/253",[2,1.822]],["name/254",[190,53.279]],["parent/254",[2,1.822]],["name/255",[66,24.192]],["parent/255",[2,1.822]],["name/256",[191,53.279]],["parent/256",[2,1.822]],["name/257",[192,53.279]],["parent/257",[2,1.822]],["name/258",[193,53.279]],["parent/258",[2,1.822]],["name/259",[62,32.91]],["parent/259",[2,1.822]],["name/260",[62,32.91]],["parent/260",[194,5.126]],["name/261",[62,32.91]],["parent/261",[195,4.069]],["name/262",[62,32.91]],["parent/262",[195,4.069]],["name/263",[62,32.91]],["parent/263",[195,4.069]],["name/264",[62,32.91]],["parent/264",[195,4.069]],["name/265",[173,48.171]],["parent/265",[2,1.822]],["name/266",[100,44.806]],["parent/266",[2,1.822]],["name/267",[174,48.171]],["parent/267",[2,1.822]],["name/268",[175,48.171]],["parent/268",[2,1.822]],["name/269",[196,53.279]],["parent/269",[2,1.822]],["name/270",[197,53.279]],["parent/270",[2,1.822]],["name/271",[182,44.806]],["parent/271",[2,1.822]],["name/272",[179,44.806]],["parent/272",[2,1.822]],["name/273",[180,44.806]],["parent/273",[2,1.822]],["name/274",[184,44.806]],["parent/274",[2,1.822]],["name/275",[153,44.806]],["parent/275",[2,1.822]],["name/276",[198,53.279]],["parent/276",[2,1.822]],["name/277",[199,53.279]],["parent/277",[2,1.822]],["name/278",[200,53.279]],["parent/278",[2,1.822]],["name/279",[201,53.279]],["parent/279",[2,1.822]],["name/280",[202,53.279]],["parent/280",[2,1.822]],["name/281",[153,44.806]],["parent/281",[2,1.822]],["name/282",[203,53.279]],["parent/282",[2,1.822]],["name/283",[204,53.279]],["parent/283",[2,1.822]],["name/284",[205,53.279]],["parent/284",[2,1.822]],["name/285",[206,53.279]],["parent/285",[2,1.822]],["name/286",[207,53.279]],["parent/286",[2,1.822]],["name/287",[208,53.279]],["parent/287",[2,1.822]],["name/288",[209,53.279]],["parent/288",[2,1.822]],["name/289",[210,53.279]],["parent/289",[2,1.822]],["name/290",[211,53.279]],["parent/290",[2,1.822]],["name/291",[212,53.279]],["parent/291",[2,1.822]],["name/292",[213,53.279]],["parent/292",[2,1.822]],["name/293",[214,53.279]],["parent/293",[2,1.822]],["name/294",[215,53.279]],["parent/294",[2,1.822]],["name/295",[216,53.279]],["parent/295",[]],["name/296",[217,53.279]],["parent/296",[]],["name/297",[218,53.279]],["parent/297",[]],["name/298",[219,53.279]],["parent/298",[]],["name/299",[220,48.171]],["parent/299",[]],["name/300",[62,32.91]],["parent/300",[220,4.635]],["name/301",[179,44.806]],["parent/301",[221,3.578]],["name/302",[184,44.806]],["parent/302",[221,3.578]],["name/303",[183,44.806]],["parent/303",[221,3.578]],["name/304",[180,44.806]],["parent/304",[221,3.578]],["name/305",[181,48.171]],["parent/305",[221,3.578]],["name/306",[182,44.806]],["parent/306",[221,3.578]],["name/307",[187,48.171]],["parent/307",[221,3.578]]],"invertedIndex":[["__type",{"_index":62,"name":{"65":{},"185":{},"191":{},"231":{},"259":{},"260":{},"261":{},"262":{},"263":{},"264":{},"300":{}},"parent":{}}],["_id",{"_index":3,"name":{"3":{},"64":{},"87":{},"117":{},"162":{}},"parent":{}}],["access",{"_index":129,"name":{"186":{}},"parent":{}}],["ack",{"_index":54,"name":{"54":{},"112":{},"142":{}},"parent":{}}],["acklimit",{"_index":53,"name":{"53":{}},"parent":{}}],["ackratelimiter",{"_index":187,"name":{"248":{},"307":{}},"parent":{}}],["acktimeout",{"_index":52,"name":{"52":{}},"parent":{}}],["active",{"_index":5,"name":{"5":{}},"parent":{}}],["addfriend",{"_index":121,"name":{"175":{}},"parent":{}}],["addmember",{"_index":40,"name":{"40":{}},"parent":{}}],["api",{"_index":189,"name":{"253":{}},"parent":{}}],["apiurl",{"_index":179,"name":{"240":{},"272":{},"301":{}},"parent":{}}],["append",{"_index":93,"name":{"109":{}},"parent":{}}],["assignroles",{"_index":141,"name":{"199":{}},"parent":{}}],["assystemmessage",{"_index":92,"name":{"107":{}},"parent":{}}],["attachments",{"_index":84,"name":{"93":{}},"parent":{}}],["author",{"_index":90,"name":{"100":{}},"parent":{}}],["author_id",{"_index":81,"name":{"90":{}},"parent":{}}],["autoreconnect",{"_index":184,"name":{"245":{},"274":{},"302":{}},"parent":{}}],["avatar",{"_index":64,"name":{"67":{},"164":{}},"parent":{}}],["badges",{"_index":114,"name":{"165":{}},"parent":{}}],["banmembers",{"_index":139,"name":{"197":{}},"parent":{}}],["bannable",{"_index":69,"name":{"73":{}},"parent":{}}],["banner",{"_index":98,"name":{"127":{}},"parent":{}}],["banuser",{"_index":103,"name":{"143":{}},"parent":{}}],["blockuser",{"_index":123,"name":{"177":{}},"parent":{}}],["bot",{"_index":119,"name":{"171":{}},"parent":{}}],["bots",{"_index":197,"name":{"270":{}},"parent":{}}],["cache",{"_index":181,"name":{"242":{},"305":{}},"parent":{}}],["calculatepermission",{"_index":166,"name":{"226":{}},"parent":{}}],["categories",{"_index":96,"name":{"122":{}},"parent":{}}],["changeavatar",{"_index":144,"name":{"202":{}},"parent":{}}],["changenickname",{"_index":142,"name":{"200":{}},"parent":{}}],["channel",{"_index":0,"name":{"0":{},"99":{}},"parent":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{},"28":{},"29":{},"30":{},"31":{},"32":{},"33":{},"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{},"54":{},"55":{},"56":{},"57":{},"58":{},"59":{},"60":{}}}],["channel_id",{"_index":80,"name":{"89":{}},"parent":{}}],["channel_ids",{"_index":95,"name":{"121":{}},"parent":{}}],["channel_type",{"_index":4,"name":{"4":{}},"parent":{}}],["channels",{"_index":100,"name":{"130":{},"235":{},"266":{}},"parent":{}}],["client",{"_index":2,"name":{"2":{},"63":{},"86":{},"116":{},"161":{},"249":{}},"parent":{"250":{},"251":{},"252":{},"253":{},"254":{},"255":{},"256":{},"257":{},"258":{},"259":{},"265":{},"266":{},"267":{},"268":{},"269":{},"270":{},"271":{},"272":{},"273":{},"274":{},"275":{},"276":{},"277":{},"278":{},"279":{},"280":{},"281":{},"282":{},"283":{},"284":{},"285":{},"286":{},"287":{},"288":{},"289":{},"290":{},"291":{},"292":{},"293":{},"294":{}}}],["client.__type",{"_index":194,"name":{},"parent":{"260":{}}}],["client.__type.__type",{"_index":195,"name":{},"parent":{"261":{},"262":{},"263":{},"264":{}}}],["clientboundnotification",{"_index":176,"name":{"237":{}},"parent":{}}],["clientoptions",{"_index":178,"name":{"239":{}},"parent":{"240":{},"241":{},"242":{},"243":{},"244":{},"245":{},"246":{},"247":{},"248":{}}}],["completeonboarding",{"_index":203,"name":{"282":{}},"parent":{}}],["configuration",{"_index":193,"name":{"258":{}},"parent":{}}],["connect",{"_index":153,"name":{"213":{},"275":{},"281":{}},"parent":{}}],["constructor",{"_index":1,"name":{"1":{},"62":{},"85":{},"115":{},"160":{},"250":{}},"parent":{}}],["content",{"_index":82,"name":{"91":{}},"parent":{}}],["createchannel",{"_index":102,"name":{"139":{}},"parent":{}}],["createdat",{"_index":25,"name":{"25":{},"103":{},"131":{},"172":{}},"parent":{}}],["createinvite",{"_index":50,"name":{"50":{}},"parent":{}}],["createrole",{"_index":107,"name":{"148":{}},"parent":{}}],["deafenmembers",{"_index":157,"name":{"217":{}},"parent":{}}],["debug",{"_index":180,"name":{"241":{},"273":{},"304":{}},"parent":{}}],["default_permission",{"_index":160,"name":{"220":{}},"parent":{}}],["default_permission_direct_message",{"_index":161,"name":{"221":{}},"parent":{}}],["default_permission_saved_messages",{"_index":162,"name":{"222":{}},"parent":{}}],["default_permission_server",{"_index":163,"name":{"223":{}},"parent":{}}],["default_permission_view_only",{"_index":164,"name":{"224":{}},"parent":{}}],["default_permissions",{"_index":9,"name":{"9":{},"125":{}},"parent":{}}],["defaultavatarurl",{"_index":127,"name":{"181":{}},"parent":{}}],["defaultconfig",{"_index":220,"name":{"299":{}},"parent":{"300":{}}}],["defaultconfig.__type",{"_index":221,"name":{},"parent":{"301":{},"302":{},"303":{},"304":{},"305":{},"306":{},"307":{}}}],["delete",{"_index":39,"name":{"39":{},"111":{},"141":{}},"parent":{}}],["deleteinvite",{"_index":206,"name":{"285":{}},"parent":{}}],["deletemessages",{"_index":49,"name":{"49":{}},"parent":{}}],["deleterole",{"_index":109,"name":{"150":{}},"parent":{}}],["description",{"_index":13,"name":{"13":{},"120":{}},"parent":{}}],["edit",{"_index":38,"name":{"38":{},"75":{},"110":{},"140":{}},"parent":{}}],["edited",{"_index":85,"name":{"94":{}},"parent":{}}],["editrole",{"_index":108,"name":{"149":{}},"parent":{}}],["embeds",{"_index":86,"name":{"95":{}},"parent":{}}],["fetchbans",{"_index":106,"name":{"146":{}},"parent":{}}],["fetchconfiguration",{"_index":198,"name":{"276":{}},"parent":{}}],["fetchinvite",{"_index":204,"name":{"283":{}},"parent":{}}],["fetchinvites",{"_index":105,"name":{"145":{}},"parent":{}}],["fetchmember",{"_index":110,"name":{"151":{}},"parent":{}}],["fetchmembers",{"_index":37,"name":{"37":{},"153":{}},"parent":{}}],["fetchmessage",{"_index":43,"name":{"43":{}},"parent":{}}],["fetchmessages",{"_index":44,"name":{"44":{}},"parent":{}}],["fetchmessageswithusers",{"_index":45,"name":{"45":{}},"parent":{}}],["fetchmutual",{"_index":126,"name":{"180":{}},"parent":{}}],["fetchprofile",{"_index":125,"name":{"179":{}},"parent":{}}],["fetchstale",{"_index":48,"name":{"48":{}},"parent":{}}],["fileargs",{"_index":218,"name":{"297":{}},"parent":{}}],["flags",{"_index":99,"name":{"129":{},"170":{}},"parent":{}}],["generateavatarurl",{"_index":74,"name":{"80":{},"182":{}},"parent":{}}],["generatebannerurl",{"_index":112,"name":{"155":{}},"parent":{}}],["generatefileurl",{"_index":215,"name":{"294":{}},"parent":{}}],["generateiconurl",{"_index":58,"name":{"58":{},"154":{}},"parent":{}}],["generatemasqavatarurl",{"_index":91,"name":{"106":{}},"parent":{}}],["getmentions",{"_index":29,"name":{"29":{},"137":{}},"parent":{}}],["getpermissions",{"_index":75,"name":{"81":{}},"parent":{}}],["grantallsafe",{"_index":159,"name":{"219":{}},"parent":{}}],["haspermission",{"_index":76,"name":{"82":{}},"parent":{}}],["havepermission",{"_index":60,"name":{"60":{},"158":{}},"parent":{}}],["heartbeat",{"_index":183,"name":{"244":{},"252":{},"303":{}},"parent":{}}],["hoistedrole",{"_index":72,"name":{"78":{}},"parent":{}}],["icon",{"_index":12,"name":{"12":{},"126":{}},"parent":{}}],["inferior",{"_index":67,"name":{"71":{}},"parent":{}}],["inferiorto",{"_index":77,"name":{"83":{}},"parent":{}}],["invite",{"_index":132,"name":{"189":{}},"parent":{}}],["inviteothers",{"_index":150,"name":{"209":{}},"parent":{}}],["isunread",{"_index":28,"name":{"28":{},"136":{}},"parent":{}}],["joincall",{"_index":51,"name":{"51":{}},"parent":{}}],["joininvite",{"_index":205,"name":{"284":{}},"parent":{}}],["kick",{"_index":70,"name":{"76":{}},"parent":{}}],["kickable",{"_index":68,"name":{"72":{}},"parent":{}}],["kickmembers",{"_index":138,"name":{"196":{}},"parent":{}}],["last_message",{"_index":21,"name":{"21":{}},"parent":{}}],["last_message_id",{"_index":15,"name":{"15":{}},"parent":{}}],["last_message_id_or_past",{"_index":22,"name":{"22":{}},"parent":{}}],["library_version",{"_index":219,"name":{"298":{}},"parent":{}}],["login",{"_index":200,"name":{"278":{}},"parent":{}}],["loginbot",{"_index":202,"name":{"280":{}},"parent":{}}],["logout",{"_index":210,"name":{"289":{}},"parent":{}}],["managechannel",{"_index":133,"name":{"192":{}},"parent":{}}],["managemessages",{"_index":148,"name":{"207":{}},"parent":{}}],["managenicknames",{"_index":143,"name":{"201":{}},"parent":{}}],["managepermissions",{"_index":136,"name":{"194":{}},"parent":{}}],["managerole",{"_index":137,"name":{"195":{}},"parent":{}}],["manageserver",{"_index":135,"name":{"193":{}},"parent":{}}],["managewebhooks",{"_index":149,"name":{"208":{}},"parent":{}}],["markdowntotext",{"_index":213,"name":{"292":{}},"parent":{}}],["masquerade",{"_index":89,"name":{"98":{},"212":{}},"parent":{}}],["member",{"_index":61,"name":{"61":{},"101":{},"156":{}},"parent":{"62":{},"63":{},"64":{},"65":{},"66":{},"67":{},"68":{},"69":{},"70":{},"71":{},"72":{},"73":{},"74":{},"75":{},"76":{},"77":{},"78":{},"79":{},"80":{},"81":{},"82":{},"83":{}}}],["members",{"_index":175,"name":{"236":{},"268":{}},"parent":{}}],["mention_ids",{"_index":87,"name":{"96":{}},"parent":{}}],["mentions",{"_index":31,"name":{"31":{},"102":{}},"parent":{}}],["message",{"_index":78,"name":{"84":{}},"parent":{"85":{},"86":{},"87":{},"88":{},"89":{},"90":{},"91":{},"92":{},"93":{},"94":{},"95":{},"96":{},"97":{},"98":{},"99":{},"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{},"108":{},"109":{},"110":{},"111":{},"112":{},"113":{}}}],["messages",{"_index":196,"name":{"269":{}},"parent":{}}],["movemembers",{"_index":158,"name":{"218":{}},"parent":{}}],["mutemembers",{"_index":156,"name":{"216":{}},"parent":{}}],["name",{"_index":11,"name":{"11":{},"119":{}},"parent":{}}],["nickname",{"_index":63,"name":{"66":{}},"parent":{}}],["nonce",{"_index":79,"name":{"88":{}},"parent":{}}],["nsfw",{"_index":17,"name":{"17":{},"128":{}},"parent":{}}],["nullable",{"_index":167,"name":{"227":{}},"parent":{}}],["on",{"_index":188,"name":{"251":{}},"parent":{}}],["online",{"_index":117,"name":{"168":{}},"parent":{}}],["onpongtimeout",{"_index":186,"name":{"247":{}},"parent":{}}],["opendm",{"_index":120,"name":{"174":{}},"parent":{}}],["options",{"_index":191,"name":{"256":{}},"parent":{}}],["orderedchannels",{"_index":101,"name":{"134":{}},"parent":{}}],["orderedroles",{"_index":71,"name":{"77":{},"135":{}},"parent":{}}],["owner",{"_index":18,"name":{"18":{},"118":{}},"parent":{}}],["owner_id",{"_index":6,"name":{"6":{}},"parent":{}}],["path",{"_index":26,"name":{"26":{},"104":{},"132":{}},"parent":{}}],["permission",{"_index":59,"name":{"59":{},"157":{},"183":{},"190":{}},"parent":{"191":{}}}],["permission.__type",{"_index":134,"name":{},"parent":{"192":{},"193":{},"194":{},"195":{},"196":{},"197":{},"198":{},"199":{},"200":{},"201":{},"202":{},"203":{},"204":{},"205":{},"206":{},"207":{},"208":{},"209":{},"210":{},"211":{},"212":{},"213":{},"214":{},"215":{},"216":{},"217":{},"218":{},"219":{}}}],["permissions",{"_index":8,"name":{"8":{}},"parent":{}}],["pongtimeout",{"_index":185,"name":{"246":{}},"parent":{}}],["privileged",{"_index":118,"name":{"169":{}},"parent":{}}],["proxyfile",{"_index":214,"name":{"293":{}},"parent":{}}],["ranking",{"_index":73,"name":{"79":{}},"parent":{}}],["re_mentions",{"_index":216,"name":{"295":{}},"parent":{}}],["re_spoiler",{"_index":217,"name":{"296":{}},"parent":{}}],["readmessagehistory",{"_index":147,"name":{"205":{}},"parent":{}}],["readypacket",{"_index":170,"name":{"230":{}},"parent":{"231":{}}}],["readypacket.__type",{"_index":172,"name":{},"parent":{"232":{},"233":{},"234":{},"235":{},"236":{}}}],["recipient",{"_index":20,"name":{"20":{}},"parent":{}}],["recipient_ids",{"_index":14,"name":{"14":{}},"parent":{}}],["recipients",{"_index":23,"name":{"23":{}},"parent":{}}],["register",{"_index":212,"name":{"291":{}},"parent":{}}],["relationship",{"_index":116,"name":{"167":{}},"parent":{}}],["removeavatars",{"_index":145,"name":{"203":{}},"parent":{}}],["removefriend",{"_index":122,"name":{"176":{}},"parent":{}}],["removemember",{"_index":41,"name":{"41":{}},"parent":{}}],["reply",{"_index":94,"name":{"113":{}},"parent":{}}],["reply_ids",{"_index":88,"name":{"97":{}},"parent":{}}],["reset",{"_index":211,"name":{"290":{}},"parent":{}}],["role_permissions",{"_index":10,"name":{"10":{}},"parent":{}}],["roles",{"_index":65,"name":{"68":{},"124":{}},"parent":{}}],["search",{"_index":46,"name":{"46":{}},"parent":{}}],["searchwithusers",{"_index":47,"name":{"47":{}},"parent":{}}],["sendembeds",{"_index":151,"name":{"210":{}},"parent":{}}],["sendmessage",{"_index":42,"name":{"42":{},"188":{},"206":{}},"parent":{}}],["server",{"_index":19,"name":{"19":{},"70":{},"114":{}},"parent":{"115":{},"116":{},"117":{},"118":{},"119":{},"120":{},"121":{},"122":{},"123":{},"124":{},"125":{},"126":{},"127":{},"128":{},"129":{},"130":{},"131":{},"132":{},"133":{},"134":{},"135":{},"136":{},"137":{},"138":{},"139":{},"140":{},"141":{},"142":{},"143":{},"144":{},"145":{},"146":{},"147":{},"148":{},"149":{},"150":{},"151":{},"152":{},"153":{},"154":{},"155":{},"156":{},"157":{},"158":{}}}],["server_id",{"_index":7,"name":{"7":{}},"parent":{}}],["serverboundnotification",{"_index":177,"name":{"238":{}},"parent":{}}],["servers",{"_index":174,"name":{"234":{},"267":{}},"parent":{}}],["session",{"_index":190,"name":{"254":{}},"parent":{}}],["setpermissions",{"_index":55,"name":{"55":{},"147":{}},"parent":{}}],["speak",{"_index":154,"name":{"214":{}},"parent":{}}],["starttyping",{"_index":56,"name":{"56":{}},"parent":{}}],["status",{"_index":115,"name":{"166":{}},"parent":{}}],["stoptyping",{"_index":57,"name":{"57":{}},"parent":{}}],["syncfetchsettings",{"_index":207,"name":{"286":{}},"parent":{}}],["syncfetchunreads",{"_index":209,"name":{"288":{}},"parent":{}}],["syncmembers",{"_index":111,"name":{"152":{}},"parent":{}}],["syncsetsettings",{"_index":208,"name":{"287":{}},"parent":{}}],["system",{"_index":83,"name":{"92":{}},"parent":{}}],["system_messages",{"_index":97,"name":{"123":{}},"parent":{}}],["timeoutmembers",{"_index":140,"name":{"198":{}},"parent":{}}],["tonullable",{"_index":168,"name":{"228":{}},"parent":{}}],["tonullabledate",{"_index":169,"name":{"229":{}},"parent":{}}],["type",{"_index":171,"name":{"232":{}},"parent":{}}],["typing",{"_index":24,"name":{"24":{}},"parent":{}}],["typing_ids",{"_index":16,"name":{"16":{}},"parent":{}}],["u32_max",{"_index":165,"name":{"225":{}},"parent":{}}],["unbanuser",{"_index":104,"name":{"144":{}},"parent":{}}],["unblockuser",{"_index":124,"name":{"178":{}},"parent":{}}],["unread",{"_index":30,"name":{"30":{}},"parent":{}}],["unreads",{"_index":182,"name":{"243":{},"271":{},"306":{}},"parent":{}}],["update",{"_index":32,"name":{"32":{},"74":{},"108":{},"138":{},"173":{}},"parent":{}}],["updategroupjoin",{"_index":33,"name":{"33":{}},"parent":{}}],["updategroupleave",{"_index":34,"name":{"34":{}},"parent":{}}],["updateheaders",{"_index":199,"name":{"277":{}},"parent":{}}],["updatestarttyping",{"_index":35,"name":{"35":{}},"parent":{}}],["updatestoptyping",{"_index":36,"name":{"36":{}},"parent":{}}],["uploadfiles",{"_index":152,"name":{"211":{}},"parent":{}}],["url",{"_index":27,"name":{"27":{},"105":{},"133":{}},"parent":{}}],["useexistingsession",{"_index":201,"name":{"279":{}},"parent":{}}],["user",{"_index":66,"name":{"69":{},"159":{},"255":{}},"parent":{"160":{},"161":{},"162":{},"163":{},"164":{},"165":{},"166":{},"167":{},"168":{},"169":{},"170":{},"171":{},"172":{},"173":{},"174":{},"175":{},"176":{},"177":{},"178":{},"179":{},"180":{},"181":{},"182":{},"183":{}}}],["username",{"_index":113,"name":{"163":{}},"parent":{}}],["userpermission",{"_index":128,"name":{"184":{}},"parent":{"185":{}}}],["userpermission.__type",{"_index":130,"name":{},"parent":{"186":{},"187":{},"188":{},"189":{}}}],["users",{"_index":173,"name":{"233":{},"265":{}},"parent":{}}],["video",{"_index":155,"name":{"215":{}},"parent":{}}],["viewchannel",{"_index":146,"name":{"204":{}},"parent":{}}],["viewprofile",{"_index":131,"name":{"187":{}},"parent":{}}],["websocket",{"_index":192,"name":{"257":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file +window.searchData = {"kinds":{"1":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor","4194304":"Type alias","16777216":"Reference"},"rows":[{"id":0,"kind":1,"name":"Client","url":"modules/Client.html","classes":"tsd-kind-module"},{"id":1,"kind":256,"name":"ClientOptions","url":"interfaces/Client.ClientOptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"Client"},{"id":2,"kind":1024,"name":"apiURL","url":"interfaces/Client.ClientOptions.html#apiURL","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":3,"kind":1024,"name":"debug","url":"interfaces/Client.ClientOptions.html#debug","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":4,"kind":1024,"name":"cache","url":"interfaces/Client.ClientOptions.html#cache","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":5,"kind":1024,"name":"unreads","url":"interfaces/Client.ClientOptions.html#unreads","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":6,"kind":1024,"name":"heartbeat","url":"interfaces/Client.ClientOptions.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":7,"kind":1024,"name":"autoReconnect","url":"interfaces/Client.ClientOptions.html#autoReconnect","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":8,"kind":1024,"name":"pongTimeout","url":"interfaces/Client.ClientOptions.html#pongTimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":9,"kind":1024,"name":"onPongTimeout","url":"interfaces/Client.ClientOptions.html#onPongTimeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":10,"kind":1024,"name":"ackRateLimiter","url":"interfaces/Client.ClientOptions.html#ackRateLimiter","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"Client.ClientOptions"},{"id":11,"kind":128,"name":"Client","url":"classes/Client.Client-1.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"Client"},{"id":12,"kind":512,"name":"constructor","url":"classes/Client.Client-1.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Client.Client"},{"id":13,"kind":2048,"name":"on","url":"classes/Client.Client-1.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":14,"kind":1024,"name":"heartbeat","url":"classes/Client.Client-1.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":15,"kind":1024,"name":"api","url":"classes/Client.Client-1.html#api","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":16,"kind":1024,"name":"session","url":"classes/Client.Client-1.html#session","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":17,"kind":1024,"name":"user","url":"classes/Client.Client-1.html#user","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":18,"kind":1024,"name":"options","url":"classes/Client.Client-1.html#options","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":19,"kind":1024,"name":"websocket","url":"classes/Client.Client-1.html#websocket","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":20,"kind":1024,"name":"configuration","url":"classes/Client.Client-1.html#configuration","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":21,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"Client.Client"},{"id":22,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type"},{"id":23,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-1.__type-3","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":24,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-1.__type-2","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":25,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-1.__type-4","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":26,"kind":65536,"name":"__type","url":"classes/Client.Client-1.html#__type.__type-1.__type-5","classes":"tsd-kind-type-literal tsd-parent-kind-type-literal","parent":"Client.Client.__type.__type"},{"id":27,"kind":1024,"name":"users","url":"classes/Client.Client-1.html#users","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":28,"kind":1024,"name":"channels","url":"classes/Client.Client-1.html#channels","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":29,"kind":1024,"name":"servers","url":"classes/Client.Client-1.html#servers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":30,"kind":1024,"name":"members","url":"classes/Client.Client-1.html#members","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":31,"kind":1024,"name":"messages","url":"classes/Client.Client-1.html#messages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":32,"kind":1024,"name":"bots","url":"classes/Client.Client-1.html#bots","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":33,"kind":1024,"name":"unreads","url":"classes/Client.Client-1.html#unreads","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Client.Client"},{"id":34,"kind":262144,"name":"apiURL","url":"classes/Client.Client-1.html#apiURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client.Client"},{"id":35,"kind":262144,"name":"debug","url":"classes/Client.Client-1.html#debug","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client.Client"},{"id":36,"kind":262144,"name":"autoReconnect","url":"classes/Client.Client-1.html#autoReconnect","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Client.Client"},{"id":37,"kind":2048,"name":"connect","url":"classes/Client.Client-1.html#connect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":38,"kind":2048,"name":"fetchConfiguration","url":"classes/Client.Client-1.html#fetchConfiguration","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":39,"kind":2048,"name":"$updateHeaders","url":"classes/Client.Client-1.html#_updateHeaders","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Client.Client"},{"id":40,"kind":2048,"name":"login","url":"classes/Client.Client-1.html#login","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":41,"kind":2048,"name":"useExistingSession","url":"classes/Client.Client-1.html#useExistingSession","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":42,"kind":2048,"name":"loginBot","url":"classes/Client.Client-1.html#loginBot","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":43,"kind":2048,"name":"$connect","url":"classes/Client.Client-1.html#_connect","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"Client.Client"},{"id":44,"kind":2048,"name":"completeOnboarding","url":"classes/Client.Client-1.html#completeOnboarding","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":45,"kind":2048,"name":"fetchInvite","url":"classes/Client.Client-1.html#fetchInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":46,"kind":2048,"name":"joinInvite","url":"classes/Client.Client-1.html#joinInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":47,"kind":2048,"name":"deleteInvite","url":"classes/Client.Client-1.html#deleteInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":48,"kind":2048,"name":"syncFetchSettings","url":"classes/Client.Client-1.html#syncFetchSettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":49,"kind":2048,"name":"syncSetSettings","url":"classes/Client.Client-1.html#syncSetSettings","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":50,"kind":2048,"name":"syncFetchUnreads","url":"classes/Client.Client-1.html#syncFetchUnreads","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":51,"kind":2048,"name":"logout","url":"classes/Client.Client-1.html#logout","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":52,"kind":2048,"name":"reset","url":"classes/Client.Client-1.html#reset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":53,"kind":2048,"name":"register","url":"classes/Client.Client-1.html#register","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":54,"kind":2048,"name":"markdownToText","url":"classes/Client.Client-1.html#markdownToText","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":55,"kind":2048,"name":"proxyFile","url":"classes/Client.Client-1.html#proxyFile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":56,"kind":2048,"name":"generateFileURL","url":"classes/Client.Client-1.html#generateFileURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Client.Client"},{"id":57,"kind":32,"name":"RE_MENTIONS","url":"modules/Client.html#RE_MENTIONS","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"Client"},{"id":58,"kind":32,"name":"RE_SPOILER","url":"modules/Client.html#RE_SPOILER","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"Client"},{"id":59,"kind":4194304,"name":"FileArgs","url":"modules/Client.html#FileArgs","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"Client"},{"id":60,"kind":1,"name":"config","url":"modules/config.html","classes":"tsd-kind-module"},{"id":61,"kind":32,"name":"LIBRARY_VERSION","url":"modules/config.html#LIBRARY_VERSION","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"config"},{"id":62,"kind":32,"name":"defaultConfig","url":"modules/config.html#defaultConfig","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"config"},{"id":63,"kind":65536,"name":"__type","url":"modules/config.html#defaultConfig.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"config.defaultConfig"},{"id":64,"kind":1024,"name":"apiURL","url":"modules/config.html#defaultConfig.__type.apiURL","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":65,"kind":1024,"name":"autoReconnect","url":"modules/config.html#defaultConfig.__type.autoReconnect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":66,"kind":1024,"name":"heartbeat","url":"modules/config.html#defaultConfig.__type.heartbeat","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":67,"kind":1024,"name":"debug","url":"modules/config.html#defaultConfig.__type.debug","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":68,"kind":1024,"name":"cache","url":"modules/config.html#defaultConfig.__type.cache","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":69,"kind":1024,"name":"unreads","url":"modules/config.html#defaultConfig.__type.unreads","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":70,"kind":1024,"name":"ackRateLimiter","url":"modules/config.html#defaultConfig.__type.ackRateLimiter","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"config.defaultConfig.__type"},{"id":71,"kind":1,"name":"globals","url":"modules/globals.html","classes":"tsd-kind-module"},{"id":72,"kind":4194304,"name":"Tail","url":"modules/globals.html#Tail","classes":"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter","parent":"globals"},{"id":73,"kind":1,"name":"index","url":"modules/index.html","classes":"tsd-kind-module"},{"id":74,"kind":1,"name":"maps/Bots","url":"modules/maps_Bots.html","classes":"tsd-kind-module"},{"id":75,"kind":128,"name":"default","url":"classes/maps_Bots.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Bots"},{"id":76,"kind":512,"name":"constructor","url":"classes/maps_Bots.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":77,"kind":1024,"name":"client","url":"classes/maps_Bots.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":78,"kind":2048,"name":"fetch","url":"classes/maps_Bots.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":79,"kind":2048,"name":"delete","url":"classes/maps_Bots.default.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":80,"kind":2048,"name":"fetchPublic","url":"classes/maps_Bots.default.html#fetchPublic","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":81,"kind":2048,"name":"invite","url":"classes/maps_Bots.default.html#invite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":82,"kind":2048,"name":"fetchOwned","url":"classes/maps_Bots.default.html#fetchOwned","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":83,"kind":2048,"name":"edit","url":"classes/maps_Bots.default.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":84,"kind":2048,"name":"create","url":"classes/maps_Bots.default.html#create","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Bots.default"},{"id":85,"kind":1,"name":"maps/Channels","url":"modules/maps_Channels.html","classes":"tsd-kind-module"},{"id":86,"kind":128,"name":"Channel","url":"classes/maps_Channels.Channel.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Channels"},{"id":87,"kind":512,"name":"constructor","url":"classes/maps_Channels.Channel.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":88,"kind":1024,"name":"client","url":"classes/maps_Channels.Channel.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":89,"kind":1024,"name":"_id","url":"classes/maps_Channels.Channel.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":90,"kind":1024,"name":"channel_type","url":"classes/maps_Channels.Channel.html#channel_type","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":91,"kind":1024,"name":"active","url":"classes/maps_Channels.Channel.html#active","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":92,"kind":1024,"name":"owner_id","url":"classes/maps_Channels.Channel.html#owner_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":93,"kind":1024,"name":"server_id","url":"classes/maps_Channels.Channel.html#server_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":94,"kind":1024,"name":"permissions","url":"classes/maps_Channels.Channel.html#permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":95,"kind":1024,"name":"default_permissions","url":"classes/maps_Channels.Channel.html#default_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":96,"kind":1024,"name":"role_permissions","url":"classes/maps_Channels.Channel.html#role_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":97,"kind":1024,"name":"name","url":"classes/maps_Channels.Channel.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":98,"kind":1024,"name":"icon","url":"classes/maps_Channels.Channel.html#icon","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":99,"kind":1024,"name":"description","url":"classes/maps_Channels.Channel.html#description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":100,"kind":1024,"name":"recipient_ids","url":"classes/maps_Channels.Channel.html#recipient_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":101,"kind":1024,"name":"last_message_id","url":"classes/maps_Channels.Channel.html#last_message_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":102,"kind":1024,"name":"typing_ids","url":"classes/maps_Channels.Channel.html#typing_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":103,"kind":1024,"name":"nsfw","url":"classes/maps_Channels.Channel.html#nsfw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":104,"kind":262144,"name":"owner","url":"classes/maps_Channels.Channel.html#owner","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":105,"kind":262144,"name":"server","url":"classes/maps_Channels.Channel.html#server","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":106,"kind":262144,"name":"recipient","url":"classes/maps_Channels.Channel.html#recipient","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":107,"kind":262144,"name":"last_message","url":"classes/maps_Channels.Channel.html#last_message","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":108,"kind":262144,"name":"last_message_id_or_past","url":"classes/maps_Channels.Channel.html#last_message_id_or_past","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":109,"kind":262144,"name":"recipients","url":"classes/maps_Channels.Channel.html#recipients","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":110,"kind":262144,"name":"typing","url":"classes/maps_Channels.Channel.html#typing","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":111,"kind":262144,"name":"createdAt","url":"classes/maps_Channels.Channel.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":112,"kind":262144,"name":"path","url":"classes/maps_Channels.Channel.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":113,"kind":262144,"name":"url","url":"classes/maps_Channels.Channel.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":114,"kind":2048,"name":"isUnread","url":"classes/maps_Channels.Channel.html#isUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":115,"kind":2048,"name":"getMentions","url":"classes/maps_Channels.Channel.html#getMentions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":116,"kind":262144,"name":"unread","url":"classes/maps_Channels.Channel.html#unread","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":117,"kind":262144,"name":"mentions","url":"classes/maps_Channels.Channel.html#mentions","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":118,"kind":2048,"name":"update","url":"classes/maps_Channels.Channel.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":119,"kind":2048,"name":"updateGroupJoin","url":"classes/maps_Channels.Channel.html#updateGroupJoin","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":120,"kind":2048,"name":"updateGroupLeave","url":"classes/maps_Channels.Channel.html#updateGroupLeave","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":121,"kind":2048,"name":"updateStartTyping","url":"classes/maps_Channels.Channel.html#updateStartTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":122,"kind":2048,"name":"updateStopTyping","url":"classes/maps_Channels.Channel.html#updateStopTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":123,"kind":2048,"name":"fetchMembers","url":"classes/maps_Channels.Channel.html#fetchMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":124,"kind":2048,"name":"edit","url":"classes/maps_Channels.Channel.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":125,"kind":2048,"name":"delete","url":"classes/maps_Channels.Channel.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":126,"kind":2048,"name":"addMember","url":"classes/maps_Channels.Channel.html#addMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":127,"kind":2048,"name":"removeMember","url":"classes/maps_Channels.Channel.html#removeMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":128,"kind":2048,"name":"sendMessage","url":"classes/maps_Channels.Channel.html#sendMessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":129,"kind":2048,"name":"fetchMessage","url":"classes/maps_Channels.Channel.html#fetchMessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":130,"kind":2048,"name":"fetchMessages","url":"classes/maps_Channels.Channel.html#fetchMessages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":131,"kind":2048,"name":"fetchMessagesWithUsers","url":"classes/maps_Channels.Channel.html#fetchMessagesWithUsers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":132,"kind":2048,"name":"search","url":"classes/maps_Channels.Channel.html#search","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":133,"kind":2048,"name":"searchWithUsers","url":"classes/maps_Channels.Channel.html#searchWithUsers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":134,"kind":2048,"name":"fetchStale","url":"classes/maps_Channels.Channel.html#fetchStale","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":135,"kind":2048,"name":"deleteMessages","url":"classes/maps_Channels.Channel.html#deleteMessages","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":136,"kind":2048,"name":"createInvite","url":"classes/maps_Channels.Channel.html#createInvite","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":137,"kind":2048,"name":"joinCall","url":"classes/maps_Channels.Channel.html#joinCall","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":138,"kind":1024,"name":"ackTimeout","url":"classes/maps_Channels.Channel.html#ackTimeout","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"maps/Channels.Channel"},{"id":139,"kind":1024,"name":"ackLimit","url":"classes/maps_Channels.Channel.html#ackLimit","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"maps/Channels.Channel"},{"id":140,"kind":2048,"name":"ack","url":"classes/maps_Channels.Channel.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":141,"kind":2048,"name":"setPermissions","url":"classes/maps_Channels.Channel.html#setPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":142,"kind":2048,"name":"startTyping","url":"classes/maps_Channels.Channel.html#startTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":143,"kind":2048,"name":"stopTyping","url":"classes/maps_Channels.Channel.html#stopTyping","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":144,"kind":2048,"name":"generateIconURL","url":"classes/maps_Channels.Channel.html#generateIconURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":145,"kind":262144,"name":"permission","url":"classes/maps_Channels.Channel.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":146,"kind":2048,"name":"havePermission","url":"classes/maps_Channels.Channel.html#havePermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.Channel"},{"id":147,"kind":128,"name":"default","url":"classes/maps_Channels.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Channels"},{"id":148,"kind":512,"name":"constructor","url":"classes/maps_Channels.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Channels.default"},{"id":149,"kind":2048,"name":"$get","url":"classes/maps_Channels.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":150,"kind":2048,"name":"exists","url":"classes/maps_Channels.default.html#exists","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":151,"kind":2048,"name":"fetch","url":"classes/maps_Channels.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":152,"kind":2048,"name":"createObj","url":"classes/maps_Channels.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":153,"kind":2048,"name":"createGroup","url":"classes/maps_Channels.default.html#createGroup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":154,"kind":1024,"name":"client","url":"classes/maps_Channels.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Channels.default"},{"id":155,"kind":65536,"name":"__type","url":"classes/maps_Channels.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Channels.default"},{"id":156,"kind":1,"name":"maps/Collection","url":"modules/maps_Collection.html","classes":"tsd-kind-module"},{"id":157,"kind":128,"name":"default","url":"classes/maps_Collection.default.html","classes":"tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter","parent":"maps/Collection"},{"id":158,"kind":512,"name":"constructor","url":"classes/maps_Collection.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"maps/Collection.default"},{"id":159,"kind":1024,"name":"client","url":"classes/maps_Collection.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Collection.default"},{"id":160,"kind":65536,"name":"__type","url":"classes/maps_Collection.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Collection.default"},{"id":161,"kind":1,"name":"maps/Members","url":"modules/maps_Members.html","classes":"tsd-kind-module"},{"id":162,"kind":128,"name":"Member","url":"classes/maps_Members.Member.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Members"},{"id":163,"kind":512,"name":"constructor","url":"classes/maps_Members.Member.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":164,"kind":1024,"name":"client","url":"classes/maps_Members.Member.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":165,"kind":1024,"name":"_id","url":"classes/maps_Members.Member.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":166,"kind":65536,"name":"__type","url":"classes/maps_Members.Member.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":167,"kind":1024,"name":"nickname","url":"classes/maps_Members.Member.html#nickname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":168,"kind":1024,"name":"avatar","url":"classes/maps_Members.Member.html#avatar","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":169,"kind":1024,"name":"roles","url":"classes/maps_Members.Member.html#roles","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":170,"kind":262144,"name":"user","url":"classes/maps_Members.Member.html#user-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":171,"kind":262144,"name":"server","url":"classes/maps_Members.Member.html#server-1","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":172,"kind":262144,"name":"inferior","url":"classes/maps_Members.Member.html#inferior","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":173,"kind":262144,"name":"kickable","url":"classes/maps_Members.Member.html#kickable","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":174,"kind":262144,"name":"bannable","url":"classes/maps_Members.Member.html#bannable","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":175,"kind":2048,"name":"update","url":"classes/maps_Members.Member.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":176,"kind":2048,"name":"edit","url":"classes/maps_Members.Member.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":177,"kind":2048,"name":"kick","url":"classes/maps_Members.Member.html#kick","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":178,"kind":262144,"name":"orderedRoles","url":"classes/maps_Members.Member.html#orderedRoles","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":179,"kind":262144,"name":"hoistedRole","url":"classes/maps_Members.Member.html#hoistedRole","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":180,"kind":262144,"name":"ranking","url":"classes/maps_Members.Member.html#ranking","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":181,"kind":2048,"name":"generateAvatarURL","url":"classes/maps_Members.Member.html#generateAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":182,"kind":2048,"name":"getPermissions","url":"classes/maps_Members.Member.html#getPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":183,"kind":2048,"name":"hasPermission","url":"classes/maps_Members.Member.html#hasPermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":184,"kind":2048,"name":"inferiorTo","url":"classes/maps_Members.Member.html#inferiorTo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.Member"},{"id":185,"kind":128,"name":"default","url":"classes/maps_Members.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Members"},{"id":186,"kind":2048,"name":"toKey","url":"classes/maps_Members.default.html#toKey","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"maps/Members.default"},{"id":187,"kind":512,"name":"constructor","url":"classes/maps_Members.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Members.default"},{"id":188,"kind":2048,"name":"hasKey","url":"classes/maps_Members.default.html#hasKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":189,"kind":2048,"name":"getKey","url":"classes/maps_Members.default.html#getKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":190,"kind":2048,"name":"setKey","url":"classes/maps_Members.default.html#setKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":191,"kind":2048,"name":"deleteKey","url":"classes/maps_Members.default.html#deleteKey","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":192,"kind":2048,"name":"$get","url":"classes/maps_Members.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":193,"kind":2048,"name":"createObj","url":"classes/maps_Members.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Members.default"},{"id":194,"kind":1024,"name":"client","url":"classes/maps_Members.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Members.default"},{"id":195,"kind":65536,"name":"__type","url":"classes/maps_Members.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Members.default"},{"id":196,"kind":1,"name":"maps/Messages","url":"modules/maps_Messages.html","classes":"tsd-kind-module"},{"id":197,"kind":128,"name":"Message","url":"classes/maps_Messages.Message.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Messages"},{"id":198,"kind":512,"name":"constructor","url":"classes/maps_Messages.Message.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":199,"kind":1024,"name":"client","url":"classes/maps_Messages.Message.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":200,"kind":1024,"name":"_id","url":"classes/maps_Messages.Message.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":201,"kind":1024,"name":"nonce","url":"classes/maps_Messages.Message.html#nonce","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":202,"kind":1024,"name":"channel_id","url":"classes/maps_Messages.Message.html#channel_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":203,"kind":1024,"name":"author_id","url":"classes/maps_Messages.Message.html#author_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":204,"kind":1024,"name":"content","url":"classes/maps_Messages.Message.html#content","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":205,"kind":1024,"name":"system","url":"classes/maps_Messages.Message.html#system","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":206,"kind":1024,"name":"attachments","url":"classes/maps_Messages.Message.html#attachments","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":207,"kind":1024,"name":"edited","url":"classes/maps_Messages.Message.html#edited","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":208,"kind":1024,"name":"embeds","url":"classes/maps_Messages.Message.html#embeds","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":209,"kind":1024,"name":"mention_ids","url":"classes/maps_Messages.Message.html#mention_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":210,"kind":1024,"name":"reply_ids","url":"classes/maps_Messages.Message.html#reply_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":211,"kind":1024,"name":"masquerade","url":"classes/maps_Messages.Message.html#masquerade","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":212,"kind":262144,"name":"channel","url":"classes/maps_Messages.Message.html#channel","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":213,"kind":262144,"name":"author","url":"classes/maps_Messages.Message.html#author","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":214,"kind":262144,"name":"member","url":"classes/maps_Messages.Message.html#member","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":215,"kind":262144,"name":"mentions","url":"classes/maps_Messages.Message.html#mentions","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":216,"kind":262144,"name":"createdAt","url":"classes/maps_Messages.Message.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":217,"kind":262144,"name":"path","url":"classes/maps_Messages.Message.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":218,"kind":262144,"name":"url","url":"classes/maps_Messages.Message.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":219,"kind":2048,"name":"generateMasqAvatarURL","url":"classes/maps_Messages.Message.html#generateMasqAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":220,"kind":262144,"name":"asSystemMessage","url":"classes/maps_Messages.Message.html#asSystemMessage","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":221,"kind":2048,"name":"update","url":"classes/maps_Messages.Message.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":222,"kind":2048,"name":"append","url":"classes/maps_Messages.Message.html#append","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":223,"kind":2048,"name":"edit","url":"classes/maps_Messages.Message.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":224,"kind":2048,"name":"delete","url":"classes/maps_Messages.Message.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":225,"kind":2048,"name":"ack","url":"classes/maps_Messages.Message.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":226,"kind":2048,"name":"reply","url":"classes/maps_Messages.Message.html#reply","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.Message"},{"id":227,"kind":128,"name":"default","url":"classes/maps_Messages.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Messages"},{"id":228,"kind":512,"name":"constructor","url":"classes/maps_Messages.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Messages.default"},{"id":229,"kind":2048,"name":"$get","url":"classes/maps_Messages.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.default"},{"id":230,"kind":2048,"name":"createObj","url":"classes/maps_Messages.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Messages.default"},{"id":231,"kind":1024,"name":"client","url":"classes/maps_Messages.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Messages.default"},{"id":232,"kind":65536,"name":"__type","url":"classes/maps_Messages.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Messages.default"},{"id":233,"kind":1,"name":"maps/Servers","url":"modules/maps_Servers.html","classes":"tsd-kind-module"},{"id":234,"kind":128,"name":"Server","url":"classes/maps_Servers.Server.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Servers"},{"id":235,"kind":512,"name":"constructor","url":"classes/maps_Servers.Server.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":236,"kind":1024,"name":"client","url":"classes/maps_Servers.Server.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":237,"kind":1024,"name":"_id","url":"classes/maps_Servers.Server.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":238,"kind":1024,"name":"owner","url":"classes/maps_Servers.Server.html#owner","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":239,"kind":1024,"name":"name","url":"classes/maps_Servers.Server.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":240,"kind":1024,"name":"description","url":"classes/maps_Servers.Server.html#description","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":241,"kind":1024,"name":"channel_ids","url":"classes/maps_Servers.Server.html#channel_ids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":242,"kind":1024,"name":"categories","url":"classes/maps_Servers.Server.html#categories","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":243,"kind":1024,"name":"system_messages","url":"classes/maps_Servers.Server.html#system_messages","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":244,"kind":1024,"name":"roles","url":"classes/maps_Servers.Server.html#roles","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":245,"kind":1024,"name":"default_permissions","url":"classes/maps_Servers.Server.html#default_permissions","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":246,"kind":1024,"name":"icon","url":"classes/maps_Servers.Server.html#icon","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":247,"kind":1024,"name":"banner","url":"classes/maps_Servers.Server.html#banner","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":248,"kind":1024,"name":"nsfw","url":"classes/maps_Servers.Server.html#nsfw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":249,"kind":1024,"name":"flags","url":"classes/maps_Servers.Server.html#flags","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":250,"kind":262144,"name":"channels","url":"classes/maps_Servers.Server.html#channels","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":251,"kind":262144,"name":"createdAt","url":"classes/maps_Servers.Server.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":252,"kind":262144,"name":"path","url":"classes/maps_Servers.Server.html#path","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":253,"kind":262144,"name":"url","url":"classes/maps_Servers.Server.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":254,"kind":262144,"name":"orderedChannels","url":"classes/maps_Servers.Server.html#orderedChannels","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":255,"kind":262144,"name":"orderedRoles","url":"classes/maps_Servers.Server.html#orderedRoles","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":256,"kind":2048,"name":"isUnread","url":"classes/maps_Servers.Server.html#isUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":257,"kind":2048,"name":"getMentions","url":"classes/maps_Servers.Server.html#getMentions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":258,"kind":2048,"name":"update","url":"classes/maps_Servers.Server.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":259,"kind":2048,"name":"createChannel","url":"classes/maps_Servers.Server.html#createChannel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":260,"kind":2048,"name":"edit","url":"classes/maps_Servers.Server.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":261,"kind":2048,"name":"delete","url":"classes/maps_Servers.Server.html#delete","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":262,"kind":2048,"name":"ack","url":"classes/maps_Servers.Server.html#ack","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":263,"kind":2048,"name":"banUser","url":"classes/maps_Servers.Server.html#banUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":264,"kind":2048,"name":"unbanUser","url":"classes/maps_Servers.Server.html#unbanUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":265,"kind":2048,"name":"fetchInvites","url":"classes/maps_Servers.Server.html#fetchInvites","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":266,"kind":2048,"name":"fetchBans","url":"classes/maps_Servers.Server.html#fetchBans","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":267,"kind":2048,"name":"setPermissions","url":"classes/maps_Servers.Server.html#setPermissions","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":268,"kind":2048,"name":"createRole","url":"classes/maps_Servers.Server.html#createRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":269,"kind":2048,"name":"editRole","url":"classes/maps_Servers.Server.html#editRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":270,"kind":2048,"name":"deleteRole","url":"classes/maps_Servers.Server.html#deleteRole","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":271,"kind":2048,"name":"fetchMember","url":"classes/maps_Servers.Server.html#fetchMember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":272,"kind":2048,"name":"syncMembers","url":"classes/maps_Servers.Server.html#syncMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":273,"kind":2048,"name":"fetchMembers","url":"classes/maps_Servers.Server.html#fetchMembers","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":274,"kind":2048,"name":"generateIconURL","url":"classes/maps_Servers.Server.html#generateIconURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":275,"kind":2048,"name":"generateBannerURL","url":"classes/maps_Servers.Server.html#generateBannerURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":276,"kind":262144,"name":"member","url":"classes/maps_Servers.Server.html#member","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":277,"kind":262144,"name":"permission","url":"classes/maps_Servers.Server.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":278,"kind":2048,"name":"havePermission","url":"classes/maps_Servers.Server.html#havePermission","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.Server"},{"id":279,"kind":128,"name":"default","url":"classes/maps_Servers.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Servers"},{"id":280,"kind":512,"name":"constructor","url":"classes/maps_Servers.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Servers.default"},{"id":281,"kind":2048,"name":"$get","url":"classes/maps_Servers.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":282,"kind":2048,"name":"fetch","url":"classes/maps_Servers.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":283,"kind":2048,"name":"createObj","url":"classes/maps_Servers.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":284,"kind":2048,"name":"createServer","url":"classes/maps_Servers.default.html#createServer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":285,"kind":1024,"name":"client","url":"classes/maps_Servers.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Servers.default"},{"id":286,"kind":65536,"name":"__type","url":"classes/maps_Servers.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Servers.default"},{"id":287,"kind":1,"name":"maps/Users","url":"modules/maps_Users.html","classes":"tsd-kind-module"},{"id":288,"kind":128,"name":"User","url":"classes/maps_Users.User.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Users"},{"id":289,"kind":512,"name":"constructor","url":"classes/maps_Users.User.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"maps/Users.User"},{"id":290,"kind":1024,"name":"client","url":"classes/maps_Users.User.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":291,"kind":1024,"name":"_id","url":"classes/maps_Users.User.html#_id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":292,"kind":1024,"name":"username","url":"classes/maps_Users.User.html#username","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":293,"kind":1024,"name":"avatar","url":"classes/maps_Users.User.html#avatar","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":294,"kind":1024,"name":"badges","url":"classes/maps_Users.User.html#badges","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":295,"kind":1024,"name":"status","url":"classes/maps_Users.User.html#status","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":296,"kind":1024,"name":"relationship","url":"classes/maps_Users.User.html#relationship","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":297,"kind":1024,"name":"online","url":"classes/maps_Users.User.html#online","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":298,"kind":1024,"name":"privileged","url":"classes/maps_Users.User.html#privileged","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":299,"kind":1024,"name":"flags","url":"classes/maps_Users.User.html#flags","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":300,"kind":1024,"name":"bot","url":"classes/maps_Users.User.html#bot","classes":"tsd-kind-property tsd-parent-kind-class","parent":"maps/Users.User"},{"id":301,"kind":262144,"name":"createdAt","url":"classes/maps_Users.User.html#createdAt","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":302,"kind":2048,"name":"update","url":"classes/maps_Users.User.html#update","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":303,"kind":2048,"name":"openDM","url":"classes/maps_Users.User.html#openDM","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":304,"kind":2048,"name":"addFriend","url":"classes/maps_Users.User.html#addFriend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":305,"kind":2048,"name":"removeFriend","url":"classes/maps_Users.User.html#removeFriend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":306,"kind":2048,"name":"blockUser","url":"classes/maps_Users.User.html#blockUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":307,"kind":2048,"name":"unblockUser","url":"classes/maps_Users.User.html#unblockUser","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":308,"kind":2048,"name":"fetchProfile","url":"classes/maps_Users.User.html#fetchProfile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":309,"kind":2048,"name":"fetchMutual","url":"classes/maps_Users.User.html#fetchMutual","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":310,"kind":262144,"name":"defaultAvatarURL","url":"classes/maps_Users.User.html#defaultAvatarURL","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":311,"kind":2048,"name":"generateAvatarURL","url":"classes/maps_Users.User.html#generateAvatarURL","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.User"},{"id":312,"kind":262144,"name":"permission","url":"classes/maps_Users.User.html#permission","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"maps/Users.User"},{"id":313,"kind":128,"name":"default","url":"classes/maps_Users.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"maps/Users"},{"id":314,"kind":512,"name":"constructor","url":"classes/maps_Users.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"maps/Users.default"},{"id":315,"kind":2048,"name":"$get","url":"classes/maps_Users.default.html#_get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":316,"kind":2048,"name":"fetch","url":"classes/maps_Users.default.html#fetch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":317,"kind":2048,"name":"createObj","url":"classes/maps_Users.default.html#createObj","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":318,"kind":2048,"name":"edit","url":"classes/maps_Users.default.html#edit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":319,"kind":2048,"name":"changeUsername","url":"classes/maps_Users.default.html#changeUsername","classes":"tsd-kind-method tsd-parent-kind-class","parent":"maps/Users.default"},{"id":320,"kind":1024,"name":"client","url":"classes/maps_Users.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"maps/Users.default"},{"id":321,"kind":65536,"name":"__type","url":"classes/maps_Users.default.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"maps/Users.default"},{"id":322,"kind":1,"name":"permissions/calculator","url":"modules/permissions_calculator.html","classes":"tsd-kind-module"},{"id":323,"kind":64,"name":"bitwiseAndEq","url":"modules/permissions_calculator.html#bitwiseAndEq","classes":"tsd-kind-function tsd-parent-kind-module","parent":"permissions/calculator"},{"id":324,"kind":64,"name":"calculatePermission","url":"modules/permissions_calculator.html#calculatePermission","classes":"tsd-kind-function tsd-parent-kind-module","parent":"permissions/calculator"},{"id":325,"kind":1,"name":"permissions/definitions","url":"modules/permissions_definitions.html","classes":"tsd-kind-module"},{"id":326,"kind":32,"name":"UserPermission","url":"modules/permissions_definitions.html#UserPermission","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":327,"kind":65536,"name":"__type","url":"modules/permissions_definitions.html#UserPermission.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"permissions/definitions.UserPermission"},{"id":328,"kind":1024,"name":"Access","url":"modules/permissions_definitions.html#UserPermission.__type-1.Access","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":329,"kind":1024,"name":"ViewProfile","url":"modules/permissions_definitions.html#UserPermission.__type-1.ViewProfile","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":330,"kind":1024,"name":"SendMessage","url":"modules/permissions_definitions.html#UserPermission.__type-1.SendMessage-1","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":331,"kind":1024,"name":"Invite","url":"modules/permissions_definitions.html#UserPermission.__type-1.Invite","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.UserPermission.__type"},{"id":332,"kind":32,"name":"Permission","url":"modules/permissions_definitions.html#Permission","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":333,"kind":65536,"name":"__type","url":"modules/permissions_definitions.html#Permission.__type","classes":"tsd-kind-type-literal tsd-parent-kind-variable","parent":"permissions/definitions.Permission"},{"id":334,"kind":1024,"name":"ManageChannel","url":"modules/permissions_definitions.html#Permission.__type.ManageChannel","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":335,"kind":1024,"name":"ManageServer","url":"modules/permissions_definitions.html#Permission.__type.ManageServer","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":336,"kind":1024,"name":"ManagePermissions","url":"modules/permissions_definitions.html#Permission.__type.ManagePermissions","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":337,"kind":1024,"name":"ManageRole","url":"modules/permissions_definitions.html#Permission.__type.ManageRole","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":338,"kind":1024,"name":"KickMembers","url":"modules/permissions_definitions.html#Permission.__type.KickMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":339,"kind":1024,"name":"BanMembers","url":"modules/permissions_definitions.html#Permission.__type.BanMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":340,"kind":1024,"name":"TimeoutMembers","url":"modules/permissions_definitions.html#Permission.__type.TimeoutMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":341,"kind":1024,"name":"AssignRoles","url":"modules/permissions_definitions.html#Permission.__type.AssignRoles","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":342,"kind":1024,"name":"ChangeNickname","url":"modules/permissions_definitions.html#Permission.__type.ChangeNickname","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":343,"kind":1024,"name":"ManageNicknames","url":"modules/permissions_definitions.html#Permission.__type.ManageNicknames","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":344,"kind":1024,"name":"ChangeAvatar","url":"modules/permissions_definitions.html#Permission.__type.ChangeAvatar","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":345,"kind":1024,"name":"RemoveAvatars","url":"modules/permissions_definitions.html#Permission.__type.RemoveAvatars","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":346,"kind":1024,"name":"ViewChannel","url":"modules/permissions_definitions.html#Permission.__type.ViewChannel","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":347,"kind":1024,"name":"ReadMessageHistory","url":"modules/permissions_definitions.html#Permission.__type.ReadMessageHistory","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":348,"kind":1024,"name":"SendMessage","url":"modules/permissions_definitions.html#Permission.__type.SendMessage","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":349,"kind":1024,"name":"ManageMessages","url":"modules/permissions_definitions.html#Permission.__type.ManageMessages","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":350,"kind":1024,"name":"ManageWebhooks","url":"modules/permissions_definitions.html#Permission.__type.ManageWebhooks","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":351,"kind":1024,"name":"InviteOthers","url":"modules/permissions_definitions.html#Permission.__type.InviteOthers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":352,"kind":1024,"name":"SendEmbeds","url":"modules/permissions_definitions.html#Permission.__type.SendEmbeds","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":353,"kind":1024,"name":"UploadFiles","url":"modules/permissions_definitions.html#Permission.__type.UploadFiles","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":354,"kind":1024,"name":"Masquerade","url":"modules/permissions_definitions.html#Permission.__type.Masquerade","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":355,"kind":1024,"name":"Connect","url":"modules/permissions_definitions.html#Permission.__type.Connect","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":356,"kind":1024,"name":"Speak","url":"modules/permissions_definitions.html#Permission.__type.Speak","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":357,"kind":1024,"name":"Video","url":"modules/permissions_definitions.html#Permission.__type.Video","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":358,"kind":1024,"name":"MuteMembers","url":"modules/permissions_definitions.html#Permission.__type.MuteMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":359,"kind":1024,"name":"DeafenMembers","url":"modules/permissions_definitions.html#Permission.__type.DeafenMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":360,"kind":1024,"name":"MoveMembers","url":"modules/permissions_definitions.html#Permission.__type.MoveMembers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":361,"kind":1024,"name":"GrantAllSafe","url":"modules/permissions_definitions.html#Permission.__type.GrantAllSafe","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"permissions/definitions.Permission.__type"},{"id":362,"kind":32,"name":"U32_MAX","url":"modules/permissions_definitions.html#U32_MAX","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":363,"kind":32,"name":"DEFAULT_PERMISSION_VIEW_ONLY","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_VIEW_ONLY","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":364,"kind":32,"name":"DEFAULT_PERMISSION","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":365,"kind":32,"name":"DEFAULT_PERMISSION_SAVED_MESSAGES","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_SAVED_MESSAGES","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":366,"kind":32,"name":"DEFAULT_PERMISSION_DIRECT_MESSAGE","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_DIRECT_MESSAGE","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":367,"kind":32,"name":"DEFAULT_PERMISSION_SERVER","url":"modules/permissions_definitions.html#DEFAULT_PERMISSION_SERVER","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"permissions/definitions"},{"id":368,"kind":1,"name":"util/Unreads","url":"modules/util_Unreads.html","classes":"tsd-kind-module"},{"id":369,"kind":256,"name":"INotificationChecker","url":"interfaces/util_Unreads.INotificationChecker.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"util/Unreads"},{"id":370,"kind":2048,"name":"isMuted","url":"interfaces/util_Unreads.INotificationChecker.html#isMuted","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"util/Unreads.INotificationChecker"},{"id":371,"kind":128,"name":"default","url":"classes/util_Unreads.default.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"util/Unreads"},{"id":372,"kind":512,"name":"constructor","url":"classes/util_Unreads.default.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":373,"kind":1024,"name":"client","url":"classes/util_Unreads.default.html#client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"util/Unreads.default"},{"id":374,"kind":1024,"name":"channels","url":"classes/util_Unreads.default.html#channels","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"util/Unreads.default"},{"id":375,"kind":2048,"name":"sync","url":"classes/util_Unreads.default.html#sync","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":376,"kind":2048,"name":"getUnread","url":"classes/util_Unreads.default.html#getUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":377,"kind":2048,"name":"markUnread","url":"classes/util_Unreads.default.html#markUnread","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":378,"kind":2048,"name":"markMention","url":"classes/util_Unreads.default.html#markMention","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":379,"kind":2048,"name":"markRead","url":"classes/util_Unreads.default.html#markRead","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":380,"kind":2048,"name":"markMultipleRead","url":"classes/util_Unreads.default.html#markMultipleRead","classes":"tsd-kind-method tsd-parent-kind-class","parent":"util/Unreads.default"},{"id":381,"kind":1,"name":"util/null","url":"modules/util_null.html","classes":"tsd-kind-module"},{"id":382,"kind":64,"name":"toNullable","url":"modules/util_null.html#toNullable","classes":"tsd-kind-function tsd-parent-kind-module tsd-has-type-parameter","parent":"util/null"},{"id":383,"kind":64,"name":"toNullableDate","url":"modules/util_null.html#toNullableDate","classes":"tsd-kind-function tsd-parent-kind-module","parent":"util/null"},{"id":384,"kind":4194304,"name":"Nullable","url":"modules/util_null.html#Nullable","classes":"tsd-kind-type-alias tsd-parent-kind-module tsd-has-type-parameter","parent":"util/null"},{"id":385,"kind":1,"name":"websocket/client","url":"modules/websocket_client.html","classes":"tsd-kind-module"},{"id":386,"kind":128,"name":"WebSocketClient","url":"classes/websocket_client.WebSocketClient.html","classes":"tsd-kind-class tsd-parent-kind-module","parent":"websocket/client"},{"id":387,"kind":512,"name":"constructor","url":"classes/websocket_client.WebSocketClient.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":388,"kind":1024,"name":"client","url":"classes/websocket_client.WebSocketClient.html#client","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":389,"kind":1024,"name":"ws","url":"classes/websocket_client.WebSocketClient.html#ws","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":390,"kind":1024,"name":"heartbeat","url":"classes/websocket_client.WebSocketClient.html#heartbeat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":391,"kind":1024,"name":"connected","url":"classes/websocket_client.WebSocketClient.html#connected","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":392,"kind":1024,"name":"ready","url":"classes/websocket_client.WebSocketClient.html#ready","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":393,"kind":1024,"name":"ping","url":"classes/websocket_client.WebSocketClient.html#ping","classes":"tsd-kind-property tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":394,"kind":2048,"name":"disconnect","url":"classes/websocket_client.WebSocketClient.html#disconnect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":395,"kind":2048,"name":"send","url":"classes/websocket_client.WebSocketClient.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":396,"kind":2048,"name":"connect","url":"classes/websocket_client.WebSocketClient.html#connect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"websocket/client.WebSocketClient"},{"id":397,"kind":1,"name":"websocket/notifications","url":"modules/websocket_notifications.html","classes":"tsd-kind-module"},{"id":398,"kind":4194304,"name":"ServerboundNotification","url":"modules/websocket_notifications.html#ServerboundNotification","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"websocket/notifications"},{"id":399,"kind":4194304,"name":"ReadyPacket","url":"modules/websocket_notifications.html#ReadyPacket","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"websocket/notifications"},{"id":400,"kind":65536,"name":"__type","url":"modules/websocket_notifications.html#ReadyPacket.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias","parent":"websocket/notifications.ReadyPacket"},{"id":401,"kind":1024,"name":"type","url":"modules/websocket_notifications.html#ReadyPacket.__type.type","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":402,"kind":1024,"name":"users","url":"modules/websocket_notifications.html#ReadyPacket.__type.users","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":403,"kind":1024,"name":"servers","url":"modules/websocket_notifications.html#ReadyPacket.__type.servers","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":404,"kind":1024,"name":"channels","url":"modules/websocket_notifications.html#ReadyPacket.__type.channels","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":405,"kind":1024,"name":"members","url":"modules/websocket_notifications.html#ReadyPacket.__type.members","classes":"tsd-kind-property tsd-parent-kind-type-literal","parent":"websocket/notifications.ReadyPacket.__type"},{"id":406,"kind":4194304,"name":"ClientboundNotification","url":"modules/websocket_notifications.html#ClientboundNotification","classes":"tsd-kind-type-alias tsd-parent-kind-module","parent":"websocket/notifications"},{"id":407,"kind":16777216,"name":"Channel","url":"modules/index.html#Channel","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":408,"kind":16777216,"name":"Member","url":"modules/index.html#Member","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":409,"kind":16777216,"name":"Message","url":"modules/index.html#Message","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":410,"kind":16777216,"name":"Server","url":"modules/index.html#Server","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":411,"kind":16777216,"name":"User","url":"modules/index.html#User","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":412,"kind":16777216,"name":"UserPermission","url":"modules/index.html#UserPermission","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":413,"kind":16777216,"name":"Permission","url":"modules/index.html#Permission","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":414,"kind":16777216,"name":"DEFAULT_PERMISSION","url":"modules/index.html#DEFAULT_PERMISSION","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":415,"kind":16777216,"name":"DEFAULT_PERMISSION_DIRECT_MESSAGE","url":"modules/index.html#DEFAULT_PERMISSION_DIRECT_MESSAGE","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":416,"kind":16777216,"name":"DEFAULT_PERMISSION_SAVED_MESSAGES","url":"modules/index.html#DEFAULT_PERMISSION_SAVED_MESSAGES","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":417,"kind":16777216,"name":"DEFAULT_PERMISSION_SERVER","url":"modules/index.html#DEFAULT_PERMISSION_SERVER","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":418,"kind":16777216,"name":"DEFAULT_PERMISSION_VIEW_ONLY","url":"modules/index.html#DEFAULT_PERMISSION_VIEW_ONLY","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":419,"kind":16777216,"name":"U32_MAX","url":"modules/index.html#U32_MAX","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":420,"kind":16777216,"name":"calculatePermission","url":"modules/index.html#calculatePermission","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":421,"kind":16777216,"name":"Nullable","url":"modules/index.html#Nullable","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":422,"kind":16777216,"name":"toNullable","url":"modules/index.html#toNullable","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":423,"kind":16777216,"name":"toNullableDate","url":"modules/index.html#toNullableDate","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":424,"kind":16777216,"name":"ReadyPacket","url":"modules/index.html#ReadyPacket","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":425,"kind":16777216,"name":"ClientboundNotification","url":"modules/index.html#ClientboundNotification","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":426,"kind":16777216,"name":"ServerboundNotification","url":"modules/index.html#ServerboundNotification","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":427,"kind":16777216,"name":"ClientOptions","url":"modules/index.html#ClientOptions","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":428,"kind":16777216,"name":"Client","url":"modules/index.html#Client","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":429,"kind":16777216,"name":"RE_MENTIONS","url":"modules/index.html#RE_MENTIONS","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":430,"kind":16777216,"name":"RE_SPOILER","url":"modules/index.html#RE_SPOILER","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":431,"kind":16777216,"name":"FileArgs","url":"modules/index.html#FileArgs","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":432,"kind":16777216,"name":"LIBRARY_VERSION","url":"modules/index.html#LIBRARY_VERSION","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"},{"id":433,"kind":16777216,"name":"defaultConfig","url":"modules/index.html#defaultConfig","classes":"tsd-kind-reference tsd-parent-kind-module","parent":"index"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,29.618]],["parent/0",[]],["name/1",[1,51.591]],["parent/1",[0,2.913]],["name/2",[2,48.226]],["parent/2",[3,3.761]],["name/3",[4,48.226]],["parent/3",[3,3.761]],["name/4",[5,51.591]],["parent/4",[3,3.761]],["name/5",[6,48.226]],["parent/5",[3,3.761]],["name/6",[7,45.713]],["parent/6",[3,3.761]],["name/7",[8,48.226]],["parent/7",[3,3.761]],["name/8",[9,56.699]],["parent/8",[3,3.761]],["name/9",[10,56.699]],["parent/9",[3,3.761]],["name/10",[11,51.591]],["parent/10",[3,3.761]],["name/11",[0,29.618]],["parent/11",[0,2.913]],["name/12",[12,33.345]],["parent/12",[13,2.335]],["name/13",[14,56.699]],["parent/13",[13,2.335]],["name/14",[7,45.713]],["parent/14",[13,2.335]],["name/15",[15,56.699]],["parent/15",[13,2.335]],["name/16",[16,56.699]],["parent/16",[13,2.335]],["name/17",[17,45.713]],["parent/17",[13,2.335]],["name/18",[18,56.699]],["parent/18",[13,2.335]],["name/19",[19,56.699]],["parent/19",[13,2.335]],["name/20",[20,56.699]],["parent/20",[13,2.335]],["name/21",[21,32.131]],["parent/21",[13,2.335]],["name/22",[21,32.131]],["parent/22",[22,5.577]],["name/23",[21,32.131]],["parent/23",[23,4.496]],["name/24",[21,32.131]],["parent/24",[23,4.496]],["name/25",[21,32.131]],["parent/25",[23,4.496]],["name/26",[21,32.131]],["parent/26",[23,4.496]],["name/27",[24,51.591]],["parent/27",[13,2.335]],["name/28",[25,45.713]],["parent/28",[13,2.335]],["name/29",[26,51.591]],["parent/29",[13,2.335]],["name/30",[27,51.591]],["parent/30",[13,2.335]],["name/31",[28,56.699]],["parent/31",[13,2.335]],["name/32",[29,56.699]],["parent/32",[13,2.335]],["name/33",[6,48.226]],["parent/33",[13,2.335]],["name/34",[2,48.226]],["parent/34",[13,2.335]],["name/35",[4,48.226]],["parent/35",[13,2.335]],["name/36",[8,48.226]],["parent/36",[13,2.335]],["name/37",[30,45.713]],["parent/37",[13,2.335]],["name/38",[31,56.699]],["parent/38",[13,2.335]],["name/39",[32,56.699]],["parent/39",[13,2.335]],["name/40",[33,56.699]],["parent/40",[13,2.335]],["name/41",[34,56.699]],["parent/41",[13,2.335]],["name/42",[35,56.699]],["parent/42",[13,2.335]],["name/43",[30,45.713]],["parent/43",[13,2.335]],["name/44",[36,56.699]],["parent/44",[13,2.335]],["name/45",[37,56.699]],["parent/45",[13,2.335]],["name/46",[38,56.699]],["parent/46",[13,2.335]],["name/47",[39,56.699]],["parent/47",[13,2.335]],["name/48",[40,56.699]],["parent/48",[13,2.335]],["name/49",[41,56.699]],["parent/49",[13,2.335]],["name/50",[42,56.699]],["parent/50",[13,2.335]],["name/51",[43,56.699]],["parent/51",[13,2.335]],["name/52",[44,56.699]],["parent/52",[13,2.335]],["name/53",[45,56.699]],["parent/53",[13,2.335]],["name/54",[46,56.699]],["parent/54",[13,2.335]],["name/55",[47,56.699]],["parent/55",[13,2.335]],["name/56",[48,56.699]],["parent/56",[13,2.335]],["name/57",[49,51.591]],["parent/57",[0,2.913]],["name/58",[50,51.591]],["parent/58",[0,2.913]],["name/59",[51,51.591]],["parent/59",[0,2.913]],["name/60",[52,48.226]],["parent/60",[]],["name/61",[53,51.591]],["parent/61",[52,4.743]],["name/62",[54,51.591]],["parent/62",[52,4.743]],["name/63",[21,32.131]],["parent/63",[55,5.577]],["name/64",[2,48.226]],["parent/64",[56,3.994]],["name/65",[8,48.226]],["parent/65",[56,3.994]],["name/66",[7,45.713]],["parent/66",[56,3.994]],["name/67",[4,48.226]],["parent/67",[56,3.994]],["name/68",[5,51.591]],["parent/68",[56,3.994]],["name/69",[6,48.226]],["parent/69",[56,3.994]],["name/70",[11,51.591]],["parent/70",[56,3.994]],["name/71",[57,51.591]],["parent/71",[]],["name/72",[58,56.699]],["parent/72",[57,5.074]],["name/73",[59,27.254]],["parent/73",[]],["name/74",[60,51.591]],["parent/74",[]],["name/75",[61,39.353]],["parent/75",[60,5.074]],["name/76",[12,33.345]],["parent/76",[62,3.761]],["name/77",[0,29.618]],["parent/77",[62,3.761]],["name/78",[63,45.713]],["parent/78",[62,3.761]],["name/79",[64,45.713]],["parent/79",[62,3.761]],["name/80",[65,56.699]],["parent/80",[62,3.761]],["name/81",[66,51.591]],["parent/81",[62,3.761]],["name/82",[67,56.699]],["parent/82",[62,3.761]],["name/83",[68,42.035]],["parent/83",[62,3.761]],["name/84",[69,56.699]],["parent/84",[62,3.761]],["name/85",[70,48.226]],["parent/85",[]],["name/86",[71,48.226]],["parent/86",[70,4.743]],["name/87",[12,33.345]],["parent/87",[72,1.94]],["name/88",[0,29.618]],["parent/88",[72,1.94]],["name/89",[73,43.706]],["parent/89",[72,1.94]],["name/90",[74,56.699]],["parent/90",[72,1.94]],["name/91",[75,56.699]],["parent/91",[72,1.94]],["name/92",[76,56.699]],["parent/92",[72,1.94]],["name/93",[77,56.699]],["parent/93",[72,1.94]],["name/94",[78,56.699]],["parent/94",[72,1.94]],["name/95",[79,51.591]],["parent/95",[72,1.94]],["name/96",[80,56.699]],["parent/96",[72,1.94]],["name/97",[81,51.591]],["parent/97",[72,1.94]],["name/98",[82,51.591]],["parent/98",[72,1.94]],["name/99",[83,51.591]],["parent/99",[72,1.94]],["name/100",[84,56.699]],["parent/100",[72,1.94]],["name/101",[85,56.699]],["parent/101",[72,1.94]],["name/102",[86,56.699]],["parent/102",[72,1.94]],["name/103",[87,51.591]],["parent/103",[72,1.94]],["name/104",[88,51.591]],["parent/104",[72,1.94]],["name/105",[89,45.713]],["parent/105",[72,1.94]],["name/106",[90,56.699]],["parent/106",[72,1.94]],["name/107",[91,56.699]],["parent/107",[72,1.94]],["name/108",[92,56.699]],["parent/108",[72,1.94]],["name/109",[93,56.699]],["parent/109",[72,1.94]],["name/110",[94,56.699]],["parent/110",[72,1.94]],["name/111",[95,45.713]],["parent/111",[72,1.94]],["name/112",[96,48.226]],["parent/112",[72,1.94]],["name/113",[97,48.226]],["parent/113",[72,1.94]],["name/114",[98,51.591]],["parent/114",[72,1.94]],["name/115",[99,51.591]],["parent/115",[72,1.94]],["name/116",[100,56.699]],["parent/116",[72,1.94]],["name/117",[101,51.591]],["parent/117",[72,1.94]],["name/118",[102,43.706]],["parent/118",[72,1.94]],["name/119",[103,56.699]],["parent/119",[72,1.94]],["name/120",[104,56.699]],["parent/120",[72,1.94]],["name/121",[105,56.699]],["parent/121",[72,1.94]],["name/122",[106,56.699]],["parent/122",[72,1.94]],["name/123",[107,51.591]],["parent/123",[72,1.94]],["name/124",[68,42.035]],["parent/124",[72,1.94]],["name/125",[64,45.713]],["parent/125",[72,1.94]],["name/126",[108,56.699]],["parent/126",[72,1.94]],["name/127",[109,56.699]],["parent/127",[72,1.94]],["name/128",[110,48.226]],["parent/128",[72,1.94]],["name/129",[111,56.699]],["parent/129",[72,1.94]],["name/130",[112,56.699]],["parent/130",[72,1.94]],["name/131",[113,56.699]],["parent/131",[72,1.94]],["name/132",[114,56.699]],["parent/132",[72,1.94]],["name/133",[115,56.699]],["parent/133",[72,1.94]],["name/134",[116,56.699]],["parent/134",[72,1.94]],["name/135",[117,56.699]],["parent/135",[72,1.94]],["name/136",[118,56.699]],["parent/136",[72,1.94]],["name/137",[119,56.699]],["parent/137",[72,1.94]],["name/138",[120,56.699]],["parent/138",[72,1.94]],["name/139",[121,56.699]],["parent/139",[72,1.94]],["name/140",[122,48.226]],["parent/140",[72,1.94]],["name/141",[123,51.591]],["parent/141",[72,1.94]],["name/142",[124,56.699]],["parent/142",[72,1.94]],["name/143",[125,56.699]],["parent/143",[72,1.94]],["name/144",[126,51.591]],["parent/144",[72,1.94]],["name/145",[127,43.706]],["parent/145",[72,1.94]],["name/146",[128,51.591]],["parent/146",[72,1.94]],["name/147",[61,39.353]],["parent/147",[70,4.743]],["name/148",[12,33.345]],["parent/148",[129,3.871]],["name/149",[130,43.706]],["parent/149",[129,3.871]],["name/150",[131,56.699]],["parent/150",[129,3.871]],["name/151",[63,45.713]],["parent/151",[129,3.871]],["name/152",[132,43.706]],["parent/152",[129,3.871]],["name/153",[133,56.699]],["parent/153",[129,3.871]],["name/154",[0,29.618]],["parent/154",[129,3.871]],["name/155",[21,32.131]],["parent/155",[129,3.871]],["name/156",[134,51.591]],["parent/156",[]],["name/157",[61,39.353]],["parent/157",[134,5.074]],["name/158",[12,33.345]],["parent/158",[135,4.743]],["name/159",[0,29.618]],["parent/159",[135,4.743]],["name/160",[21,32.131]],["parent/160",[135,4.743]],["name/161",[136,48.226]],["parent/161",[]],["name/162",[137,45.713]],["parent/162",[136,4.743]],["name/163",[12,33.345]],["parent/163",[138,2.913]],["name/164",[0,29.618]],["parent/164",[138,2.913]],["name/165",[73,43.706]],["parent/165",[138,2.913]],["name/166",[21,32.131]],["parent/166",[138,2.913]],["name/167",[139,56.699]],["parent/167",[138,2.913]],["name/168",[140,51.591]],["parent/168",[138,2.913]],["name/169",[141,51.591]],["parent/169",[138,2.913]],["name/170",[17,45.713]],["parent/170",[138,2.913]],["name/171",[89,45.713]],["parent/171",[138,2.913]],["name/172",[142,56.699]],["parent/172",[138,2.913]],["name/173",[143,56.699]],["parent/173",[138,2.913]],["name/174",[144,56.699]],["parent/174",[138,2.913]],["name/175",[102,43.706]],["parent/175",[138,2.913]],["name/176",[68,42.035]],["parent/176",[138,2.913]],["name/177",[145,56.699]],["parent/177",[138,2.913]],["name/178",[146,51.591]],["parent/178",[138,2.913]],["name/179",[147,56.699]],["parent/179",[138,2.913]],["name/180",[148,56.699]],["parent/180",[138,2.913]],["name/181",[149,51.591]],["parent/181",[138,2.913]],["name/182",[150,56.699]],["parent/182",[138,2.913]],["name/183",[151,56.699]],["parent/183",[138,2.913]],["name/184",[152,56.699]],["parent/184",[138,2.913]],["name/185",[61,39.353]],["parent/185",[136,4.743]],["name/186",[153,56.699]],["parent/186",[154,3.663]],["name/187",[12,33.345]],["parent/187",[154,3.663]],["name/188",[155,56.699]],["parent/188",[154,3.663]],["name/189",[156,56.699]],["parent/189",[154,3.663]],["name/190",[157,56.699]],["parent/190",[154,3.663]],["name/191",[158,56.699]],["parent/191",[154,3.663]],["name/192",[130,43.706]],["parent/192",[154,3.663]],["name/193",[132,43.706]],["parent/193",[154,3.663]],["name/194",[0,29.618]],["parent/194",[154,3.663]],["name/195",[21,32.131]],["parent/195",[154,3.663]],["name/196",[159,48.226]],["parent/196",[]],["name/197",[160,51.591]],["parent/197",[159,4.743]],["name/198",[12,33.345]],["parent/198",[161,2.647]],["name/199",[0,29.618]],["parent/199",[161,2.647]],["name/200",[73,43.706]],["parent/200",[161,2.647]],["name/201",[162,56.699]],["parent/201",[161,2.647]],["name/202",[163,56.699]],["parent/202",[161,2.647]],["name/203",[164,56.699]],["parent/203",[161,2.647]],["name/204",[165,56.699]],["parent/204",[161,2.647]],["name/205",[166,56.699]],["parent/205",[161,2.647]],["name/206",[167,56.699]],["parent/206",[161,2.647]],["name/207",[168,56.699]],["parent/207",[161,2.647]],["name/208",[169,56.699]],["parent/208",[161,2.647]],["name/209",[170,56.699]],["parent/209",[161,2.647]],["name/210",[171,56.699]],["parent/210",[161,2.647]],["name/211",[172,51.591]],["parent/211",[161,2.647]],["name/212",[71,48.226]],["parent/212",[161,2.647]],["name/213",[173,56.699]],["parent/213",[161,2.647]],["name/214",[137,45.713]],["parent/214",[161,2.647]],["name/215",[101,51.591]],["parent/215",[161,2.647]],["name/216",[95,45.713]],["parent/216",[161,2.647]],["name/217",[96,48.226]],["parent/217",[161,2.647]],["name/218",[97,48.226]],["parent/218",[161,2.647]],["name/219",[174,56.699]],["parent/219",[161,2.647]],["name/220",[175,56.699]],["parent/220",[161,2.647]],["name/221",[102,43.706]],["parent/221",[161,2.647]],["name/222",[176,56.699]],["parent/222",[161,2.647]],["name/223",[68,42.035]],["parent/223",[161,2.647]],["name/224",[64,45.713]],["parent/224",[161,2.647]],["name/225",[122,48.226]],["parent/225",[161,2.647]],["name/226",[177,56.699]],["parent/226",[161,2.647]],["name/227",[61,39.353]],["parent/227",[159,4.743]],["name/228",[12,33.345]],["parent/228",[178,4.299]],["name/229",[130,43.706]],["parent/229",[178,4.299]],["name/230",[132,43.706]],["parent/230",[178,4.299]],["name/231",[0,29.618]],["parent/231",[178,4.299]],["name/232",[21,32.131]],["parent/232",[178,4.299]],["name/233",[179,48.226]],["parent/233",[]],["name/234",[89,45.713]],["parent/234",[179,4.743]],["name/235",[12,33.345]],["parent/235",[180,2.242]],["name/236",[0,29.618]],["parent/236",[180,2.242]],["name/237",[73,43.706]],["parent/237",[180,2.242]],["name/238",[88,51.591]],["parent/238",[180,2.242]],["name/239",[81,51.591]],["parent/239",[180,2.242]],["name/240",[83,51.591]],["parent/240",[180,2.242]],["name/241",[181,56.699]],["parent/241",[180,2.242]],["name/242",[182,56.699]],["parent/242",[180,2.242]],["name/243",[183,56.699]],["parent/243",[180,2.242]],["name/244",[141,51.591]],["parent/244",[180,2.242]],["name/245",[79,51.591]],["parent/245",[180,2.242]],["name/246",[82,51.591]],["parent/246",[180,2.242]],["name/247",[184,56.699]],["parent/247",[180,2.242]],["name/248",[87,51.591]],["parent/248",[180,2.242]],["name/249",[185,51.591]],["parent/249",[180,2.242]],["name/250",[25,45.713]],["parent/250",[180,2.242]],["name/251",[95,45.713]],["parent/251",[180,2.242]],["name/252",[96,48.226]],["parent/252",[180,2.242]],["name/253",[97,48.226]],["parent/253",[180,2.242]],["name/254",[186,56.699]],["parent/254",[180,2.242]],["name/255",[146,51.591]],["parent/255",[180,2.242]],["name/256",[98,51.591]],["parent/256",[180,2.242]],["name/257",[99,51.591]],["parent/257",[180,2.242]],["name/258",[102,43.706]],["parent/258",[180,2.242]],["name/259",[187,56.699]],["parent/259",[180,2.242]],["name/260",[68,42.035]],["parent/260",[180,2.242]],["name/261",[64,45.713]],["parent/261",[180,2.242]],["name/262",[122,48.226]],["parent/262",[180,2.242]],["name/263",[188,56.699]],["parent/263",[180,2.242]],["name/264",[189,56.699]],["parent/264",[180,2.242]],["name/265",[190,56.699]],["parent/265",[180,2.242]],["name/266",[191,56.699]],["parent/266",[180,2.242]],["name/267",[123,51.591]],["parent/267",[180,2.242]],["name/268",[192,56.699]],["parent/268",[180,2.242]],["name/269",[193,56.699]],["parent/269",[180,2.242]],["name/270",[194,56.699]],["parent/270",[180,2.242]],["name/271",[195,56.699]],["parent/271",[180,2.242]],["name/272",[196,56.699]],["parent/272",[180,2.242]],["name/273",[107,51.591]],["parent/273",[180,2.242]],["name/274",[126,51.591]],["parent/274",[180,2.242]],["name/275",[197,56.699]],["parent/275",[180,2.242]],["name/276",[137,45.713]],["parent/276",[180,2.242]],["name/277",[127,43.706]],["parent/277",[180,2.242]],["name/278",[128,51.591]],["parent/278",[180,2.242]],["name/279",[61,39.353]],["parent/279",[179,4.743]],["name/280",[12,33.345]],["parent/280",[198,3.994]],["name/281",[130,43.706]],["parent/281",[198,3.994]],["name/282",[63,45.713]],["parent/282",[198,3.994]],["name/283",[132,43.706]],["parent/283",[198,3.994]],["name/284",[199,56.699]],["parent/284",[198,3.994]],["name/285",[0,29.618]],["parent/285",[198,3.994]],["name/286",[21,32.131]],["parent/286",[198,3.994]],["name/287",[200,48.226]],["parent/287",[]],["name/288",[17,45.713]],["parent/288",[200,4.743]],["name/289",[12,33.345]],["parent/289",[201,2.829]],["name/290",[0,29.618]],["parent/290",[201,2.829]],["name/291",[73,43.706]],["parent/291",[201,2.829]],["name/292",[202,56.699]],["parent/292",[201,2.829]],["name/293",[140,51.591]],["parent/293",[201,2.829]],["name/294",[203,56.699]],["parent/294",[201,2.829]],["name/295",[204,56.699]],["parent/295",[201,2.829]],["name/296",[205,56.699]],["parent/296",[201,2.829]],["name/297",[206,56.699]],["parent/297",[201,2.829]],["name/298",[207,56.699]],["parent/298",[201,2.829]],["name/299",[185,51.591]],["parent/299",[201,2.829]],["name/300",[208,56.699]],["parent/300",[201,2.829]],["name/301",[95,45.713]],["parent/301",[201,2.829]],["name/302",[102,43.706]],["parent/302",[201,2.829]],["name/303",[209,56.699]],["parent/303",[201,2.829]],["name/304",[210,56.699]],["parent/304",[201,2.829]],["name/305",[211,56.699]],["parent/305",[201,2.829]],["name/306",[212,56.699]],["parent/306",[201,2.829]],["name/307",[213,56.699]],["parent/307",[201,2.829]],["name/308",[214,56.699]],["parent/308",[201,2.829]],["name/309",[215,56.699]],["parent/309",[201,2.829]],["name/310",[216,56.699]],["parent/310",[201,2.829]],["name/311",[149,51.591]],["parent/311",[201,2.829]],["name/312",[127,43.706]],["parent/312",[201,2.829]],["name/313",[61,39.353]],["parent/313",[200,4.743]],["name/314",[12,33.345]],["parent/314",[217,3.871]],["name/315",[130,43.706]],["parent/315",[217,3.871]],["name/316",[63,45.713]],["parent/316",[217,3.871]],["name/317",[132,43.706]],["parent/317",[217,3.871]],["name/318",[68,42.035]],["parent/318",[217,3.871]],["name/319",[218,56.699]],["parent/319",[217,3.871]],["name/320",[0,29.618]],["parent/320",[217,3.871]],["name/321",[21,32.131]],["parent/321",[217,3.871]],["name/322",[219,48.226]],["parent/322",[]],["name/323",[220,56.699]],["parent/323",[219,4.743]],["name/324",[221,51.591]],["parent/324",[219,4.743]],["name/325",[222,38.241]],["parent/325",[]],["name/326",[223,51.591]],["parent/326",[222,3.761]],["name/327",[21,32.131]],["parent/327",[224,5.577]],["name/328",[225,56.699]],["parent/328",[226,4.496]],["name/329",[227,56.699]],["parent/329",[226,4.496]],["name/330",[110,48.226]],["parent/330",[226,4.496]],["name/331",[66,51.591]],["parent/331",[226,4.496]],["name/332",[127,43.706]],["parent/332",[222,3.761]],["name/333",[21,32.131]],["parent/333",[228,5.577]],["name/334",[229,56.699]],["parent/334",[230,2.681]],["name/335",[231,56.699]],["parent/335",[230,2.681]],["name/336",[232,56.699]],["parent/336",[230,2.681]],["name/337",[233,56.699]],["parent/337",[230,2.681]],["name/338",[234,56.699]],["parent/338",[230,2.681]],["name/339",[235,56.699]],["parent/339",[230,2.681]],["name/340",[236,56.699]],["parent/340",[230,2.681]],["name/341",[237,56.699]],["parent/341",[230,2.681]],["name/342",[238,56.699]],["parent/342",[230,2.681]],["name/343",[239,56.699]],["parent/343",[230,2.681]],["name/344",[240,56.699]],["parent/344",[230,2.681]],["name/345",[241,56.699]],["parent/345",[230,2.681]],["name/346",[242,56.699]],["parent/346",[230,2.681]],["name/347",[243,56.699]],["parent/347",[230,2.681]],["name/348",[110,48.226]],["parent/348",[230,2.681]],["name/349",[244,56.699]],["parent/349",[230,2.681]],["name/350",[245,56.699]],["parent/350",[230,2.681]],["name/351",[246,56.699]],["parent/351",[230,2.681]],["name/352",[247,56.699]],["parent/352",[230,2.681]],["name/353",[248,56.699]],["parent/353",[230,2.681]],["name/354",[172,51.591]],["parent/354",[230,2.681]],["name/355",[30,45.713]],["parent/355",[230,2.681]],["name/356",[249,56.699]],["parent/356",[230,2.681]],["name/357",[250,56.699]],["parent/357",[230,2.681]],["name/358",[251,56.699]],["parent/358",[230,2.681]],["name/359",[252,56.699]],["parent/359",[230,2.681]],["name/360",[253,56.699]],["parent/360",[230,2.681]],["name/361",[254,56.699]],["parent/361",[230,2.681]],["name/362",[255,51.591]],["parent/362",[222,3.761]],["name/363",[256,51.591]],["parent/363",[222,3.761]],["name/364",[257,51.591]],["parent/364",[222,3.761]],["name/365",[258,51.591]],["parent/365",[222,3.761]],["name/366",[259,51.591]],["parent/366",[222,3.761]],["name/367",[260,51.591]],["parent/367",[222,3.761]],["name/368",[261,48.226]],["parent/368",[]],["name/369",[262,56.699]],["parent/369",[261,4.743]],["name/370",[263,56.699]],["parent/370",[264,5.577]],["name/371",[61,39.353]],["parent/371",[261,4.743]],["name/372",[12,33.345]],["parent/372",[265,3.761]],["name/373",[0,29.618]],["parent/373",[265,3.761]],["name/374",[25,45.713]],["parent/374",[265,3.761]],["name/375",[266,56.699]],["parent/375",[265,3.761]],["name/376",[267,56.699]],["parent/376",[265,3.761]],["name/377",[268,56.699]],["parent/377",[265,3.761]],["name/378",[269,56.699]],["parent/378",[265,3.761]],["name/379",[270,56.699]],["parent/379",[265,3.761]],["name/380",[271,56.699]],["parent/380",[265,3.761]],["name/381",[272,45.713]],["parent/381",[]],["name/382",[273,51.591]],["parent/382",[272,4.496]],["name/383",[274,51.591]],["parent/383",[272,4.496]],["name/384",[275,51.591]],["parent/384",[272,4.496]],["name/385",[276,51.591]],["parent/385",[]],["name/386",[277,56.699]],["parent/386",[276,5.074]],["name/387",[12,33.345]],["parent/387",[278,3.663]],["name/388",[0,29.618]],["parent/388",[278,3.663]],["name/389",[279,56.699]],["parent/389",[278,3.663]],["name/390",[7,45.713]],["parent/390",[278,3.663]],["name/391",[280,56.699]],["parent/391",[278,3.663]],["name/392",[281,56.699]],["parent/392",[278,3.663]],["name/393",[282,56.699]],["parent/393",[278,3.663]],["name/394",[283,56.699]],["parent/394",[278,3.663]],["name/395",[284,56.699]],["parent/395",[278,3.663]],["name/396",[30,45.713]],["parent/396",[278,3.663]],["name/397",[285,45.713]],["parent/397",[]],["name/398",[286,51.591]],["parent/398",[285,4.496]],["name/399",[287,51.591]],["parent/399",[285,4.496]],["name/400",[21,32.131]],["parent/400",[288,5.577]],["name/401",[289,56.699]],["parent/401",[290,4.299]],["name/402",[24,51.591]],["parent/402",[290,4.299]],["name/403",[26,51.591]],["parent/403",[290,4.299]],["name/404",[25,45.713]],["parent/404",[290,4.299]],["name/405",[27,51.591]],["parent/405",[290,4.299]],["name/406",[291,51.591]],["parent/406",[285,4.496]],["name/407",[71,48.226]],["parent/407",[59,2.681]],["name/408",[137,45.713]],["parent/408",[59,2.681]],["name/409",[160,51.591]],["parent/409",[59,2.681]],["name/410",[89,45.713]],["parent/410",[59,2.681]],["name/411",[17,45.713]],["parent/411",[59,2.681]],["name/412",[223,51.591]],["parent/412",[59,2.681]],["name/413",[127,43.706]],["parent/413",[59,2.681]],["name/414",[257,51.591]],["parent/414",[59,2.681]],["name/415",[259,51.591]],["parent/415",[59,2.681]],["name/416",[258,51.591]],["parent/416",[59,2.681]],["name/417",[260,51.591]],["parent/417",[59,2.681]],["name/418",[256,51.591]],["parent/418",[59,2.681]],["name/419",[255,51.591]],["parent/419",[59,2.681]],["name/420",[221,51.591]],["parent/420",[59,2.681]],["name/421",[275,51.591]],["parent/421",[59,2.681]],["name/422",[273,51.591]],["parent/422",[59,2.681]],["name/423",[274,51.591]],["parent/423",[59,2.681]],["name/424",[287,51.591]],["parent/424",[59,2.681]],["name/425",[291,51.591]],["parent/425",[59,2.681]],["name/426",[286,51.591]],["parent/426",[59,2.681]],["name/427",[1,51.591]],["parent/427",[59,2.681]],["name/428",[0,29.618]],["parent/428",[59,2.681]],["name/429",[49,51.591]],["parent/429",[59,2.681]],["name/430",[50,51.591]],["parent/430",[59,2.681]],["name/431",[51,51.591]],["parent/431",[59,2.681]],["name/432",[53,51.591]],["parent/432",[59,2.681]],["name/433",[54,51.591]],["parent/433",[59,2.681]]],"invertedIndex":[["__type",{"_index":21,"name":{"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"63":{},"155":{},"160":{},"166":{},"195":{},"232":{},"286":{},"321":{},"327":{},"333":{},"400":{}},"parent":{}}],["_id",{"_index":73,"name":{"89":{},"165":{},"200":{},"237":{},"291":{}},"parent":{}}],["access",{"_index":225,"name":{"328":{}},"parent":{}}],["ack",{"_index":122,"name":{"140":{},"225":{},"262":{}},"parent":{}}],["acklimit",{"_index":121,"name":{"139":{}},"parent":{}}],["ackratelimiter",{"_index":11,"name":{"10":{},"70":{}},"parent":{}}],["acktimeout",{"_index":120,"name":{"138":{}},"parent":{}}],["active",{"_index":75,"name":{"91":{}},"parent":{}}],["addfriend",{"_index":210,"name":{"304":{}},"parent":{}}],["addmember",{"_index":108,"name":{"126":{}},"parent":{}}],["api",{"_index":15,"name":{"15":{}},"parent":{}}],["apiurl",{"_index":2,"name":{"2":{},"34":{},"64":{}},"parent":{}}],["append",{"_index":176,"name":{"222":{}},"parent":{}}],["assignroles",{"_index":237,"name":{"341":{}},"parent":{}}],["assystemmessage",{"_index":175,"name":{"220":{}},"parent":{}}],["attachments",{"_index":167,"name":{"206":{}},"parent":{}}],["author",{"_index":173,"name":{"213":{}},"parent":{}}],["author_id",{"_index":164,"name":{"203":{}},"parent":{}}],["autoreconnect",{"_index":8,"name":{"7":{},"36":{},"65":{}},"parent":{}}],["avatar",{"_index":140,"name":{"168":{},"293":{}},"parent":{}}],["badges",{"_index":203,"name":{"294":{}},"parent":{}}],["banmembers",{"_index":235,"name":{"339":{}},"parent":{}}],["bannable",{"_index":144,"name":{"174":{}},"parent":{}}],["banner",{"_index":184,"name":{"247":{}},"parent":{}}],["banuser",{"_index":188,"name":{"263":{}},"parent":{}}],["bitwiseandeq",{"_index":220,"name":{"323":{}},"parent":{}}],["blockuser",{"_index":212,"name":{"306":{}},"parent":{}}],["bot",{"_index":208,"name":{"300":{}},"parent":{}}],["bots",{"_index":29,"name":{"32":{}},"parent":{}}],["cache",{"_index":5,"name":{"4":{},"68":{}},"parent":{}}],["calculatepermission",{"_index":221,"name":{"324":{},"420":{}},"parent":{}}],["categories",{"_index":182,"name":{"242":{}},"parent":{}}],["changeavatar",{"_index":240,"name":{"344":{}},"parent":{}}],["changenickname",{"_index":238,"name":{"342":{}},"parent":{}}],["changeusername",{"_index":218,"name":{"319":{}},"parent":{}}],["channel",{"_index":71,"name":{"86":{},"212":{},"407":{}},"parent":{}}],["channel_id",{"_index":163,"name":{"202":{}},"parent":{}}],["channel_ids",{"_index":181,"name":{"241":{}},"parent":{}}],["channel_type",{"_index":74,"name":{"90":{}},"parent":{}}],["channels",{"_index":25,"name":{"28":{},"250":{},"374":{},"404":{}},"parent":{}}],["client",{"_index":0,"name":{"0":{},"11":{},"77":{},"88":{},"154":{},"159":{},"164":{},"194":{},"199":{},"231":{},"236":{},"285":{},"290":{},"320":{},"373":{},"388":{},"428":{}},"parent":{"1":{},"11":{},"57":{},"58":{},"59":{}}}],["client.client",{"_index":13,"name":{},"parent":{"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"27":{},"28":{},"29":{},"30":{},"31":{},"32":{},"33":{},"34":{},"35":{},"36":{},"37":{},"38":{},"39":{},"40":{},"41":{},"42":{},"43":{},"44":{},"45":{},"46":{},"47":{},"48":{},"49":{},"50":{},"51":{},"52":{},"53":{},"54":{},"55":{},"56":{}}}],["client.client.__type",{"_index":22,"name":{},"parent":{"22":{}}}],["client.client.__type.__type",{"_index":23,"name":{},"parent":{"23":{},"24":{},"25":{},"26":{}}}],["client.clientoptions",{"_index":3,"name":{},"parent":{"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{}}}],["clientboundnotification",{"_index":291,"name":{"406":{},"425":{}},"parent":{}}],["clientoptions",{"_index":1,"name":{"1":{},"427":{}},"parent":{}}],["completeonboarding",{"_index":36,"name":{"44":{}},"parent":{}}],["config",{"_index":52,"name":{"60":{}},"parent":{"61":{},"62":{}}}],["config.defaultconfig",{"_index":55,"name":{},"parent":{"63":{}}}],["config.defaultconfig.__type",{"_index":56,"name":{},"parent":{"64":{},"65":{},"66":{},"67":{},"68":{},"69":{},"70":{}}}],["configuration",{"_index":20,"name":{"20":{}},"parent":{}}],["connect",{"_index":30,"name":{"37":{},"43":{},"355":{},"396":{}},"parent":{}}],["connected",{"_index":280,"name":{"391":{}},"parent":{}}],["constructor",{"_index":12,"name":{"12":{},"76":{},"87":{},"148":{},"158":{},"163":{},"187":{},"198":{},"228":{},"235":{},"280":{},"289":{},"314":{},"372":{},"387":{}},"parent":{}}],["content",{"_index":165,"name":{"204":{}},"parent":{}}],["create",{"_index":69,"name":{"84":{}},"parent":{}}],["createchannel",{"_index":187,"name":{"259":{}},"parent":{}}],["createdat",{"_index":95,"name":{"111":{},"216":{},"251":{},"301":{}},"parent":{}}],["creategroup",{"_index":133,"name":{"153":{}},"parent":{}}],["createinvite",{"_index":118,"name":{"136":{}},"parent":{}}],["createobj",{"_index":132,"name":{"152":{},"193":{},"230":{},"283":{},"317":{}},"parent":{}}],["createrole",{"_index":192,"name":{"268":{}},"parent":{}}],["createserver",{"_index":199,"name":{"284":{}},"parent":{}}],["deafenmembers",{"_index":252,"name":{"359":{}},"parent":{}}],["debug",{"_index":4,"name":{"3":{},"35":{},"67":{}},"parent":{}}],["default",{"_index":61,"name":{"75":{},"147":{},"157":{},"185":{},"227":{},"279":{},"313":{},"371":{}},"parent":{}}],["default_permission",{"_index":257,"name":{"364":{},"414":{}},"parent":{}}],["default_permission_direct_message",{"_index":259,"name":{"366":{},"415":{}},"parent":{}}],["default_permission_saved_messages",{"_index":258,"name":{"365":{},"416":{}},"parent":{}}],["default_permission_server",{"_index":260,"name":{"367":{},"417":{}},"parent":{}}],["default_permission_view_only",{"_index":256,"name":{"363":{},"418":{}},"parent":{}}],["default_permissions",{"_index":79,"name":{"95":{},"245":{}},"parent":{}}],["defaultavatarurl",{"_index":216,"name":{"310":{}},"parent":{}}],["defaultconfig",{"_index":54,"name":{"62":{},"433":{}},"parent":{}}],["delete",{"_index":64,"name":{"79":{},"125":{},"224":{},"261":{}},"parent":{}}],["deleteinvite",{"_index":39,"name":{"47":{}},"parent":{}}],["deletekey",{"_index":158,"name":{"191":{}},"parent":{}}],["deletemessages",{"_index":117,"name":{"135":{}},"parent":{}}],["deleterole",{"_index":194,"name":{"270":{}},"parent":{}}],["description",{"_index":83,"name":{"99":{},"240":{}},"parent":{}}],["disconnect",{"_index":283,"name":{"394":{}},"parent":{}}],["edit",{"_index":68,"name":{"83":{},"124":{},"176":{},"223":{},"260":{},"318":{}},"parent":{}}],["edited",{"_index":168,"name":{"207":{}},"parent":{}}],["editrole",{"_index":193,"name":{"269":{}},"parent":{}}],["embeds",{"_index":169,"name":{"208":{}},"parent":{}}],["exists",{"_index":131,"name":{"150":{}},"parent":{}}],["fetch",{"_index":63,"name":{"78":{},"151":{},"282":{},"316":{}},"parent":{}}],["fetchbans",{"_index":191,"name":{"266":{}},"parent":{}}],["fetchconfiguration",{"_index":31,"name":{"38":{}},"parent":{}}],["fetchinvite",{"_index":37,"name":{"45":{}},"parent":{}}],["fetchinvites",{"_index":190,"name":{"265":{}},"parent":{}}],["fetchmember",{"_index":195,"name":{"271":{}},"parent":{}}],["fetchmembers",{"_index":107,"name":{"123":{},"273":{}},"parent":{}}],["fetchmessage",{"_index":111,"name":{"129":{}},"parent":{}}],["fetchmessages",{"_index":112,"name":{"130":{}},"parent":{}}],["fetchmessageswithusers",{"_index":113,"name":{"131":{}},"parent":{}}],["fetchmutual",{"_index":215,"name":{"309":{}},"parent":{}}],["fetchowned",{"_index":67,"name":{"82":{}},"parent":{}}],["fetchprofile",{"_index":214,"name":{"308":{}},"parent":{}}],["fetchpublic",{"_index":65,"name":{"80":{}},"parent":{}}],["fetchstale",{"_index":116,"name":{"134":{}},"parent":{}}],["fileargs",{"_index":51,"name":{"59":{},"431":{}},"parent":{}}],["flags",{"_index":185,"name":{"249":{},"299":{}},"parent":{}}],["generateavatarurl",{"_index":149,"name":{"181":{},"311":{}},"parent":{}}],["generatebannerurl",{"_index":197,"name":{"275":{}},"parent":{}}],["generatefileurl",{"_index":48,"name":{"56":{}},"parent":{}}],["generateiconurl",{"_index":126,"name":{"144":{},"274":{}},"parent":{}}],["generatemasqavatarurl",{"_index":174,"name":{"219":{}},"parent":{}}],["get",{"_index":130,"name":{"149":{},"192":{},"229":{},"281":{},"315":{}},"parent":{}}],["getkey",{"_index":156,"name":{"189":{}},"parent":{}}],["getmentions",{"_index":99,"name":{"115":{},"257":{}},"parent":{}}],["getpermissions",{"_index":150,"name":{"182":{}},"parent":{}}],["getunread",{"_index":267,"name":{"376":{}},"parent":{}}],["globals",{"_index":57,"name":{"71":{}},"parent":{"72":{}}}],["grantallsafe",{"_index":254,"name":{"361":{}},"parent":{}}],["haskey",{"_index":155,"name":{"188":{}},"parent":{}}],["haspermission",{"_index":151,"name":{"183":{}},"parent":{}}],["havepermission",{"_index":128,"name":{"146":{},"278":{}},"parent":{}}],["heartbeat",{"_index":7,"name":{"6":{},"14":{},"66":{},"390":{}},"parent":{}}],["hoistedrole",{"_index":147,"name":{"179":{}},"parent":{}}],["icon",{"_index":82,"name":{"98":{},"246":{}},"parent":{}}],["index",{"_index":59,"name":{"73":{}},"parent":{"407":{},"408":{},"409":{},"410":{},"411":{},"412":{},"413":{},"414":{},"415":{},"416":{},"417":{},"418":{},"419":{},"420":{},"421":{},"422":{},"423":{},"424":{},"425":{},"426":{},"427":{},"428":{},"429":{},"430":{},"431":{},"432":{},"433":{}}}],["inferior",{"_index":142,"name":{"172":{}},"parent":{}}],["inferiorto",{"_index":152,"name":{"184":{}},"parent":{}}],["inotificationchecker",{"_index":262,"name":{"369":{}},"parent":{}}],["invite",{"_index":66,"name":{"81":{},"331":{}},"parent":{}}],["inviteothers",{"_index":246,"name":{"351":{}},"parent":{}}],["ismuted",{"_index":263,"name":{"370":{}},"parent":{}}],["isunread",{"_index":98,"name":{"114":{},"256":{}},"parent":{}}],["joincall",{"_index":119,"name":{"137":{}},"parent":{}}],["joininvite",{"_index":38,"name":{"46":{}},"parent":{}}],["kick",{"_index":145,"name":{"177":{}},"parent":{}}],["kickable",{"_index":143,"name":{"173":{}},"parent":{}}],["kickmembers",{"_index":234,"name":{"338":{}},"parent":{}}],["last_message",{"_index":91,"name":{"107":{}},"parent":{}}],["last_message_id",{"_index":85,"name":{"101":{}},"parent":{}}],["last_message_id_or_past",{"_index":92,"name":{"108":{}},"parent":{}}],["library_version",{"_index":53,"name":{"61":{},"432":{}},"parent":{}}],["login",{"_index":33,"name":{"40":{}},"parent":{}}],["loginbot",{"_index":35,"name":{"42":{}},"parent":{}}],["logout",{"_index":43,"name":{"51":{}},"parent":{}}],["managechannel",{"_index":229,"name":{"334":{}},"parent":{}}],["managemessages",{"_index":244,"name":{"349":{}},"parent":{}}],["managenicknames",{"_index":239,"name":{"343":{}},"parent":{}}],["managepermissions",{"_index":232,"name":{"336":{}},"parent":{}}],["managerole",{"_index":233,"name":{"337":{}},"parent":{}}],["manageserver",{"_index":231,"name":{"335":{}},"parent":{}}],["managewebhooks",{"_index":245,"name":{"350":{}},"parent":{}}],["maps/bots",{"_index":60,"name":{"74":{}},"parent":{"75":{}}}],["maps/bots.default",{"_index":62,"name":{},"parent":{"76":{},"77":{},"78":{},"79":{},"80":{},"81":{},"82":{},"83":{},"84":{}}}],["maps/channels",{"_index":70,"name":{"85":{}},"parent":{"86":{},"147":{}}}],["maps/channels.channel",{"_index":72,"name":{},"parent":{"87":{},"88":{},"89":{},"90":{},"91":{},"92":{},"93":{},"94":{},"95":{},"96":{},"97":{},"98":{},"99":{},"100":{},"101":{},"102":{},"103":{},"104":{},"105":{},"106":{},"107":{},"108":{},"109":{},"110":{},"111":{},"112":{},"113":{},"114":{},"115":{},"116":{},"117":{},"118":{},"119":{},"120":{},"121":{},"122":{},"123":{},"124":{},"125":{},"126":{},"127":{},"128":{},"129":{},"130":{},"131":{},"132":{},"133":{},"134":{},"135":{},"136":{},"137":{},"138":{},"139":{},"140":{},"141":{},"142":{},"143":{},"144":{},"145":{},"146":{}}}],["maps/channels.default",{"_index":129,"name":{},"parent":{"148":{},"149":{},"150":{},"151":{},"152":{},"153":{},"154":{},"155":{}}}],["maps/collection",{"_index":134,"name":{"156":{}},"parent":{"157":{}}}],["maps/collection.default",{"_index":135,"name":{},"parent":{"158":{},"159":{},"160":{}}}],["maps/members",{"_index":136,"name":{"161":{}},"parent":{"162":{},"185":{}}}],["maps/members.default",{"_index":154,"name":{},"parent":{"186":{},"187":{},"188":{},"189":{},"190":{},"191":{},"192":{},"193":{},"194":{},"195":{}}}],["maps/members.member",{"_index":138,"name":{},"parent":{"163":{},"164":{},"165":{},"166":{},"167":{},"168":{},"169":{},"170":{},"171":{},"172":{},"173":{},"174":{},"175":{},"176":{},"177":{},"178":{},"179":{},"180":{},"181":{},"182":{},"183":{},"184":{}}}],["maps/messages",{"_index":159,"name":{"196":{}},"parent":{"197":{},"227":{}}}],["maps/messages.default",{"_index":178,"name":{},"parent":{"228":{},"229":{},"230":{},"231":{},"232":{}}}],["maps/messages.message",{"_index":161,"name":{},"parent":{"198":{},"199":{},"200":{},"201":{},"202":{},"203":{},"204":{},"205":{},"206":{},"207":{},"208":{},"209":{},"210":{},"211":{},"212":{},"213":{},"214":{},"215":{},"216":{},"217":{},"218":{},"219":{},"220":{},"221":{},"222":{},"223":{},"224":{},"225":{},"226":{}}}],["maps/servers",{"_index":179,"name":{"233":{}},"parent":{"234":{},"279":{}}}],["maps/servers.default",{"_index":198,"name":{},"parent":{"280":{},"281":{},"282":{},"283":{},"284":{},"285":{},"286":{}}}],["maps/servers.server",{"_index":180,"name":{},"parent":{"235":{},"236":{},"237":{},"238":{},"239":{},"240":{},"241":{},"242":{},"243":{},"244":{},"245":{},"246":{},"247":{},"248":{},"249":{},"250":{},"251":{},"252":{},"253":{},"254":{},"255":{},"256":{},"257":{},"258":{},"259":{},"260":{},"261":{},"262":{},"263":{},"264":{},"265":{},"266":{},"267":{},"268":{},"269":{},"270":{},"271":{},"272":{},"273":{},"274":{},"275":{},"276":{},"277":{},"278":{}}}],["maps/users",{"_index":200,"name":{"287":{}},"parent":{"288":{},"313":{}}}],["maps/users.default",{"_index":217,"name":{},"parent":{"314":{},"315":{},"316":{},"317":{},"318":{},"319":{},"320":{},"321":{}}}],["maps/users.user",{"_index":201,"name":{},"parent":{"289":{},"290":{},"291":{},"292":{},"293":{},"294":{},"295":{},"296":{},"297":{},"298":{},"299":{},"300":{},"301":{},"302":{},"303":{},"304":{},"305":{},"306":{},"307":{},"308":{},"309":{},"310":{},"311":{},"312":{}}}],["markdowntotext",{"_index":46,"name":{"54":{}},"parent":{}}],["markmention",{"_index":269,"name":{"378":{}},"parent":{}}],["markmultipleread",{"_index":271,"name":{"380":{}},"parent":{}}],["markread",{"_index":270,"name":{"379":{}},"parent":{}}],["markunread",{"_index":268,"name":{"377":{}},"parent":{}}],["masquerade",{"_index":172,"name":{"211":{},"354":{}},"parent":{}}],["member",{"_index":137,"name":{"162":{},"214":{},"276":{},"408":{}},"parent":{}}],["members",{"_index":27,"name":{"30":{},"405":{}},"parent":{}}],["mention_ids",{"_index":170,"name":{"209":{}},"parent":{}}],["mentions",{"_index":101,"name":{"117":{},"215":{}},"parent":{}}],["message",{"_index":160,"name":{"197":{},"409":{}},"parent":{}}],["messages",{"_index":28,"name":{"31":{}},"parent":{}}],["movemembers",{"_index":253,"name":{"360":{}},"parent":{}}],["mutemembers",{"_index":251,"name":{"358":{}},"parent":{}}],["name",{"_index":81,"name":{"97":{},"239":{}},"parent":{}}],["nickname",{"_index":139,"name":{"167":{}},"parent":{}}],["nonce",{"_index":162,"name":{"201":{}},"parent":{}}],["nsfw",{"_index":87,"name":{"103":{},"248":{}},"parent":{}}],["nullable",{"_index":275,"name":{"384":{},"421":{}},"parent":{}}],["on",{"_index":14,"name":{"13":{}},"parent":{}}],["online",{"_index":206,"name":{"297":{}},"parent":{}}],["onpongtimeout",{"_index":10,"name":{"9":{}},"parent":{}}],["opendm",{"_index":209,"name":{"303":{}},"parent":{}}],["options",{"_index":18,"name":{"18":{}},"parent":{}}],["orderedchannels",{"_index":186,"name":{"254":{}},"parent":{}}],["orderedroles",{"_index":146,"name":{"178":{},"255":{}},"parent":{}}],["owner",{"_index":88,"name":{"104":{},"238":{}},"parent":{}}],["owner_id",{"_index":76,"name":{"92":{}},"parent":{}}],["path",{"_index":96,"name":{"112":{},"217":{},"252":{}},"parent":{}}],["permission",{"_index":127,"name":{"145":{},"277":{},"312":{},"332":{},"413":{}},"parent":{}}],["permissions",{"_index":78,"name":{"94":{}},"parent":{}}],["permissions/calculator",{"_index":219,"name":{"322":{}},"parent":{"323":{},"324":{}}}],["permissions/definitions",{"_index":222,"name":{"325":{}},"parent":{"326":{},"332":{},"362":{},"363":{},"364":{},"365":{},"366":{},"367":{}}}],["permissions/definitions.permission",{"_index":228,"name":{},"parent":{"333":{}}}],["permissions/definitions.permission.__type",{"_index":230,"name":{},"parent":{"334":{},"335":{},"336":{},"337":{},"338":{},"339":{},"340":{},"341":{},"342":{},"343":{},"344":{},"345":{},"346":{},"347":{},"348":{},"349":{},"350":{},"351":{},"352":{},"353":{},"354":{},"355":{},"356":{},"357":{},"358":{},"359":{},"360":{},"361":{}}}],["permissions/definitions.userpermission",{"_index":224,"name":{},"parent":{"327":{}}}],["permissions/definitions.userpermission.__type",{"_index":226,"name":{},"parent":{"328":{},"329":{},"330":{},"331":{}}}],["ping",{"_index":282,"name":{"393":{}},"parent":{}}],["pongtimeout",{"_index":9,"name":{"8":{}},"parent":{}}],["privileged",{"_index":207,"name":{"298":{}},"parent":{}}],["proxyfile",{"_index":47,"name":{"55":{}},"parent":{}}],["ranking",{"_index":148,"name":{"180":{}},"parent":{}}],["re_mentions",{"_index":49,"name":{"57":{},"429":{}},"parent":{}}],["re_spoiler",{"_index":50,"name":{"58":{},"430":{}},"parent":{}}],["readmessagehistory",{"_index":243,"name":{"347":{}},"parent":{}}],["ready",{"_index":281,"name":{"392":{}},"parent":{}}],["readypacket",{"_index":287,"name":{"399":{},"424":{}},"parent":{}}],["recipient",{"_index":90,"name":{"106":{}},"parent":{}}],["recipient_ids",{"_index":84,"name":{"100":{}},"parent":{}}],["recipients",{"_index":93,"name":{"109":{}},"parent":{}}],["register",{"_index":45,"name":{"53":{}},"parent":{}}],["relationship",{"_index":205,"name":{"296":{}},"parent":{}}],["removeavatars",{"_index":241,"name":{"345":{}},"parent":{}}],["removefriend",{"_index":211,"name":{"305":{}},"parent":{}}],["removemember",{"_index":109,"name":{"127":{}},"parent":{}}],["reply",{"_index":177,"name":{"226":{}},"parent":{}}],["reply_ids",{"_index":171,"name":{"210":{}},"parent":{}}],["reset",{"_index":44,"name":{"52":{}},"parent":{}}],["role_permissions",{"_index":80,"name":{"96":{}},"parent":{}}],["roles",{"_index":141,"name":{"169":{},"244":{}},"parent":{}}],["search",{"_index":114,"name":{"132":{}},"parent":{}}],["searchwithusers",{"_index":115,"name":{"133":{}},"parent":{}}],["send",{"_index":284,"name":{"395":{}},"parent":{}}],["sendembeds",{"_index":247,"name":{"352":{}},"parent":{}}],["sendmessage",{"_index":110,"name":{"128":{},"330":{},"348":{}},"parent":{}}],["server",{"_index":89,"name":{"105":{},"171":{},"234":{},"410":{}},"parent":{}}],["server_id",{"_index":77,"name":{"93":{}},"parent":{}}],["serverboundnotification",{"_index":286,"name":{"398":{},"426":{}},"parent":{}}],["servers",{"_index":26,"name":{"29":{},"403":{}},"parent":{}}],["session",{"_index":16,"name":{"16":{}},"parent":{}}],["setkey",{"_index":157,"name":{"190":{}},"parent":{}}],["setpermissions",{"_index":123,"name":{"141":{},"267":{}},"parent":{}}],["speak",{"_index":249,"name":{"356":{}},"parent":{}}],["starttyping",{"_index":124,"name":{"142":{}},"parent":{}}],["status",{"_index":204,"name":{"295":{}},"parent":{}}],["stoptyping",{"_index":125,"name":{"143":{}},"parent":{}}],["sync",{"_index":266,"name":{"375":{}},"parent":{}}],["syncfetchsettings",{"_index":40,"name":{"48":{}},"parent":{}}],["syncfetchunreads",{"_index":42,"name":{"50":{}},"parent":{}}],["syncmembers",{"_index":196,"name":{"272":{}},"parent":{}}],["syncsetsettings",{"_index":41,"name":{"49":{}},"parent":{}}],["system",{"_index":166,"name":{"205":{}},"parent":{}}],["system_messages",{"_index":183,"name":{"243":{}},"parent":{}}],["tail",{"_index":58,"name":{"72":{}},"parent":{}}],["timeoutmembers",{"_index":236,"name":{"340":{}},"parent":{}}],["tokey",{"_index":153,"name":{"186":{}},"parent":{}}],["tonullable",{"_index":273,"name":{"382":{},"422":{}},"parent":{}}],["tonullabledate",{"_index":274,"name":{"383":{},"423":{}},"parent":{}}],["type",{"_index":289,"name":{"401":{}},"parent":{}}],["typing",{"_index":94,"name":{"110":{}},"parent":{}}],["typing_ids",{"_index":86,"name":{"102":{}},"parent":{}}],["u32_max",{"_index":255,"name":{"362":{},"419":{}},"parent":{}}],["unbanuser",{"_index":189,"name":{"264":{}},"parent":{}}],["unblockuser",{"_index":213,"name":{"307":{}},"parent":{}}],["unread",{"_index":100,"name":{"116":{}},"parent":{}}],["unreads",{"_index":6,"name":{"5":{},"33":{},"69":{}},"parent":{}}],["update",{"_index":102,"name":{"118":{},"175":{},"221":{},"258":{},"302":{}},"parent":{}}],["updategroupjoin",{"_index":103,"name":{"119":{}},"parent":{}}],["updategroupleave",{"_index":104,"name":{"120":{}},"parent":{}}],["updateheaders",{"_index":32,"name":{"39":{}},"parent":{}}],["updatestarttyping",{"_index":105,"name":{"121":{}},"parent":{}}],["updatestoptyping",{"_index":106,"name":{"122":{}},"parent":{}}],["uploadfiles",{"_index":248,"name":{"353":{}},"parent":{}}],["url",{"_index":97,"name":{"113":{},"218":{},"253":{}},"parent":{}}],["useexistingsession",{"_index":34,"name":{"41":{}},"parent":{}}],["user",{"_index":17,"name":{"17":{},"170":{},"288":{},"411":{}},"parent":{}}],["username",{"_index":202,"name":{"292":{}},"parent":{}}],["userpermission",{"_index":223,"name":{"326":{},"412":{}},"parent":{}}],["users",{"_index":24,"name":{"27":{},"402":{}},"parent":{}}],["util/null",{"_index":272,"name":{"381":{}},"parent":{"382":{},"383":{},"384":{}}}],["util/unreads",{"_index":261,"name":{"368":{}},"parent":{"369":{},"371":{}}}],["util/unreads.default",{"_index":265,"name":{},"parent":{"372":{},"373":{},"374":{},"375":{},"376":{},"377":{},"378":{},"379":{},"380":{}}}],["util/unreads.inotificationchecker",{"_index":264,"name":{},"parent":{"370":{}}}],["video",{"_index":250,"name":{"357":{}},"parent":{}}],["viewchannel",{"_index":242,"name":{"346":{}},"parent":{}}],["viewprofile",{"_index":227,"name":{"329":{}},"parent":{}}],["websocket",{"_index":19,"name":{"19":{}},"parent":{}}],["websocket/client",{"_index":276,"name":{"385":{}},"parent":{"386":{}}}],["websocket/client.websocketclient",{"_index":278,"name":{},"parent":{"387":{},"388":{},"389":{},"390":{},"391":{},"392":{},"393":{},"394":{},"395":{},"396":{}}}],["websocket/notifications",{"_index":285,"name":{"397":{}},"parent":{"398":{},"399":{},"406":{}}}],["websocket/notifications.readypacket",{"_index":288,"name":{},"parent":{"400":{}}}],["websocket/notifications.readypacket.__type",{"_index":290,"name":{},"parent":{"401":{},"402":{},"403":{},"404":{},"405":{}}}],["websocketclient",{"_index":277,"name":{"386":{}},"parent":{}}],["ws",{"_index":279,"name":{"389":{}},"parent":{}}]],"pipeline":[]}} \ No newline at end of file diff --git a/classes/Client.html b/classes/Client.Client-1.html similarity index 87% rename from classes/Client.html rename to classes/Client.Client-1.html index 358054a0..f44f6ea0 100644 --- a/classes/Client.html +++ b/classes/Client.Client-1.html @@ -55,7 +55,10 @@ revolt.js
addListener
-- add
Listener<T>(event: T, fn: (...args: any[]) => void, context?: any): Client
+ - add
Listener<T>(event: T, fn: (...args: any[]) => void, context?: any): Client
-
@@ -712,7 +715,7 @@
-Optional context: any
Returns Client
+Returns Client
@@ -726,7 +729,7 @@generateFileURL
-- generate
FileURL(attachment?: { _id: string; content_type?: string; metadata?: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; tag: string }, ...args: FileArgs): undefined | string
+ - generate
FileURL(attachment?: { _id: string; content_type?: string; metadata?: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; tag: string }, ...args: FileArgs): undefined | string
Rest ...args: FileArgs
+Rest ...args: FileArgs
Returns undefined | string
@@ -991,14 +994,14 @@joinInvite
-- join
Invite(code: string): Promise<Server>
- - join
Invite(invite: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string }): Promise<Server>
+ - join
Invite(code: string): Promise<Server>
+ - join
Invite(invite: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string }): Promise<Server>
-
-Parameters
@@ -1007,12 +1010,12 @@code: string
Returns Promise<Server>
+Returns Promise<Server>
Parameters
@@ -1021,7 +1024,7 @@invite: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string }
Returns Promise<Server>
+Returns Promise<Server>
@@ -1097,7 +1100,7 @@off
-- off<T>(event: T, fn?: (...args: any[]) => void, context?: any, once?: boolean): Client
+ - off<T>(event: T, fn?: (...args: any[]) => void, context?: any, once?: boolean): Client
-
@@ -1314,7 +1317,7 @@
-Optional once: boolean
Returns Client
+Returns Client
@@ -1322,32 +1325,32 @@on
-- on(event: "connected", listener: () => void): Client
- - on(event: "connecting", listener: () => void): Client
- - on(event: "dropped", listener: () => void): Client
- - on(event: "ready", listener: () => void): Client
- - on(event: "logout", listener: () => void): Client
- - on(event: "packet", listener: (packet: ClientboundNotification) => void): Client
- - on(event: "message", listener: (message: Message) => void): Client
- - on(event: "message/update", listener: (message: Message) => void): Client
- - on(event: "message/delete", listener: (id: string, message?: Message) => void): Client
- - on(event: "channel/create", listener: (channel: Channel) => void): Client
- - on(event: "channel/update", listener: (channel: Channel) => void): Client
- - on(event: "channel/delete", listener: (id: string, channel?: Channel) => void): Client
- - on(event: "server/update", listener: (server: Server) => void): Client
- - on(event: "server/delete", listener: (id: string, server?: Server) => void): Client
- - on(event: "role/update", listener: (roleId: string, role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }, serverId: string) => void): Client
- - on(event: "role/delete", listener: (id: string, serverId: string) => void): Client
- - on(event: "member/join", listener: (member: Member) => void): Client
- - on(event: "member/update", listener: (member: Member) => void): Client
- - on(event: "member/leave", listener: (id: { server: string; user: string }) => void): Client
- - on(event: "user/relationship", listener: (user: User) => void): Client
+ - on(event: "connected", listener: () => void): Client
+ - on(event: "connecting", listener: () => void): Client
+ - on(event: "dropped", listener: () => void): Client
+ - on(event: "ready", listener: () => void): Client
+ - on(event: "logout", listener: () => void): Client
+ - on(event: "packet", listener: (packet: ClientboundNotification) => void): Client
+ - on(event: "message", listener: (message: Message) => void): Client
+ - on(event: "message/update", listener: (message: Message) => void): Client
+ - on(event: "message/delete", listener: (id: string, message?: Message) => void): Client
+ - on(event: "channel/create", listener: (channel: Channel) => void): Client
+ - on(event: "channel/update", listener: (channel: Channel) => void): Client
+ - on(event: "channel/delete", listener: (id: string, channel?: Channel) => void): Client
+ - on(event: "server/update", listener: (server: Server) => void): Client
+ - on(event: "server/delete", listener: (id: string, server?: Server) => void): Client
+ - on(event: "role/update", listener: (roleId: string, role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number }, serverId: string) => void): Client
+ - on(event: "role/delete", listener: (id: string, serverId: string) => void): Client
+ - on(event: "member/join", listener: (member: Member) => void): Client
+ - on(event: "member/update", listener: (member: Member) => void): Client
+ - on(event: "member/leave", listener: (id: { server: string; user: string }) => void): Client
+ - on(event: "user/relationship", listener: (user: User) => void): Client
-
-Parameters
@@ -1371,12 +1374,12 @@Returns Client
+Returns Client
Parameters
@@ -1400,12 +1403,12 @@Returns Client
+Returns Client
Parameters
@@ -1429,12 +1432,12 @@Returns Client
+Returns Client
Parameters
@@ -1458,12 +1461,12 @@Returns Client
+Returns Client
Parameters
@@ -1487,12 +1490,12 @@Returns Client
+Returns Client
Parameters
@@ -1501,18 +1504,18 @@event: "packet"
listener: (packet: ClientboundNotification) => void
+listener: (packet: ClientboundNotification) => void
-
-
-
-
--- (packet: ClientboundNotification): void
+ - (packet: ClientboundNotification): void
Parameters
packet: ClientboundNotification
+packet: ClientboundNotification
Returns void
@@ -1522,12 +1525,12 @@Returns Client
+Returns Client
Parameters
@@ -1536,18 +1539,18 @@event: "message"
listener: (message: Message) => void
+listener: (message: Message) => void
-
-
-
-
--- (message: Message): void
+ - (message: Message): void
Parameters
message: Message
+message: Message
Returns void
@@ -1557,12 +1560,12 @@Returns Client
+Returns Client
Parameters
@@ -1571,18 +1574,18 @@event: "message/update"
listener: (message: Message) => void
+listener: (message: Message) => void
-
-
-
-
--- (message: Message): void
+ - (message: Message): void
Parameters
message: Message
+message: Message
Returns void
@@ -1592,12 +1595,12 @@Returns Client
+Returns Client
Parameters
@@ -1606,11 +1609,11 @@event: "message/delete"
listener: (id: string, message?: Message) => void
+listener: (id: string, message?: Message) => void
-- (id: string, message?: Message): void
+ - (id: string, message?: Message): void
id: string
Optional message: Message
+Optional message: Message
Returns void
@@ -1630,12 +1633,12 @@Returns Client
+Returns Client
Parameters
@@ -1644,18 +1647,18 @@event: "channel/create"
listener: (channel: Channel) => void
+listener: (channel: Channel) => void
-
-
-
-
--- (channel: Channel): void
+ - (channel: Channel): void
Parameters
channel: Channel
+channel: Channel
Returns void
@@ -1665,12 +1668,12 @@Returns Client
+Returns Client
Parameters
@@ -1679,18 +1682,18 @@event: "channel/update"
listener: (channel: Channel) => void
+listener: (channel: Channel) => void
-
-
-
-
--- (channel: Channel): void
+ - (channel: Channel): void
Parameters
channel: Channel
+channel: Channel
Returns void
@@ -1700,12 +1703,12 @@Returns Client
+Returns Client
Parameters
@@ -1714,11 +1717,11 @@event: "channel/delete"
listener: (id: string, channel?: Channel) => void
+listener: (id: string, channel?: Channel) => void
-- (id: string, channel?: Channel): void
+ - (id: string, channel?: Channel): void
id: string
Optional channel: Channel
+Optional channel: Channel
Returns void
@@ -1738,12 +1741,12 @@Returns Client
+Returns Client
Parameters
@@ -1752,18 +1755,18 @@event: "server/update"
listener: (server: Server) => void
+listener: (server: Server) => void
-
-
-
-
--- (server: Server): void
+ - (server: Server): void
Parameters
server: Server
+server: Server
Returns void
@@ -1773,12 +1776,12 @@Returns Client
+Returns Client
Parameters
@@ -1787,11 +1790,11 @@event: "server/delete"
listener: (id: string, server?: Server) => void
+listener: (id: string, server?: Server) => void
-- (id: string, server?: Server): void
+ - (id: string, server?: Server): void
id: string
Optional server: Server
+Optional server: Server
Returns void
@@ -1811,12 +1814,12 @@Returns Client
+Returns Client
Parameters
@@ -1936,12 +1939,12 @@Returns Client
+Returns Client
Parameters
@@ -1974,12 +1977,12 @@Returns Client
+Returns Client
Parameters
@@ -1988,18 +1991,18 @@event: "member/join"
listener: (member: Member) => void
+listener: (member: Member) => void
-
-
-
-
--- (member: Member): void
+ - (member: Member): void
Parameters
member: Member
+member: Member
Returns void
@@ -2009,12 +2012,12 @@Returns Client
+Returns Client
Parameters
@@ -2023,18 +2026,18 @@event: "member/update"
listener: (member: Member) => void
+listener: (member: Member) => void
-
-
-
-
--- (member: Member): void
+ - (member: Member): void
Parameters
member: Member
+member: Member
Returns void
@@ -2044,12 +2047,12 @@Returns Client
+Returns Client
Parameters
@@ -2101,12 +2104,12 @@Returns Client
+Returns Client
Parameters
@@ -2115,18 +2118,18 @@event: "user/relationship"
listener: (user: User) => void
+listener: (user: User) => void
-
-
-
-
--- (user: User): void
+ - (user: User): void
Parameters
user: User
+user: User
Returns void
@@ -2136,7 +2139,7 @@Returns Client
+Returns Client
once
-- once<T>(event: T, fn: (...args: any[]) => void, context?: any): Client
+ - once<T>(event: T, fn: (...args: any[]) => void, context?: any): Client
-
@@ -2194,7 +2197,7 @@
-Optional context: any
Returns Client
+Returns Client
@@ -2208,7 +2211,7 @@removeAllListeners
-- remove
AllListeners(event?: string | symbol): Client
+ - remove
AllListeners(event?: string | symbol): Client
-
@@ -2328,7 +2331,7 @@
-Optional event: string | symbol
Returns Client
+Returns Client
@@ -2336,7 +2339,7 @@removeListener
-- remove
Listener<T>(event: T, fn?: (...args: any[]) => void, context?: any, once?: boolean): Client
+ - remove
Listener<T>(event: T, fn?: (...args: any[]) => void, context?: any, once?: boolean): Client
-
@@ -2389,7 +2392,7 @@
-Optional once: boolean
Returns Client
+Returns Client
@@ -2403,7 +2406,7 @@Legend
+- Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
+
++- Class
+ - Class with type parameter
- Constructor
- Property
- Method
-- Private property
- - Private method
+ - Interface
-- Property
+ - Private method
Class API
@@ -90,32 +93,32 @@Constructors
-- constructor
+ - constructor
Properties
-- authentication
- - baseURL
+ - authentication
+ - baseURL
Accessors
-- auth
- - config
+ - auth
+ - config
Methods
-- delete
- - get
- - patch
- - post
- - put
- - req
+ - delete
+ - get
+ - patch
+ - post
+ - put
+ - req
constructor
-- new API(__namedParameters?: Partial<Options>): API
+ - new API(__namedParameters?: Partial<Options>): API
-
@@ -139,10 +142,10 @@
@@ -321,7 +324,7 @@Parameters
-
-
-Optional __namedParameters: Partial<Options>
+Optional __namedParameters: Partial<Options>
Returns API
+Returns API
Type parameters
Path: "/" | "/auth/session/all" | `/users/${string}` | "-/users/{target}" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/invites/${string}` | "-/invites/{target}" | "/auth/account/" | "/onboard/hello" | "/sync/unreads" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/servers/${string}/members` | "-/servers/{target}/members"
+Path: "/auth/session/all" | "/" | `/users/${string}` | "-/users/{target}" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/invites/${string}` | "-/invites/{target}" | "/auth/account/" | "/onboard/hello" | "/sync/unreads" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/servers/${string}/members` | "-/servers/{target}/members"
Route: APIRoutes & { method: "get" } & { parts: Count<Path, "/", []>; path: Path }
@@ -365,7 +368,7 @@Type parameters
Path: "/" | "/auth/session/all" | `/users/${string}` | "-/users/{target}" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/invites/${string}` | "-/invites/{target}" | "/auth/account/" | "/onboard/hello" | "/sync/unreads"
+Path: "/auth/session/all" | "/" | `/users/${string}` | "-/users/{target}" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/invites/${string}` | "-/invites/{target}" | "/auth/account/" | "/onboard/hello" | "/sync/unreads"
Route: APIRoutes & { method: "get" } & { parts: Count<Path, "/", []>; path: Path }
@@ -670,10 +673,10 @@Routes: PickRoutes<Method>
Path: "/" | "/auth/account/create" | "/auth/account/reverify" | "/auth/account/change/password" | "/auth/account/change/email" | "/auth/account/reset_password" | "/onboard/complete" | "/push/subscribe" | "/sync/settings/fetch" | "/sync/settings/set" | `/users/${string}` | "-/users/{target}" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/invites/${string}` | "-/invites/{target}" | "/auth/account/" | "/onboard/hello" | "/sync/unreads" | `/users/${string}/friend` | "-/users/{username}/friend" | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/channels/${string}/search` | "-/channels/{target}/search" | `/channels/${string}/messages/stale` | "-/channels/{_target}/messages/stale" | `/channels/${string}/messages/bulk` | "-/channels/{target}/messages/bulk" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | `/channels/${string}/permissions/${string}` | "-/channels/{target}/permissions/{role_id}" | `/channels/${string}/permissions/default` | "-/channels/{target}/permissions/default" | `/servers/${string}/ack` | "-/servers/{target}/ack" | `/servers/${string}/channels` | "-/servers/{target}/channels" | `/servers/${string}/members` | "-/servers/{target}/members" | "-/servers/{server}/members/{target}" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles` | "-/servers/{target}/roles" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/servers/${string}/permissions/${string}` | "-/servers/{target}/permissions/{role_id}" | `/servers/${string}/permissions/default` | "-/servers/{target}/permissions/default" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | `/auth/session/${string}` | "-/auth/session/{id}" | "/push/unsubscribe"
+Path: "/auth/account/create" | "/auth/account/reverify" | "/auth/account/change/password" | "/auth/account/change/email" | "/auth/account/reset_password" | "/onboard/complete" | "/push/subscribe" | "/sync/settings/fetch" | "/sync/settings/set" | "/" | `/users/${string}` | "-/users/{target}" | `/users/${string}/default_avatar` | "-/users/{target}/default_avatar" | `/users/${string}/profile` | "-/users/{target}/profile" | `/users/${string}/dm` | "-/users/{target}/dm" | `/users/${string}/mutual` | "-/users/{target}/mutual" | `/bots/${string}/invite` | "-/bots/{target}/invite" | `/bots/${string}` | "-/bots/{target}" | `/channels/${string}` | "-/channels/{target}" | `/channels/${string}/members` | "-/channels/{target}/members" | `/channels/${string}/messages/${string}` | "-/channels/{target}/messages/{msg}" | `/servers/${string}` | "-/servers/{target}" | `/servers/${string}/members/${string}` | "-/servers/{target}/members/{member}" | `/servers/${string}/bans` | "-/servers/{target}/bans" | `/servers/${string}/invites` | "-/servers/{target}/invites" | `/invites/${string}` | "-/invites/{target}" | "/auth/account/" | "/onboard/hello" | "/sync/unreads" | `/users/${string}/friend` | "-/users/{username}/friend" | "-/users/{target}/friend" | `/users/${string}/block` | "-/users/{target}/block" | `/channels/${string}/ack/${string}` | "-/channels/{target}/ack/{message}" | `/channels/${string}/invites` | "-/channels/{target}/invites" | `/channels/${string}/messages` | "-/channels/{target}/messages" | `/channels/${string}/search` | "-/channels/{target}/search" | `/channels/${string}/messages/stale` | "-/channels/{_target}/messages/stale" | `/channels/${string}/messages/bulk` | "-/channels/{target}/messages/bulk" | `/channels/${string}/recipients/${string}` | "-/channels/{target}/recipients/{member}" | `/channels/${string}/join_call` | "-/channels/{target}/join_call" | `/channels/${string}/permissions/${string}` | "-/channels/{target}/permissions/{role_id}" | `/channels/${string}/permissions/default` | "-/channels/{target}/permissions/default" | `/servers/${string}/ack` | "-/servers/{target}/ack" | `/servers/${string}/channels` | "-/servers/{target}/channels" | `/servers/${string}/members` | "-/servers/{target}/members" | "-/servers/{server}/members/{target}" | `/servers/${string}/bans/${string}` | "-/servers/{server}/bans/{target}" | `/servers/${string}/roles` | "-/servers/{target}/roles" | `/servers/${string}/roles/${string}` | "-/servers/{target}/roles/{role_id}" | `/servers/${string}/permissions/${string}` | "-/servers/{target}/permissions/{role_id}" | `/servers/${string}/permissions/default` | "-/servers/{target}/permissions/default" | `/auth/account/verify/${string}` | "-/auth/account/verify/{code}" | `/auth/session/${string}` | "-/auth/session/{id}" | "/push/unsubscribe"
Route: { method: "get"; params: undefined; parts: 1; path: "/"; response: { app: string; features: { autumn: { enabled: boolean; url: string }; captcha: { enabled: boolean; key: string }; email: boolean; invite_only: boolean; january: { enabled: boolean; url: string }; voso: { enabled: boolean; url: string; ws: string } }; revolt: string; vapid: string; ws: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/users/@me"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string } }; parts: 2; path: "/users/@me"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/users/${string}`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/users/{target}"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { password: string; username: string }; parts: 3; path: "/users/@me/username"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/default_avatar`; response: string } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/default_avatar"; response: string } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/profile`; response: { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/profile"; response: { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/users/dms"; response: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/dm`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/dm"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/mutual`; response: { servers: string[]; users: string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/mutual"; response: { servers: string[]; users: string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/users/${string}/friend`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/users/{username}/friend"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/users/${string}/friend`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/users/{target}/friend"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/users/${string}/block`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/users/{target}/block"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/users/${string}/block`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/users/{target}/block"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string }; parts: 2; path: "/bots/create"; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/bots/${string}/invite`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/bots/{target}/invite"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { server: string } | { group: string }; parts: 3; path: `/bots/${string}/invite`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { server: string } | { group: string }; parts: 3; path: "-/bots/{target}/invite"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/bots/${string}`; response: { bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/bots/{target}"; response: { bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/bots/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/bots/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }; parts: 2; path: `/bots/${string}`; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }; parts: 2; path: "-/bots/{target}"; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/bots/@me"; response: { bots: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: `/channels/${string}/ack/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: "-/channels/{target}/ack/{message}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/channels/${string}`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/channels/{target}"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/channels/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/channels/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }; parts: 2; path: `/channels/${string}`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }; parts: 2; path: "-/channels/{target}"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/channels/${string}/members`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/channels/{target}/members"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: `/channels/${string}/invites`; response: { _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "-/channels/{target}/invites"; response: { _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }; parts: 3; path: `/channels/${string}/messages`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }; parts: 3; path: "-/channels/{target}/messages"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }; parts: 3; path: `/channels/${string}/messages`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }; parts: 3; path: "-/channels/{target}/messages"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 3; path: `/channels/${string}/search`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 3; path: "-/channels/{target}/search"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { ids: string[] }; parts: 4; path: `/channels/${string}/messages/stale`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { ids: string[] }; parts: 4; path: "-/channels/{_target}/messages/stale"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: `/channels/${string}/messages/${string}`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/channels/${string}/messages/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }; parts: 4; path: `/channels/${string}/messages/${string}`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 4; path: `/channels/${string}/messages/bulk`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 4; path: "-/channels/{target}/messages/bulk"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; users: string[] }; parts: 2; path: "/channels/create"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: `/channels/${string}/recipients/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: "-/channels/{target}/recipients/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/channels/${string}/recipients/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/channels/{target}/recipients/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: `/channels/${string}/join_call`; response: { token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "-/channels/{target}/join_call"; response: { token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: `/channels/${string}/permissions/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: "-/channels/{target}/permissions/{role_id}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: `/channels/${string}/permissions/default`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: "-/channels/{target}/permissions/default"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean }; parts: 2; path: "/servers/create"; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/servers/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/servers/{target}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/servers/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/servers/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; parts: 2; path: `/servers/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; parts: 2; path: "-/servers/{target}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/servers/${string}/ack`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/servers/{target}/ack"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }; parts: 3; path: `/servers/${string}/channels`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }; parts: 3; path: "-/servers/{target}/channels"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { exclude_offline?: null | boolean }; parts: 3; path: `/servers/${string}/members`; response: { members: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { exclude_offline?: null | boolean }; parts: 3; path: "-/servers/{target}/members"; response: { members: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: `/servers/${string}/members/${string}`; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: "-/servers/{target}/members/{member}"; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/members/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{target}/members/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles")[]; roles?: null | string[] }; parts: 4; path: `/servers/${string}/members/${string}`; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles")[]; roles?: null | string[] }; parts: 4; path: "-/servers/{server}/members/{target}"; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { reason?: null | string }; parts: 4; path: `/servers/${string}/bans/${string}`; response: { _id: { server: string; user: string }; reason?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { reason?: null | string }; parts: 4; path: "-/servers/{server}/bans/{target}"; response: { _id: { server: string; user: string }; reason?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/bans/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{server}/bans/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/servers/${string}/bans`; response: { bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/servers/{target}/bans"; response: { bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/servers/${string}/invites`; response: ({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/servers/{target}/invites"; response: ({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string; rank?: null | number }; parts: 3; path: `/servers/${string}/roles`; response: { id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string; rank?: null | number }; parts: 3; path: "-/servers/{target}/roles"; response: { id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/roles/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{target}/roles/{role_id}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }; parts: 4; path: `/servers/${string}/roles/${string}`; response: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }; parts: 4; path: "-/servers/{target}/roles/{role_id}"; response: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: `/servers/${string}/permissions/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: "-/servers/{target}/permissions/{role_id}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: `/servers/${string}/permissions/default`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: "-/servers/{target}/permissions/default"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/invites/${string}`; response: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/invites/{target}"; response: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: `/invites/${string}`; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; type: "Server" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: "-/invites/{target}"; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; type: "Server" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/invites/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/invites/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string; invite?: null | string; password: string }; parts: 3; path: "/auth/account/create"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string }; parts: 3; path: "/auth/account/reverify"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/account/"; response: { _id: string; email: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { current_password: string; password: string }; parts: 4; path: "/auth/account/change/password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { current_password: string; email: string }; parts: 4; path: "/auth/account/change/email"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 4; path: `/auth/account/verify/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 4; path: "-/auth/account/verify/{code}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string }; parts: 3; path: "/auth/account/reset_password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { password: string; token: string }; parts: 3; path: "/auth/account/reset_password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; challenge?: null | string; email: string; friendly_name?: null | string; password?: null | string }; parts: 3; path: "/auth/session/login"; response: { _id?: null | string; name: string; result: "Success"; subscription?: null | { auth: string; endpoint: string; p256dh: string }; token: string; user_id: string } | { result: "EmailOTP" } | { allowed_methods: string[]; result: "MFA"; ticket: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "/auth/session/logout"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/session/all"; response: { _id: string; name: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { revoke_self?: null | boolean }; parts: 3; path: "/auth/session/all"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/auth/session/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/auth/session/{id}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { friendly_name: string }; parts: 3; path: `/auth/session/${string}`; response: { _id?: null | string; name: string; subscription?: null | { auth: string; endpoint: string; p256dh: string }; token: string; user_id: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { friendly_name: string }; parts: 3; path: "-/auth/session/{id}"; response: { _id?: null | string; name: string; subscription?: null | { auth: string; endpoint: string; p256dh: string }; token: string; user_id: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/onboard/hello"; response: { onboarding: boolean } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { username: string }; parts: 2; path: "/onboard/complete"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { auth: string; endpoint: string; p256dh: string }; parts: 2; path: "/push/subscribe"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: "/push/unsubscribe"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { keys: string[] }; parts: 3; path: "/sync/settings/fetch"; response: {} } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { timestamp?: null | number } | {}; parts: 3; path: "/sync/settings/set"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/sync/unreads"; response: { _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path }
+Route: { method: "get"; params: undefined; parts: 1; path: "/"; response: { app: string; features: { autumn: { enabled: boolean; url: string }; captcha: { enabled: boolean; key: string }; email: boolean; invite_only: boolean; january: { enabled: boolean; url: string }; voso: { enabled: boolean; url: string; ws: string } }; revolt: string; vapid: string; ws: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/users/@me"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string } }; parts: 2; path: "/users/@me"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/users/${string}`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/users/{target}"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { password: string; username: string }; parts: 3; path: "/users/@me/username"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/default_avatar`; response: string } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/default_avatar"; response: string } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/profile`; response: { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/profile"; response: { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/users/dms"; response: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/dm`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/dm"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/users/${string}/mutual`; response: { servers: string[]; users: string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/users/{target}/mutual"; response: { servers: string[]; users: string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/users/${string}/friend`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/users/{username}/friend"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/users/${string}/friend`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/users/{target}/friend"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/users/${string}/block`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/users/{target}/block"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/users/${string}/block`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/users/{target}/block"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string }; parts: 2; path: "/bots/create"; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/bots/${string}/invite`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/bots/{target}/invite"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { server: string } | { group: string }; parts: 3; path: `/bots/${string}/invite`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { server: string } | { group: string }; parts: 3; path: "-/bots/{target}/invite"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/bots/${string}`; response: { bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/bots/{target}"; response: { bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/bots/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/bots/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }; parts: 2; path: `/bots/${string}`; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }; parts: 2; path: "-/bots/{target}"; response: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/bots/@me"; response: { bots: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: `/channels/${string}/ack/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: "-/channels/{target}/ack/{message}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/channels/${string}`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/channels/{target}"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/channels/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/channels/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }; parts: 2; path: `/channels/${string}`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { description?: null | string; icon?: null | string; name?: null | string; nsfw?: null | boolean; remove?: null | ("Description" | "Icon" | "DefaultPermissions")[] }; parts: 2; path: "-/channels/{target}"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/channels/${string}/members`; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/channels/{target}/members"; response: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: `/channels/${string}/invites`; response: { _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "-/channels/{target}/invites"; response: { _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }; parts: 3; path: `/channels/${string}/messages`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }; parts: 3; path: "-/channels/{target}/messages"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }; parts: 3; path: `/channels/${string}/messages`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }; parts: 3; path: "-/channels/{target}/messages"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 3; path: `/channels/${string}/search`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 3; path: "-/channels/{target}/search"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[] | { members?: null | { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; messages: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { ids: string[] }; parts: 4; path: `/channels/${string}/messages/stale`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { ids: string[] }; parts: 4; path: "-/channels/{_target}/messages/stale"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: `/channels/${string}/messages/${string}`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/channels/${string}/messages/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }; parts: 4; path: `/channels/${string}/messages/${string}`; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[] }; parts: 4; path: "-/channels/{target}/messages/{msg}"; response: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 4; path: `/channels/${string}/messages/bulk`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }; parts: 4; path: "-/channels/{target}/messages/bulk"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; users: string[] }; parts: 2; path: "/channels/create"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: `/channels/${string}/recipients/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 4; path: "-/channels/{target}/recipients/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/channels/${string}/recipients/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/channels/{target}/recipients/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: `/channels/${string}/join_call`; response: { token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "-/channels/{target}/join_call"; response: { token: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: `/channels/${string}/permissions/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: "-/channels/{target}/permissions/{role_id}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: `/channels/${string}/permissions/default`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: "-/channels/{target}/permissions/default"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean }; parts: 2; path: "/servers/create"; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/servers/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/servers/{target}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/servers/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/servers/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; parts: 2; path: `/servers/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { analytics?: null | boolean; banner?: null | string; categories?: null | { channels: string[]; id: string; title: string }[]; description?: null | string; icon?: null | string; name?: null | string; remove?: null | ("Description" | "Icon" | "Categories" | "SystemMessages" | "Banner")[]; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; parts: 2; path: "-/servers/{target}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: `/servers/${string}/ack`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: undefined; parts: 3; path: "-/servers/{target}/ack"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }; parts: 3; path: `/servers/${string}/channels`; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { description?: null | string; name: string; nsfw?: null | boolean; type?: "Text" | "Voice" }; parts: 3; path: "-/servers/{target}/channels"; response: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { exclude_offline?: null | boolean }; parts: 3; path: `/servers/${string}/members`; response: { members: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: { exclude_offline?: null | boolean }; parts: 3; path: "-/servers/{target}/members"; response: { members: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: `/servers/${string}/members/${string}`; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 4; path: "-/servers/{target}/members/{member}"; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/members/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{target}/members/{member}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles")[]; roles?: null | string[] }; parts: 4; path: `/servers/${string}/members/${string}`; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { avatar?: null | string; nickname?: null | string; remove?: null | ("Nickname" | "Avatar" | "Roles")[]; roles?: null | string[] }; parts: 4; path: "-/servers/{server}/members/{target}"; response: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { reason?: null | string }; parts: 4; path: `/servers/${string}/bans/${string}`; response: { _id: { server: string; user: string }; reason?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { reason?: null | string }; parts: 4; path: "-/servers/{server}/bans/{target}"; response: { _id: { server: string; user: string }; reason?: null | string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/bans/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{server}/bans/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/servers/${string}/bans`; response: { bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/servers/{target}/bans"; response: { bans: { _id: { server: string; user: string }; reason?: null | string }[]; users: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; username: string }[] } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: `/servers/${string}/invites`; response: ({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "-/servers/{target}/invites"; response: ({ _id: string; channel: string; creator: string; server: string; type: "Server" } | { _id: string; channel: string; creator: string; type: "Group" })[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string; rank?: null | number }; parts: 3; path: `/servers/${string}/roles`; response: { id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { name: string; rank?: null | number }; parts: 3; path: "-/servers/{target}/roles"; response: { id: string; role: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: `/servers/${string}/roles/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 4; path: "-/servers/{target}/roles/{role_id}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }; parts: 4; path: `/servers/${string}/roles/${string}`; response: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { colour?: null | string; hoist?: null | boolean; name?: null | string; rank?: null | number; remove?: null | "Colour"[] }; parts: 4; path: "-/servers/{target}/roles/{role_id}"; response: { colour?: null | string; hoist?: boolean; name: string; permissions: { a: number; d: number }; rank?: number } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: `/servers/${string}/permissions/${string}`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: { allow: number; deny: number } }; parts: 4; path: "-/servers/{target}/permissions/{role_id}"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: `/servers/${string}/permissions/default`; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "put"; params: { permissions: number }; parts: 4; path: "-/servers/{target}/permissions/default"; response: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: `/invites/${string}`; response: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "-/invites/{target}"; response: { channel_description?: null | string; channel_id: string; channel_name: string; code: string; member_count: number; server_banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; server_id: string; server_name: string; type: "Server"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } | { channel_description?: null | string; channel_id: string; channel_name: string; code: string; type: "Group"; user_avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; user_name: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: `/invites/${string}`; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; type: "Server" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: "-/invites/{target}"; response: { channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]; server: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }; type: "Server" } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: `/invites/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 2; path: "-/invites/{target}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string; invite?: null | string; password: string }; parts: 3; path: "/auth/account/create"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string }; parts: 3; path: "/auth/account/reverify"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/account/"; response: { _id: string; email: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { current_password: string; password: string }; parts: 4; path: "/auth/account/change/password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { current_password: string; email: string }; parts: 4; path: "/auth/account/change/email"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 4; path: `/auth/account/verify/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 4; path: "-/auth/account/verify/{code}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; email: string }; parts: 3; path: "/auth/account/reset_password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { password: string; token: string }; parts: 3; path: "/auth/account/reset_password"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { captcha?: null | string; challenge?: null | string; email: string; friendly_name?: null | string; password?: null | string }; parts: 3; path: "/auth/session/login"; response: { _id?: null | string; name: string; result: "Success"; subscription?: null | { auth: string; endpoint: string; p256dh: string }; token: string; user_id: string } | { result: "EmailOTP" } | { allowed_methods: string[]; result: "MFA"; ticket: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 3; path: "/auth/session/logout"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 3; path: "/auth/session/all"; response: { _id: string; name: string }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: { revoke_self?: null | boolean }; parts: 3; path: "/auth/session/all"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: `/auth/session/${string}`; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "delete"; params: undefined; parts: 3; path: "-/auth/session/{id}"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { friendly_name: string }; parts: 3; path: `/auth/session/${string}`; response: { _id?: null | string; name: string; subscription?: null | { auth: string; endpoint: string; p256dh: string }; token: string; user_id: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "patch"; params: { friendly_name: string }; parts: 3; path: "-/auth/session/{id}"; response: { _id?: null | string; name: string; subscription?: null | { auth: string; endpoint: string; p256dh: string }; token: string; user_id: string } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/onboard/hello"; response: { onboarding: boolean } } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { username: string }; parts: 2; path: "/onboard/complete"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { auth: string; endpoint: string; p256dh: string }; parts: 2; path: "/push/subscribe"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: undefined; parts: 2; path: "/push/unsubscribe"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { keys: string[] }; parts: 3; path: "/sync/settings/fetch"; response: {} } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "post"; params: { timestamp?: null | number } | {}; parts: 3; path: "/sync/settings/set"; response: undefined } & { method: Method } & { parts: Count<Path, "/", []>; path: Path } & { method: "get"; params: undefined; parts: 2; path: "/sync/unreads"; response: { _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }[] } & { method: Method } & { parts: Count<Path, "/", []>; path: Path }
Parameters
@@ -714,13 +717,63 @@ @@ -729,40 +782,40 @@Legend
-- Constructor
- - Property
- - Method
+ - Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
-- Private property
- - Private method
+ - Class
+ - Class with type parameter
-- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Bots
+
+ -
+ default
+
+
+Class default
+Hierarchy
++-
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- client
+
+Methods
++- create
+ - delete
+ - edit
+ - fetch
+ - fetch
Owned
+ - fetch
Public
+ - invite
+
+Constructors
+constructor
++- new default(client: Client): default
+
++-
+
+
+
+Parameters
++-
+
+
+client: Client
+Returns default
+Properties
+client
+Methods
+create
++- create(data: { name: string }): Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: User }>
+
++-
+
+
+
+
+
+
+
+Create a bot
+Parameters
++-
+
+
+
+
+data: { name: string }
+Bot creation data
++-
+
+
+
+
+name: string
++- description
+
+
+Bot username
+Returns Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: User }>
+delete
++- delete(id: string): Promise<void>
+
++-
+
+
+
+
+
+
+
+Delete a bot
+Parameters
++-
+
+
+
+
+id: string
+Bot ID
+Returns Promise<void>
+edit
++- edit(id: string, data: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }): Promise<void>
+
++-
+
+
+
+
+
+
+
+Edit a bot
+Parameters
++-
+
+
+
+ -
+
+
+
+
+id: string
+Bot ID
+data: { analytics?: null | boolean; interactions_url?: null | string; name?: null | string; public?: null | boolean; remove?: null | ("Token" | "InteractionsURL")[] }
+Bot edit data object
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+Optional analytics?: null | boolean
++- description
+
+
+Whether analytics should be gathered for this bot
+Must be enabled in order to show up on Revolt Discover.
+Optional interactions_url?: null | string
++- description
+
+
+Interactions URL
+Optional name?: null | string
++- description
+
+
+Bot username
+Optional public?: null | boolean
++- description
+
+
+Whether the bot can be added by anyone
+Optional remove?: null | ("Token" | "InteractionsURL")[]
++- description
+
+
+Fields to remove from bot object
+Returns Promise<void>
+fetch
++- fetch(id: string): Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: User }>
+
++-
+
+
+
+
+
+
+
+Fetch a bot
+Parameters
++-
+
+
+
+
+id: string
+Bot ID
+Returns Promise<{ bot: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }; user: User }>
+Bot and User object
+fetchOwned
++- fetch
Owned(): Promise<{ bots: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }[]; users: User[] }>
+
++-
+
+
+
+
+
+
+
+Fetch a bot
+Returns Promise<{ bots: { _id: string; analytics?: boolean; discoverable?: boolean; flags?: null | number; interactions_url?: null | string; owner: string; public: boolean; token: string }[]; users: User[] }>
+Bot and User objects
+fetchPublic
++- fetch
Public(id: string): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string }>
+
++-
+
+
+
+
+
+
+
+Fetch a public bot
+Parameters
++-
+
+
+
+
+id: string
+Bot ID
+Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; description?: null | string; username: string }>
+Public Bot object
+invite
++- invite(id: string, destination: { server: string } | { group: string }): Promise<undefined>
+
++-
+
+
+
+
+
+
+
+Invite a public bot
+Parameters
++-
+
+
+
+ -
+
+
+
+
+id: string
+Bot ID
+destination: { server: string } | { group: string }
+The group or server to add to
+Returns Promise<undefined>
+Generated using TypeDoc
+Class Channel
@@ -80,81 +83,81 @@Constructors
-- constructor
+ - constructor
Properties
-- _id
- - ack
Limit
- - ack
Timeout
- - active
- - channel_
type
- - client
- - default_
permissions
- - description
- - icon
- - last_
message_id
- - name
- - nsfw
- - owner_
id
- - permissions
- - recipient_
ids
- - role_
permissions
- - server_
id
- - typing_
ids
+ - _id
+ - ack
Limit
+ - ack
Timeout
+ - active
+ - channel_
type
+ - client
+ - default_
permissions
+ - description
+ - icon
+ - last_
message_id
+ - name
+ - nsfw
+ - owner_
id
+ - permissions
+ - recipient_
ids
+ - role_
permissions
+ - server_
id
+ - typing_
ids
Accessors
-- created
At
- - last_
message
- - last_
message_id_or_past
- - mentions
- - owner
- - path
- - permission
- - recipient
- - recipients
- - server
- - typing
- - unread
- - url
+ - created
At
+ - last_
message
+ - last_
message_id_or_past
+ - mentions
+ - owner
+ - path
+ - permission
+ - recipient
+ - recipients
+ - server
+ - typing
+ - unread
+ - url
Methods
-- ack
- - add
Member
- - create
Invite
- - delete
- - delete
Messages
- - edit
- - fetch
Members
- - fetch
Message
- - fetch
Messages
- - fetch
MessagesWithUsers
- - fetch
Stale
- - generate
IconURL
- - get
Mentions
- - have
Permission
- - is
Unread
- - join
Call
- - remove
Member
- - search
- - search
WithUsers
- - send
Message
- - set
Permissions
- - start
Typing
- - stop
Typing
- - update
- - update
GroupJoin
- - update
GroupLeave
- - update
StartTyping
- - update
StopTyping
+ - ack
+ - add
Member
+ - create
Invite
+ - delete
+ - delete
Messages
+ - edit
+ - fetch
Members
+ - fetch
Message
+ - fetch
Messages
+ - fetch
MessagesWithUsers
+ - fetch
Stale
+ - generate
IconURL
+ - get
Mentions
+ - have
Permission
+ - is
Unread
+ - join
Call
+ - remove
Member
+ - search
+ - search
WithUsers
+ - send
Message
+ - set
Permissions
+ - start
Typing
+ - stop
Typing
+ - update
+ - update
GroupJoin
+ - update
GroupLeave
+ - update
StartTyping
+ - update
StopTyping
constructor
-- new
Channel(client: Client, data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }): Channel
+ - new
Channel(client: Client, data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }): Channel
-
@@ -197,7 +200,7 @@Parameters
-
-
-
-client: Client
+client: Client
data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
Returns Channel
+Returns Channel
active
-channel_type
-client
-default_permissions
-description
-icon
-last_message_id
-name
-nsfw
-owner_id
-permissions
-recipient_ids
-role_permissions
-server_id
-last_message
-- get last_message(): undefined | Message
+ - get last_message(): undefined | Message
-
@@ -544,7 +547,7 @@
-
@@ -558,7 +561,7 @@Returns undefined | Message
+Returns undefined | Message
owner
-- get owner(): undefined | User
+ - get owner(): undefined | User
-
@@ -615,7 +618,7 @@
-
@@ -629,7 +632,7 @@Returns undefined | User
+Returns undefined | User
recipient
-- get recipient(): undefined | User
+ - get recipient(): undefined | User
-
@@ -686,7 +689,7 @@
-
@@ -694,13 +697,13 @@Returns undefined | User
+Returns undefined | User
recipients
-- get recipients(): undefined | (undefined | User)[]
+ - get recipients(): undefined | (undefined | User)[]
-
@@ -713,7 +716,7 @@
-
@@ -721,13 +724,13 @@Returns undefined | (undefined | User)[]
+Returns undefined | (undefined | User)[]
server
-- get server(): undefined | Server
+ - get server(): undefined | Server
-
@@ -740,7 +743,7 @@
-
@@ -748,13 +751,13 @@Returns undefined | Server
+Returns undefined | Server
typing
-- get typing(): (undefined | User)[]
+ - get typing(): (undefined | User)[]
Users typing.
Returns (undefined | User)[]
+Returns (undefined | User)[]
ack
-- ack(message?: string | Message, skipRateLimiter?: boolean): Promise<void>
+ - ack(message?: string | Message, skipRateLimiter?: boolean): Promise<void>
Parameters
Optional message: string | Message
+Optional message: string | Message
Last read message or its ID
Parameters
@@ -970,7 +973,7 @@fetchMembers
-- fetch
Members(): Promise<User[]>
+ - fetch
Members(): Promise<User[]>
-
@@ -1060,7 +1063,7 @@
-
@@ -1069,13 +1072,13 @@Returns Promise<User[]>
+Returns Promise<User[]>
An array of the channel's members.
fetchMessage
-- fetch
Message(message_id: string): Promise<Message>
+ - fetch
Message(message_id: string): Promise<Message>
-
@@ -1092,7 +1095,7 @@
-Returns Promise<Message>
+Returns Promise<Message>
The message
@@ -1101,13 +1104,13 @@fetchMessages
-- fetch
Messages(params?: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<Message[]>
+ - fetch
Messages(params?: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<Message[]>
-
@@ -1124,7 +1127,7 @@
-Returns Promise<Message[]>
+Returns Promise<Message[]>
The messages
@@ -1133,13 +1136,13 @@fetchMessagesWithUsers
-- fetch
MessagesWithUsers(params?: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
+ - fetch
MessagesWithUsers(params?: Omit<undefined | { after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; nearby?: null | string; sort?: null | "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
-
@@ -1156,7 +1159,7 @@
-Returns Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
+Returns Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
Object including messages and users
@@ -1171,7 +1174,7 @@generateIconURL
-- generate
IconURL(...args: FileArgs): undefined | string
+ - generate
IconURL(...args: FileArgs): undefined | string
Parameters
Rest ...args: FileArgs
+Rest ...args: FileArgs
File parameters
getMentions
-- get
Mentions(permit: INotificationChecker): string[]
+ - get
Mentions(permit: INotificationChecker): string[]
Parameters
permit: INotificationChecker
+permit: INotificationChecker
Callback function to determine whether a channel has certain properties
isUnread
-- is
Unread(permit: INotificationChecker): boolean
+ - is
Unread(permit: INotificationChecker): boolean
Parameters
permit: INotificationChecker
+permit: INotificationChecker
Callback function to determine whether a channel has certain properties
search
-- search(params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<Message[]>
+ - search(params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<Message[]>
-
@@ -1402,7 +1405,7 @@
-Returns Promise<Message[]>
+Returns Promise<Message[]>
The messages
@@ -1411,13 +1414,13 @@searchWithUsers
-- search
WithUsers(params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
+ - search
WithUsers(params: Omit<{ after?: null | string; before?: null | string; include_users?: null | boolean; limit?: null | number; query: string; sort?: "Relevance" | "Latest" | "Oldest" }, "include_users">): Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
-
@@ -1434,7 +1437,7 @@
-Returns Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
+Returns Promise<{ members: undefined | Member[]; messages: Message[]; users: User[] }>
The messages
@@ -1443,13 +1446,13 @@sendMessage
-- send
Message(data: string | (Omit<{ attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }, "nonce"> & { nonce?: string })): Promise<Message>
+ - send
Message(data: string | (Omit<{ attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }, "nonce"> & { nonce?: string })): Promise<Message>
-
@@ -1466,7 +1469,7 @@
-Returns Promise<Message>
+Returns Promise<Message>
The message
@@ -1481,7 +1484,7 @@Parameters
@@ -1616,7 +1619,7 @@Parameters
@@ -1639,7 +1642,7 @@Parameters
@@ -1662,7 +1665,7 @@Parameters
@@ -1685,7 +1688,7 @@Parameters
@@ -1704,7 +1707,58 @@ @@ -1712,270 +1766,195 @@--
- Channel
+
-
+ Channel
-
- constructor
+ constructor
-
- _id
+ _id
-
- ack
Limit
+ ackLimit
-
- ack
Timeout
+ ackTimeout
-
- active
+ active
-
- channel_
type
+ channel_type
-
- client
+ client
-
- default_
permissions
+ default_permissions
-
- description
+ description
-
- icon
+ icon
-
- last_
message_id
+ last_message_id
-
- name
+ name
-
- nsfw
+ nsfw
-
- owner_
id
+ owner_id
-
- permissions
+ permissions
-
- recipient_
ids
+ recipient_ids
-
- role_
permissions
+ role_permissions
-
- server_
id
+ server_id
-
- typing_
ids
+ typing_ids
-
- created
At
+ createdAt
-
- last_
message
+ last_message
-
- last_
message_id_or_past
+ last_message_id_or_past
-
- mentions
+ mentions
-
- owner
+ owner
-
- path
+ path
-
- permission
+ permission
-
- recipient
+ recipient
-
- recipients
+ recipients
-
- server
+ server
-
- typing
+ typing
-
- unread
+ unread
-
- url
+ url
-
- ack
+ ack
-
- add
Member
+ addMember
-
- create
Invite
+ createInvite
-
- delete
+ delete
-
- delete
Messages
+ deleteMessages
-
- edit
+ edit
-
- fetch
Members
+ fetchMembers
-
- fetch
Message
+ fetchMessage
-
- fetch
Messages
+ fetchMessages
-
- fetch
MessagesWithUsers
+ fetchMessagesWithUsers
-
- fetch
Stale
+ fetchStale
-
- generate
IconURL
+ generateIconURL
-
- get
Mentions
+ getMentions
-
- have
Permission
+ havePermission
-
- is
Unread
+ isUnread
-
- join
Call
+ joinCall
-
- remove
Member
+ removeMember
-
- search
+ search
-
- search
WithUsers
+ searchWithUsers
-
- send
Message
+ sendMessage
-
- set
Permissions
+ setPermissions
-
- start
Typing
+ startTyping
-
- stop
Typing
+ stopTyping
-
- update
+ update
-
- update
GroupJoin
+ updateGroupJoin
-
- update
GroupLeave
+ updateGroupLeave
-
- update
StartTyping
+ updateStartTyping
-
- update
StopTyping
+ updateStopTyping
--
- Client
-
- -
- Member
-
- -
- Message
-
- -
- Server
-
- -
- User
-
- -
- Client
Options
-
- -
- Clientbound
Notification
-
- -
- File
Args
-
- -
- Nullable
-
- -
- Ready
Packet
-
- -
- Serverbound
Notification
-
- -
- DEFAULT_
PERMISSION
-
- -
- DEFAULT_
PERMISSION_DIRECT_MESSAGE
-
- -
- DEFAULT_
PERMISSION_SAVED_MESSAGES
-
- -
- DEFAULT_
PERMISSION_SERVER
-
- -
- DEFAULT_
PERMISSION_VIEW_ONLY
-
- -
- LIBRARY_
VERSION
-
- -
- Permission
-
- -
- RE_
MENTIONS
-
- -
- RE_
SPOILER
-
- -
- U32_
MAX
-
- -
- User
Permission
-
- -
- default
Config
-
- -
- calculate
Permission
-
- -
- to
Nullable
-
- -
- to
NullableDate
+ -
+ default
@@ -1987,16 +1966,24 @@Legend
+- Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
+
++- Class
+ - Class with type parameter
- Constructor
- Property
- Method
-- Private property
- - Private method
+ - Interface
-- Property
+ - Private property
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Channels
+
+ -
+ default
+
+
+Class default
+Hierarchy
++-
+ default<string, Channel>
+
+
++-
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- [$mobx]
+ - change
Listeners_
+ - client
+ - data_
+ - dehancer
+ - enhancer_
+ - has
Map_
+ - interceptors_
+ - keys
Atom_
+ - name_
+
+Accessors
++- [to
StringTag]
+ - size
+
+Methods
++- $get
+ - [iterator]
+ - clear
+ - create
Group
+ - create
Obj
+ - delete
+ - entries
+ - exists
+ - fetch
+ - for
Each
+ - get
+ - has
+ - intercept_
+ - keys
+ - merge
+ - observe_
+ - replace
+ - set
+ - toJSON
+ - to
String
+ - values
+
+Constructors
+constructor
++- new default(client: Client): default
+
++-
+
+
+
+Parameters
++-
+
+
+client: Client
+Returns default
+Properties
+[$mobx]
+Type declaration
++
+changeListeners_
+client
+data_
+dehancer
+enhancer_
+hasMap_
+interceptors_
+keysAtom_
+name_
+Accessors
+[toStringTag]
++- get [toStringTag](): string
+
++-
+
+
+
+Returns string
+size
++- get size(): number
+
++-
+
+
+
+Returns number
+Methods
+$get
++- $get(id: string, data?: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }): Channel
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+id: string
+Optional data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
+Returns Channel
+[iterator]
++- [iterator](): IterableIterator<IMapEntry<string, Channel>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Channel>>
+clear
++- clear(): void
+
++-
+
+
+
+Returns void
+createGroup
++- create
Group(data: { description?: null | string; name: string; nsfw?: null | boolean; users: string[] }): Promise<Channel>
+
++-
+
+
+
+
+
+
+
+Create a group
+Parameters
++-
+
+
+
+
+data: { description?: null | string; name: string; nsfw?: null | boolean; users: string[] }
+Group create route data
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+Optional description?: null | string
++- description
+
+
+Group description
+name: string
++- description
+
+
+Group name
+Optional nsfw?: null | boolean
++- description
+
+
+Whether this group is age-restricted
+users: string[]
++- description
+
+
+Array of user IDs to add to the group
+Must be friends with these users.
+Returns Promise<Channel>
+The newly-created group
+createObj
++- create
Obj(data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }, emit?: number | boolean): Channel
+
++-
+
+
+
+
+
+
+
+Create a channel object. + This is meant for internal use only.
+Parameters
++-
+
+ -
+
+
+
+
+data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
+Optional emit: number | boolean
+Whether to emit creation event
+Returns Channel
+Channel
+delete
++- delete(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+entries
++- entries(): IterableIterator<IMapEntry<string, Channel>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Channel>>
+exists
++- exists(id: string): Nullable<boolean>
+
++-
+
+
+
+
+
+
+
+Check whether a channel should currently exist
+Parameters
++-
+
+
+
+
+id: string
+Channel ID
+Returns Nullable<boolean>
+Whether it should current exist
+fetch
++- fetch(id: string, data?: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }): Promise<Channel>
+
++-
+
+
+
+
+
+
+
+Fetch a channel
+Parameters
++-
+
+
+
+ -
+
+
+id: string
+Channel ID
+Optional data: { _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string }
+Returns Promise<Channel>
+The channel
+forEach
++- for
Each(callback: (value: Channel, key: string, object: Map<string, Channel>) => void, thisArg?: any): void
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+callback: (value: Channel, key: string, object: Map<string, Channel>) => void
++-
+
+
++- (value: Channel, key: string, object: Map<string, Channel>): void
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+
+value: Channel
+key: string
+object: Map<string, Channel>
+Returns void
+Optional thisArg: any
+Returns void
+get
++- get(key: string): undefined | Channel
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns undefined | Channel
+has
++- has(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+intercept_
++- intercept_(handler: IInterceptor<IMapWillChange<string, Channel>>): Lambda
+
++-
+
+
+
+Parameters
++-
+
+
+handler: IInterceptor<IMapWillChange<string, Channel>>
+Returns Lambda
+keys
++- keys(): IterableIterator<string>
+
++-
+
+
+
+Returns IterableIterator<string>
+merge
++- merge(other: any): ObservableMap<string, Channel>
+
++-
+
+
+
+
+
+
+
+Merge another object into this object, returns this.
+Parameters
++-
+
+
+other: any
+Returns ObservableMap<string, Channel>
+observe_
++- observe_(listener: (changes: IMapDidChange<string, Channel>) => void, fireImmediately?: boolean): Lambda
+
++-
+
+
+
+
+
+
+
+Observes this object. Triggers for the events 'add', 'update' and 'delete'. + See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe + for callback details
+Parameters
++-
+
+ -
+
+
+listener: (changes: IMapDidChange<string, Channel>) => void
++-
+
+
++- (changes: IMapDidChange<string, Channel>): void
+
++-
+
+
+Parameters
++-
+
+
+changes: IMapDidChange<string, Channel>
+Returns void
+Optional fireImmediately: boolean
+Returns Lambda
+replace
++- replace(values: any): ObservableMap<string, Channel>
+
++-
+
+
+
+Parameters
++-
+
+
+values: any
+Returns ObservableMap<string, Channel>
+set
++- set(key: string, value: Channel): default
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+key: string
+value: Channel
+Returns default
+toJSON
++- toJSON(): [string, Channel][]
+
++-
+
+
+
+Returns [string, Channel][]
+toString
++- to
String(): string
+
++-
+
+
+
+Returns string
+values
++- values(): IterableIterator<Channel>
+
++-
+
+
+
+Returns IterableIterator<Channel>
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Collection
+
+ -
+ default
+
+
+Class default<K, V>
+Type parameters
++-
+
+ -
+
+
+K
+V
+Hierarchy
++-
+ ObservableMap<K, V>
+
+
++-
+ default
+
+
++-
+ default
+
+ -
+ default
+
+ -
+ default
+
+ -
+ default
+
+ -
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- [$mobx]
+ - change
Listeners_
+ - client
+ - data_
+ - dehancer
+ - enhancer_
+ - has
Map_
+ - interceptors_
+ - keys
Atom_
+ - name_
+
+Accessors
++- [to
StringTag]
+ - size
+
+Methods
++- [iterator]
+ - clear
+ - delete
+ - entries
+ - for
Each
+ - get
+ - has
+ - intercept_
+ - keys
+ - merge
+ - observe_
+ - replace
+ - set
+ - toJSON
+ - to
String
+ - values
+
+Constructors
+constructor
++- new default<K, V>(client: Client): default<K, V>
+
++-
+
+
+
+Type parameters
++-
+
+ -
+
+
+K
+V
+Parameters
++-
+
+
+client: Client
+Returns default<K, V>
+Properties
+[$mobx]
+Type declaration
++
+changeListeners_
+client
+data_
+dehancer
+enhancer_
+hasMap_
+interceptors_
+keysAtom_
+name_
+Accessors
+[toStringTag]
++- get [toStringTag](): string
+
++-
+
+
+
+Returns string
+size
++- get size(): number
+
++-
+
+
+
+Returns number
+Methods
+[iterator]
++- [iterator](): IterableIterator<IMapEntry<K, V>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<K, V>>
+clear
++- clear(): void
+
++-
+
+
+
+Returns void
+delete
++- delete(key: K): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: K
+Returns boolean
+entries
++- entries(): IterableIterator<IMapEntry<K, V>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<K, V>>
+forEach
++- for
Each(callback: (value: V, key: K, object: Map<K, V>) => void, thisArg?: any): void
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+callback: (value: V, key: K, object: Map<K, V>) => void
++-
+
+
++- (value: V, key: K, object: Map<K, V>): void
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+
+value: V
+key: K
+object: Map<K, V>
+Returns void
+Optional thisArg: any
+Returns void
+get
++- get(key: K): undefined | V
+
++-
+
+
+
+Parameters
++-
+
+
+key: K
+Returns undefined | V
+has
++- has(key: K): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: K
+Returns boolean
+intercept_
++- intercept_(handler: IInterceptor<IMapWillChange<K, V>>): Lambda
+
++-
+
+
+
+Parameters
++-
+
+
+handler: IInterceptor<IMapWillChange<K, V>>
+Returns Lambda
+keys
++- keys(): IterableIterator<K>
+
++-
+
+
+
+Returns IterableIterator<K>
+merge
++- merge(other: any): ObservableMap<K, V>
+
++-
+
+
+
+
+
+
+
+Merge another object into this object, returns this.
+Parameters
++-
+
+
+other: any
+Returns ObservableMap<K, V>
+observe_
++- observe_(listener: (changes: IMapDidChange<K, V>) => void, fireImmediately?: boolean): Lambda
+
++-
+
+
+
+
+
+
+
+Observes this object. Triggers for the events 'add', 'update' and 'delete'. + See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe + for callback details
+Parameters
++-
+
+ -
+
+
+listener: (changes: IMapDidChange<K, V>) => void
++-
+
+
++- (changes: IMapDidChange<K, V>): void
+
++-
+
+
+Parameters
++-
+
+
+changes: IMapDidChange<K, V>
+Returns void
+Optional fireImmediately: boolean
+Returns Lambda
+replace
++- replace(values: any): ObservableMap<K, V>
+
++-
+
+
+
+Parameters
++-
+
+
+values: any
+Returns ObservableMap<K, V>
+set
++- set(key: K, value: V): default<K, V>
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+key: K
+value: V
+Returns default<K, V>
+toJSON
++- toJSON(): [K, V][]
+
++-
+
+
+
+Returns [K, V][]
+toString
++- to
String(): string
+
++-
+
+
+
+Returns string
+values
++- values(): IterableIterator<V>
+
++-
+
+
+
+Returns IterableIterator<V>
+Generated using TypeDoc
+Class Member
@@ -80,42 +83,42 @@Constructors
-- constructor
+ - constructor
Properties
-- _id
- - avatar
- - client
- - nickname
- - roles
+ - _id
+ - avatar
+ - client
+ - nickname
+ - roles
Accessors
-- bannable
- - hoisted
Role
- - inferior
- - kickable
- - ordered
Roles
- - ranking
- - server
- - user
+ - bannable
+ - hoisted
Role
+ - inferior
+ - kickable
+ - ordered
Roles
+ - ranking
+ - server
+ - user
Methods
-- edit
- - generate
AvatarURL
- - get
Permissions
- - has
Permission
- - inferior
To
- - kick
- - update
+ - edit
+ - generate
AvatarURL
+ - get
Permissions
+ - has
Permission
+ - inferior
To
+ - kick
+ - update
constructor
-- new
Member(client: Client, data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }): Member
+ - new
Member(client: Client, data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }): Member
-
-
-
-
-Parameters
client: Client
+client: Client
data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }
@@ -209,7 +212,7 @@Returns Member
+Returns Member
avatar
-client
-nickname
-roles
-server
-- get server(): undefined | Server
+ - get server(): undefined | Server
Associated server.
Returns undefined | Server
+Returns undefined | Server
user
-- get user(): undefined | User
+ - get user(): undefined | User
Associated user.
Returns undefined | User
+Returns undefined | User
generateAvatarURL
-- generate
AvatarURL(...args: FileArgs): undefined | string
+ - generate
AvatarURL(...args: FileArgs): undefined | string
Parameters
Rest ...args: FileArgs
+Rest ...args: FileArgs
File parameters
getPermissions
-- get
Permissions(target: Channel | Server): number
+ - get
Permissions(target: Channel | Server): number
Parameters
target: Channel | Server
+target: Channel | Server
Target object to check permissions against
hasPermission
-- has
Permission(target: Channel | Server, ...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]): boolean
+ - has
Permission(target: Channel | Server, ...permission: ("Video" | "Masquerade" | "ManageChannel" | "ManageServer" | "ManagePermissions" | "ManageRole" | "KickMembers" | "BanMembers" | "TimeoutMembers" | "AssignRoles" | "ChangeNickname" | "ManageNicknames" | "ChangeAvatar" | "RemoveAvatars" | "ViewChannel" | "ReadMessageHistory" | "SendMessage" | "ManageMessages" | "ManageWebhooks" | "InviteOthers" | "SendEmbeds" | "UploadFiles" | "Connect" | "Speak" | "MuteMembers" | "DeafenMembers" | "MoveMembers" | "GrantAllSafe")[]): boolean
Parameters
target: Channel | Server
+target: Channel | Server
Target object to check permissions against
inferiorTo
-- inferior
To(target: Member): boolean
+ - inferior
To(target: Member): boolean
-
@@ -671,7 +674,7 @@
-
-
@@ -692,7 +695,7 @@
-
@@ -714,7 +717,7 @@
-
diff --git a/classes/maps_Members.default.html b/classes/maps_Members.default.html
new file mode 100644
index 00000000..8bbc971e
--- /dev/null
+++ b/classes/maps_Members.default.html
@@ -0,0 +1,1399 @@
+
+
+
+
+
+ default | revolt.js
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Options
+
+
+ All
+
+
+
+
+
+
+
+ Menu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [$mobx]: {}
+
+
+
+
+
+
+ changeListeners_: any
+
+
+
+
+ client: Client
+
+
+
+
+ data_: Map<string, ObservableValue<Member>>
+
+
+
+
+ dehancer: any
+
+
+
+
+ enhancer_: IEnhancer<Member>
+
+
+
+
+ hasMap_: Map<string, ObservableValue<boolean>>
+
+
+
+
+ interceptors_: any
+
+
+
+
+ keysAtom_: IAtom
+
+
+
+
+ name_: string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/classes/Message.html b/classes/maps_Messages.Message.html
similarity index 82%
rename from classes/Message.html
rename to classes/maps_Messages.Message.html
index 27097c5c..9a2a1095 100644
--- a/classes/Message.html
+++ b/classes/maps_Messages.Message.html
@@ -55,7 +55,10 @@
revolt.js
-
- Message
+ maps/Messages
+
+ -
+ Message
@@ -135,19 +138,19 @@
@@ -288,17 +291,17 @@Parameters
target: Member
+target: Member
The member to compare against
Parameters
@@ -736,161 +739,137 @@ @@ -902,16 +881,21 @@Legend
+- Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
+
++- Class
+ - Class with type parameter
- Constructor
- Property
- Method
-- Private property
- - Private method
-
--- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Members
+
+ -
+ default
+
+
+Class default
+Hierarchy
++-
+ default<string, Member>
+
+
++-
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- [$mobx]
+ - change
Listeners_
+ - client
+ - data_
+ - dehancer
+ - enhancer_
+ - has
Map_
+ - interceptors_
+ - keys
Atom_
+ - name_
+
+Accessors
++- [to
StringTag]
+ - size
+
+Methods
++- $get
+ - [iterator]
+ - clear
+ - create
Obj
+ - delete
+ - delete
Key
+ - entries
+ - for
Each
+ - get
+ - get
Key
+ - has
+ - has
Key
+ - intercept_
+ - keys
+ - merge
+ - observe_
+ - replace
+ - set
+ - set
Key
+ - toJSON
+ - to
String
+ - values
+ - to
Key
+
+Constructors
+constructor
++- new default(client: Client): default
+
++-
+
+
+
+Parameters
++-
+
+
+client: Client
+Returns default
+Properties
+[$mobx]
+Type declaration
++
+changeListeners_
+client
+data_
+dehancer
+enhancer_
+hasMap_
+interceptors_
+keysAtom_
+name_
+Accessors
+[toStringTag]
++- get [toStringTag](): string
+
++-
+
+
+
+Returns string
+size
++- get size(): number
+
++-
+
+
+
+Returns number
+Methods
+$get
++- $get(id: { server: string; user: string }, data?: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }): Member
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+id: { server: string; user: string }
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+Optional data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: { server: string; user: string }
++- description
+
+
+Unique member id
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Avatar attachment
+Optional nickname?: null | string
++- description
+
+
+Member's nickname
+Optional roles?: null | string[]
++- description
+
+
+Member's roles
+Returns Member
+[iterator]
++- [iterator](): IterableIterator<IMapEntry<string, Member>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Member>>
+clear
++- clear(): void
+
++-
+
+
+
+Returns void
+createObj
++- create
Obj(data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }, emit?: number | boolean): Member
+
++-
+
+
+
+
+
+
+
+Create a member object. + This is meant for internal use only.
+Parameters
++-
+
+ -
+
+
+
+
+data: { _id: { server: string; user: string }; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; nickname?: null | string; roles?: null | string[] }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: { server: string; user: string }
++- description
+
+
+Unique member id
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Avatar attachment
+Optional nickname?: null | string
++- description
+
+
+Member's nickname
+Optional roles?: null | string[]
++- description
+
+
+Member's roles
+Optional emit: number | boolean
+Whether to emit creation event
+Returns Member
+Member
+delete
++- delete(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+deleteKey
++- delete
Key(id: { server: string; user: string }): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+id: { server: string; user: string }
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+Returns boolean
+entries
++- entries(): IterableIterator<IMapEntry<string, Member>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Member>>
+forEach
++- for
Each(callback: (value: Member, key: string, object: Map<string, Member>) => void, thisArg?: any): void
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+callback: (value: Member, key: string, object: Map<string, Member>) => void
++-
+
+
++- (value: Member, key: string, object: Map<string, Member>): void
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+
+value: Member
+key: string
+object: Map<string, Member>
+Returns void
+Optional thisArg: any
+Returns void
+get
++- get(key: string): undefined | Member
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns undefined | Member
+getKey
++- get
Key(id: { server: string; user: string }): undefined | Member
+
++-
+
+
+
+Parameters
++-
+
+
+id: { server: string; user: string }
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+Returns undefined | Member
+has
++- has(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+hasKey
++- has
Key(id: { server: string; user: string }): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+id: { server: string; user: string }
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+Returns boolean
+intercept_
++- intercept_(handler: IInterceptor<IMapWillChange<string, Member>>): Lambda
+
++-
+
+
+
+Parameters
++-
+
+
+handler: IInterceptor<IMapWillChange<string, Member>>
+Returns Lambda
+keys
++- keys(): IterableIterator<string>
+
++-
+
+
+
+Returns IterableIterator<string>
+merge
++- merge(other: any): ObservableMap<string, Member>
+
++-
+
+
+
+
+
+
+
+Merge another object into this object, returns this.
+Parameters
++-
+
+
+other: any
+Returns ObservableMap<string, Member>
+observe_
++- observe_(listener: (changes: IMapDidChange<string, Member>) => void, fireImmediately?: boolean): Lambda
+
++-
+
+
+
+
+
+
+
+Observes this object. Triggers for the events 'add', 'update' and 'delete'. + See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe + for callback details
+Parameters
++-
+
+ -
+
+
+listener: (changes: IMapDidChange<string, Member>) => void
++-
+
+
++- (changes: IMapDidChange<string, Member>): void
+
++-
+
+
+Parameters
++-
+
+
+changes: IMapDidChange<string, Member>
+Returns void
+Optional fireImmediately: boolean
+Returns Lambda
+replace
++- replace(values: any): ObservableMap<string, Member>
+
++-
+
+
+
+Parameters
++-
+
+
+values: any
+Returns ObservableMap<string, Member>
+set
++- set(key: string, value: Member): default
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+key: string
+value: Member
+Returns default
+setKey
++- set
Key(id: { server: string; user: string }, member: Member): default
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+id: { server: string; user: string }
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+member: Member
+Returns default
+toJSON
++- toJSON(): [string, Member][]
+
++-
+
+
+
+Returns [string, Member][]
+toString
++- to
String(): string
+
++-
+
+
+
+Returns string
+values
++- values(): IterableIterator<Member>
+
++-
+
+
+
+Returns IterableIterator<Member>
+Static toKey
++- to
Key(id: { server: string; user: string }): string
+
++-
+
+
+
+Parameters
++-
+
+
+id: { server: string; user: string }
++-
+
+
+
+ -
+
+
+
+
+server: string
++- description
+
+
+Server Id
+user: string
++- description
+
+
+User Id
+Returns string
+Generated using TypeDoc
+Class Message
@@ -80,50 +83,50 @@Constructors
-- constructor
+ - constructor
Properties
-- _id
- - attachments
- - author_
id
- - channel_
id
- - client
- - content
- - edited
- - embeds
- - masquerade
- - mention_
ids
- - nonce
- - reply_
ids
- - system
+ - _id
+ - attachments
+ - author_
id
+ - channel_
id
+ - client
+ - content
+ - edited
+ - embeds
+ - masquerade
+ - mention_
ids
+ - nonce
+ - reply_
ids
+ - system
Accessors
-- as
SystemMessage
- - author
- - channel
- - created
At
- - member
- - mentions
- - path
- - url
+ - as
SystemMessage
+ - author
+ - channel
+ - created
At
+ - member
+ - mentions
+ - path
+ - url
Methods
-- ack
- - append
- - delete
- - edit
- - generate
MasqAvatarURL
- - reply
- - update
+ - ack
+ - append
+ - delete
+ - edit
+ - generate
MasqAvatarURL
+ - reply
+ - update
constructor
-- new
Message(client: Client, data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }): Message
+ - new
Message(client: Client, data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }): Message
-
-
-
-
-Parameters
client: Client
+client: Client
data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }
@@ -275,7 +278,7 @@Returns Message
+Returns Message
attachments
-client
-content
-edited
-embeds
-masquerade
-mention_ids
-reply_ids
-system
-asSystemMessage
-- get asSystemMessage(): { content: string; type: "text" } | { by: undefined; name: undefined; type: string; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined | User; name: string; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined }
+ - get asSystemMessage(): { content: string; type: "text" } | { by: undefined; name: undefined; type: string; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined | User; name: string; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined }
-
-
@@ -436,16 +439,16 @@Returns { content: string; type: "text" } | { by: undefined; name: undefined; type: string; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined | User; name: string; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined }
+Returns { content: string; type: "text" } | { by: undefined; name: undefined; type: string; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined | User } | { by: undefined | User; name: string; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined } | { by: undefined | User; name: undefined; type: "text" | "user_added" | "user_remove" | "user_joined" | "user_left" | "user_kicked" | "user_banned" | "channel_renamed" | "channel_description_changed" | "channel_icon_changed"; user: undefined }
author
-- get author(): undefined | User
+ - get author(): undefined | User
-
-
@@ -453,16 +456,16 @@Returns undefined | User
+Returns undefined | User
channel
-- get channel(): undefined | Channel
+ - get channel(): undefined | Channel
-
-
@@ -476,7 +479,7 @@Returns undefined | Channel
+Returns undefined | Channel
member
-- get member(): undefined | Member
+ - get member(): undefined | Member
-
-
@@ -509,16 +512,16 @@Returns undefined | Member
+Returns undefined | Member
mentions
-- get mentions(): undefined | (undefined | User)[]
+ - get mentions(): undefined | (undefined | User)[]
-
-
@@ -532,7 +535,7 @@Returns undefined | (undefined | User)[]
+Returns undefined | (undefined | User)[]
Parameters
@@ -624,7 +627,7 @@Returns undefined | string
@@ -710,13 +713,13 @@reply
-- reply(data: string | (Omit<{ attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }, "nonce"> & { nonce?: string }), mention?: boolean): undefined | Promise<Message>
+ - reply(data: string | (Omit<{ attachments?: null | string[]; content?: null | string; embeds?: null | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | string; title?: null | string; url?: null | string }[]; masquerade?: null | { avatar?: null | string; name?: null | string }; nonce?: null | string; replies?: null | { id: string; mention: boolean }[] }, "nonce"> & { nonce?: string }), mention?: boolean): undefined | Promise<Message>
mention: boolean = true
-Returns undefined | Promise<Message>
+Returns undefined | Promise<Message>
@@ -747,7 +750,7 @@Parameters
@@ -766,185 +769,161 @@ @@ -956,16 +935,21 @@Legend
+- Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
+
++- Class
+ - Class with type parameter
- Constructor
- Property
- Method
-- Private property
- - Private method
-
--- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Messages
+
+ -
+ default
+
+
+Class default
+Hierarchy
++-
+ default<string, Message>
+
+
++-
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- [$mobx]
+ - change
Listeners_
+ - client
+ - data_
+ - dehancer
+ - enhancer_
+ - has
Map_
+ - interceptors_
+ - keys
Atom_
+ - name_
+
+Accessors
++- [to
StringTag]
+ - size
+
+Methods
++- $get
+ - [iterator]
+ - clear
+ - create
Obj
+ - delete
+ - entries
+ - for
Each
+ - get
+ - has
+ - intercept_
+ - keys
+ - merge
+ - observe_
+ - replace
+ - set
+ - toJSON
+ - to
String
+ - values
+
+Constructors
+constructor
++- new default(client: Client): default
+
++-
+
+
+
+Parameters
++-
+
+
+client: Client
+Returns default
+Properties
+[$mobx]
+Type declaration
++
+changeListeners_
+client
+data_
+dehancer
+enhancer_
+hasMap_
+interceptors_
+keysAtom_
+name_
+Accessors
+[toStringTag]
++- get [toStringTag](): string
+
++-
+
+
+
+Returns string
+size
++- get size(): number
+
++-
+
+
+
+Returns number
+Methods
+$get
++- $get(id: string, data?: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }): Message
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+id: string
+Optional data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]
++- description
+
+
+Array of attachments
+author: string
++- description
+
+
+Id of the user that sent this message
+channel: string
++- description
+
+
+Id of the channel this message was sent in
+Optional content?: null | string
++- description
+
+
+Message content
+Optional edited?: null | string
++- description
+
+
+Time at which this message was last edited
+Optional embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]
++- description
+
+
+Attached embeds to this message
+Optional masquerade?: null | { avatar?: null | string; name?: null | string }
++- description
+
+
+Name and / or avatar overrides for this message
+Optional mentions?: null | string[]
++- description
+
+
+Array of user ids mentioned in this message
+Optional nonce?: null | string
++- description
+
+
+Unique value generated by client sending this message
+Optional replies?: null | string[]
++- description
+
+
+Array of message ids this message is replying to
+Optional system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" }
++- description
+
+
+System message
+Returns Message
+[iterator]
++- [iterator](): IterableIterator<IMapEntry<string, Message>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Message>>
+clear
++- clear(): void
+
++-
+
+
+
+Returns void
+createObj
++- create
Obj(data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }, emit?: number | boolean): Message
+
++-
+
+
+
+
+
+
+
+Create a message object. + This is meant for internal use only.
+Parameters
++-
+
+
+
+ -
+
+
+
+
+data: { _id: string; attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]; author: string; channel: string; content?: null | string; edited?: null | string; embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]; masquerade?: null | { avatar?: null | string; name?: null | string }; mentions?: null | string[]; nonce?: null | string; replies?: null | string[]; system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" } }
+Message Data
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional attachments?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }[]
++- description
+
+
+Array of attachments
+author: string
++- description
+
+
+Id of the user that sent this message
+channel: string
++- description
+
+
+Id of the channel this message was sent in
+Optional content?: null | string
++- description
+
+
+Message content
+Optional edited?: null | string
++- description
+
+
+Time at which this message was last edited
+Optional embeds?: null | ({ colour?: null | string; description?: null | string; icon_url?: null | string; image?: null | { height: number; size: "Large" | "Preview"; url: string; width: number }; site_name?: null | string; special?: null | { type: "None" } | { id: string; timestamp?: null | string; type: "YouTube" } | { content_type: "Channel"; id: string; type: "Lightspeed" } | { content_type: "Channel" | "Video" | "Clip"; id: string; type: "Twitch" } | { content_type: string; id: string; type: "Spotify" } | { type: "Soundcloud" } | { content_type: "Album" | "Track"; id: string; type: "Bandcamp" }; title?: null | string; type: "Website"; url?: null | string; video?: null | { height: number; url: string; width: number } } | { height: number; size: "Large" | "Preview"; type: "Image"; url: string; width: number } | { colour?: null | string; description?: null | string; icon_url?: null | string; media?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; title?: null | string; type: "Text"; url?: null | string } | { type: "None" })[]
++- description
+
+
+Attached embeds to this message
+Optional masquerade?: null | { avatar?: null | string; name?: null | string }
++- description
+
+
+Name and / or avatar overrides for this message
+Optional mentions?: null | string[]
++- description
+
+
+Array of user ids mentioned in this message
+Optional nonce?: null | string
++- description
+
+
+Unique value generated by client sending this message
+Optional replies?: null | string[]
++- description
+
+
+Array of message ids this message is replying to
+Optional system?: null | { content: string; type: "text" } | { by: string; id: string; type: "user_added" } | { by: string; id: string; type: "user_remove" } | { id: string; type: "user_joined" } | { id: string; type: "user_left" } | { id: string; type: "user_kicked" } | { id: string; type: "user_banned" } | { by: string; name: string; type: "channel_renamed" } | { by: string; type: "channel_description_changed" } | { by: string; type: "channel_icon_changed" }
++- description
+
+
+System message
+Optional emit: number | boolean
+Whether to emit creation event
+Returns Message
+Message
+delete
++- delete(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+entries
++- entries(): IterableIterator<IMapEntry<string, Message>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Message>>
+forEach
++- for
Each(callback: (value: Message, key: string, object: Map<string, Message>) => void, thisArg?: any): void
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+callback: (value: Message, key: string, object: Map<string, Message>) => void
++-
+
+
++- (value: Message, key: string, object: Map<string, Message>): void
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+
+value: Message
+key: string
+object: Map<string, Message>
+Returns void
+Optional thisArg: any
+Returns void
+get
++- get(key: string): undefined | Message
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns undefined | Message
+has
++- has(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+intercept_
++- intercept_(handler: IInterceptor<IMapWillChange<string, Message>>): Lambda
+
++-
+
+
+
+Parameters
++-
+
+
+handler: IInterceptor<IMapWillChange<string, Message>>
+Returns Lambda
+keys
++- keys(): IterableIterator<string>
+
++-
+
+
+
+Returns IterableIterator<string>
+merge
++- merge(other: any): ObservableMap<string, Message>
+
++-
+
+
+
+
+
+
+
+Merge another object into this object, returns this.
+Parameters
++-
+
+
+other: any
+Returns ObservableMap<string, Message>
+observe_
++- observe_(listener: (changes: IMapDidChange<string, Message>) => void, fireImmediately?: boolean): Lambda
+
++-
+
+
+
+
+
+
+
+Observes this object. Triggers for the events 'add', 'update' and 'delete'. + See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe + for callback details
+Parameters
++-
+
+ -
+
+
+listener: (changes: IMapDidChange<string, Message>) => void
++-
+
+
++- (changes: IMapDidChange<string, Message>): void
+
++-
+
+
+Parameters
++-
+
+
+changes: IMapDidChange<string, Message>
+Returns void
+Optional fireImmediately: boolean
+Returns Lambda
+replace
++- replace(values: any): ObservableMap<string, Message>
+
++-
+
+
+
+Parameters
++-
+
+
+values: any
+Returns ObservableMap<string, Message>
+set
++- set(key: string, value: Message): default
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+key: string
+value: Message
+Returns default
+toJSON
++- toJSON(): [string, Message][]
+
++-
+
+
+
+Returns [string, Message][]
+toString
++- to
String(): string
+
++-
+
+
+
+Returns string
+values
++- values(): IterableIterator<Message>
+
++-
+
+
+
+Returns IterableIterator<Message>
+Generated using TypeDoc
+Class Server
@@ -80,65 +83,65 @@Constructors
-- constructor
+ - constructor
Properties
-- _id
- - banner
- - categories
- - channel_
ids
- - client
- - default_
permissions
- - description
- - flags
- - icon
- - name
- - nsfw
- - owner
- - roles
- - system_
messages
+ - _id
+ - banner
+ - categories
+ - channel_
ids
+ - client
+ - default_
permissions
+ - description
+ - flags
+ - icon
+ - name
+ - nsfw
+ - owner
+ - roles
+ - system_
messages
Accessors
-- channels
- - created
At
- - member
- - ordered
Channels
- - ordered
Roles
- - path
- - permission
- - url
+ - channels
+ - created
At
+ - member
+ - ordered
Channels
+ - ordered
Roles
+ - path
+ - permission
+ - url
Methods
-- ack
- - ban
User
- - create
Channel
- - create
Role
- - delete
- - delete
Role
- - edit
- - edit
Role
- - fetch
Bans
- - fetch
Invites
- - fetch
Member
- - fetch
Members
- - generate
BannerURL
- - generate
IconURL
- - get
Mentions
- - have
Permission
- - is
Unread
- - set
Permissions
- - sync
Members
- - unban
User
- - update
+ - ack
+ - ban
User
+ - create
Channel
+ - create
Role
+ - delete
+ - delete
Role
+ - edit
+ - edit
Role
+ - fetch
Bans
+ - fetch
Invites
+ - fetch
Member
+ - fetch
Members
+ - generate
BannerURL
+ - generate
IconURL
+ - get
Mentions
+ - have
Permission
+ - is
Unread
+ - set
Permissions
+ - sync
Members
+ - unban
User
+ - update
constructor
-- new
Server(client: Client, data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Server
+ - new
Server(client: Client, data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Server
-
-
-
-
-Parameters
client: Client
+client: Client
data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
@@ -331,7 +334,7 @@Returns Server
+Returns Server
banner
-categories
-client
-description
-flags
-icon
-nsfw
-roles
-system_messages
-channels
-- get channels(): (undefined | Channel)[]
+ - get channels(): (undefined | Channel)[]
-
-
@@ -508,7 +511,7 @@Returns (undefined | Channel)[]
+Returns (undefined | Channel)[]
member
-- get member(): undefined | Member
+ - get member(): undefined | Member
Get our own member object for this server
Returns undefined | Member
+Returns undefined | Member
orderedChannels
-- get orderedChannels(): (Omit<{ channels: string[]; id: string; title: string }, "channels"> & { channels: Channel[] })[]
+ - get orderedChannels(): (Omit<{ channels: string[]; id: string; title: string }, "channels"> & { channels: Channel[] })[]
id="default"category.Returns (Omit<{ channels: string[]; id: string; title: string }, "channels"> & { channels: Channel[] })[]
+Returns (Omit<{ channels: string[]; id: string; title: string }, "channels"> & { channels: Channel[] })[]
ack
-- ack(): Promise<undefined | { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+ - ack(): Promise<undefined | { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
Mark a server as read
Returns Promise<undefined | { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+Returns Promise<undefined | { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
fetchMember
-- fetch
Member(user: string | User): Promise<Member>
+ - fetch
Member(user: string | User): Promise<Member>
-
@@ -1168,13 +1171,13 @@
-
@@ -1197,7 +1200,7 @@
-
@@ -1206,13 +1209,13 @@Parameters
-
-
-user: string | User
+user: string | User
User or User ID
Returns Promise<Member>
+Returns Promise<Member>
Server member object
@@ -1183,13 +1186,13 @@fetchMembers
-- fetch
Members(): Promise<{ members: Member[]; users: User[] }>
+ - fetch
Members(): Promise<{ members: Member[]; users: User[] }>
Fetch a server's members.
Returns Promise<{ members: Member[]; users: User[] }>
+Returns Promise<{ members: Member[]; users: User[] }>
An array of the server's members and their user objects.
generateBannerURL
-- generate
BannerURL(...args: FileArgs): undefined | string
+ - generate
BannerURL(...args: FileArgs): undefined | string
Parameters
Rest ...args: FileArgs
+Rest ...args: FileArgs
File parameters
generateIconURL
-- generate
IconURL(...args: FileArgs): undefined | string
+ - generate
IconURL(...args: FileArgs): undefined | string
Parameters
Rest ...args: FileArgs
+Rest ...args: FileArgs
File parameters
getMentions
-- get
Mentions(permit?: INotificationChecker): string[]
+ - get
Mentions(permit?: INotificationChecker): string[]
Parameters
Optional permit: INotificationChecker
+Optional permit: INotificationChecker
Callback function to determine whether a server has certain properties
isUnread
-- is
Unread(permit?: INotificationChecker): undefined | false | Channel
+ - is
Unread(permit?: INotificationChecker): undefined | false | Channel
Parameters
-
-
-Optional permit: INotificationChecker
+Optional permit: INotificationChecker
Callback function to determine whether a server has certain properties
Returns undefined | false | Channel
+Returns undefined | false | Channel
Whether the server is unread
@@ -1372,7 +1375,7 @@Parameters
@@ -1492,230 +1495,206 @@ @@ -1727,16 +1706,21 @@Legend
+- Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
+
++- Class
+ - Class with type parameter
- Constructor
- Property
- Method
-- Private property
- - Private method
-
--- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Servers
+
+ -
+ default
+
+
+Class default
+Hierarchy
++-
+ default<string, Server>
+
+
++-
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- [$mobx]
+ - change
Listeners_
+ - client
+ - data_
+ - dehancer
+ - enhancer_
+ - has
Map_
+ - interceptors_
+ - keys
Atom_
+ - name_
+
+Accessors
++- [to
StringTag]
+ - size
+
+Methods
++- $get
+ - [iterator]
+ - clear
+ - create
Obj
+ - create
Server
+ - delete
+ - entries
+ - fetch
+ - for
Each
+ - get
+ - has
+ - intercept_
+ - keys
+ - merge
+ - observe_
+ - replace
+ - set
+ - toJSON
+ - to
String
+ - values
+
+Constructors
+constructor
++- new default(client: Client): default
+
++-
+
+
+
+Parameters
++-
+
+
+client: Client
+Returns default
+Properties
+[$mobx]
+Type declaration
++
+changeListeners_
+client
+data_
+dehancer
+enhancer_
+hasMap_
+interceptors_
+keysAtom_
+name_
+Accessors
+[toStringTag]
++- get [toStringTag](): string
+
++-
+
+
+
+Returns string
+size
++- get size(): number
+
++-
+
+
+
+Returns number
+Methods
+$get
++- $get(id: string, data?: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Server
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+id: string
+Optional data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional analytics?: boolean
++- description
+
+
+Whether to enable analytics
+Optional banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Banner attachment
+Optional categories?: null | { channels: string[]; id: string; title: string }[]
++- description
+
+
+Categories for this server
+channels: string[]
++- description
+
+
+Channels within this server
+default_permissions: number
+Format: int64
++- description
+
+
+Default set of server and channel permissions
+Optional description?: null | string
++- description
+
+
+Description for the server
+Optional discoverable?: boolean
++- description
+
+
+Whether this server should be publicly discoverable
+Optional flags?: null | number
+Format: int32
++- description
+
+
+Enum of server flags
+Optional icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Icon attachment
+name: string
++- description
+
+
+Name of the server
+Optional nsfw?: boolean
++- description
+
+
+Whether this server is flagged as not safe for work
+owner: string
++- description
+
+
+User id of the owner
+Optional roles?: {}
++- description
+
+
+Roles for this server
++-
+
+
+[key: string]: components["schemas"]["Role"]
+Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
++- description
+
+
+Configuration for sending system event messages
+Returns Server
+[iterator]
++- [iterator](): IterableIterator<IMapEntry<string, Server>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Server>>
+clear
++- clear(): void
+
++-
+
+
+
+Returns void
+createObj
++- create
Obj(data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }): Server
+
++-
+
+
+
+
+
+
+
+Create a server object. + This is meant for internal use only.
+Parameters
++-
+
+
+data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional analytics?: boolean
++- description
+
+
+Whether to enable analytics
+Optional banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Banner attachment
+Optional categories?: null | { channels: string[]; id: string; title: string }[]
++- description
+
+
+Categories for this server
+channels: string[]
++- description
+
+
+Channels within this server
+default_permissions: number
+Format: int64
++- description
+
+
+Default set of server and channel permissions
+Optional description?: null | string
++- description
+
+
+Description for the server
+Optional discoverable?: boolean
++- description
+
+
+Whether this server should be publicly discoverable
+Optional flags?: null | number
+Format: int32
++- description
+
+
+Enum of server flags
+Optional icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Icon attachment
+name: string
++- description
+
+
+Name of the server
+Optional nsfw?: boolean
++- description
+
+
+Whether this server is flagged as not safe for work
+owner: string
++- description
+
+
+User id of the owner
+Optional roles?: {}
++- description
+
+
+Roles for this server
++-
+
+
+[key: string]: components["schemas"]["Role"]
+Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
++- description
+
+
+Configuration for sending system event messages
+Returns Server
+Server
+createServer
++- create
Server(data: { description?: null | string; name: string; nsfw?: null | boolean }): Promise<Server>
+
++-
+
+
+
+
+
+
+
+Create a server
+Parameters
++-
+
+
+
+
+data: { description?: null | string; name: string; nsfw?: null | boolean }
+Server create route data
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+Optional description?: null | string
++- description
+
+
+Server description
+name: string
++- description
+
+
+Server name
+Optional nsfw?: null | boolean
++- description
+
+
+Whether this server is age-restricted
+Returns Promise<Server>
+The newly-created server
+delete
++- delete(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+entries
++- entries(): IterableIterator<IMapEntry<string, Server>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, Server>>
+fetch
++- fetch(id: string, data?: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }, channels?: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]): Promise<Server>
+
++-
+
+
+
+
+
+
+
+Fetch a server
+Parameters
++-
+
+
+
+ -
+
+ -
+
+
+id: string
+Server ID
+Optional data: { _id: string; analytics?: boolean; banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; categories?: null | { channels: string[]; id: string; title: string }[]; channels: string[]; default_permissions: number; description?: null | string; discoverable?: boolean; flags?: null | number; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; owner: string; roles?: {}; system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string } }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional analytics?: boolean
++- description
+
+
+Whether to enable analytics
+Optional banner?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Banner attachment
+Optional categories?: null | { channels: string[]; id: string; title: string }[]
++- description
+
+
+Categories for this server
+channels: string[]
++- description
+
+
+Channels within this server
+default_permissions: number
+Format: int64
++- description
+
+
+Default set of server and channel permissions
+Optional description?: null | string
++- description
+
+
+Description for the server
+Optional discoverable?: boolean
++- description
+
+
+Whether this server should be publicly discoverable
+Optional flags?: null | number
+Format: int32
++- description
+
+
+Enum of server flags
+Optional icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Icon attachment
+name: string
++- description
+
+
+Name of the server
+Optional nsfw?: boolean
++- description
+
+
+Whether this server is flagged as not safe for work
+owner: string
++- description
+
+
+User id of the owner
+Optional roles?: {}
++- description
+
+
+Roles for this server
++-
+
+
+[key: string]: components["schemas"]["Role"]
+Optional system_messages?: null | { user_banned?: null | string; user_joined?: null | string; user_kicked?: null | string; user_left?: null | string }
++- description
+
+
+Configuration for sending system event messages
+Optional channels: ({ _id: string; channel_type: "SavedMessages"; user: string } | { _id: string; active: boolean; channel_type: "DirectMessage"; last_message_id?: null | string; recipients: string[] } | { _id: string; channel_type: "Group"; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; owner: string; permissions?: null | number; recipients: string[] } | { _id: string; channel_type: "TextChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; last_message_id?: null | string; name: string; nsfw?: boolean; role_permissions?: {}; server: string } | { _id: string; channel_type: "VoiceChannel"; default_permissions?: null | { a: number; d: number }; description?: null | string; icon?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; name: string; nsfw?: boolean; role_permissions?: {}; server: string })[]
+Returns Promise<Server>
+The server
+forEach
++- for
Each(callback: (value: Server, key: string, object: Map<string, Server>) => void, thisArg?: any): void
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+callback: (value: Server, key: string, object: Map<string, Server>) => void
++-
+
+
++- (value: Server, key: string, object: Map<string, Server>): void
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+
+value: Server
+key: string
+object: Map<string, Server>
+Returns void
+Optional thisArg: any
+Returns void
+get
++- get(key: string): undefined | Server
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns undefined | Server
+has
++- has(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+intercept_
++- intercept_(handler: IInterceptor<IMapWillChange<string, Server>>): Lambda
+
++-
+
+
+
+Parameters
++-
+
+
+handler: IInterceptor<IMapWillChange<string, Server>>
+Returns Lambda
+keys
++- keys(): IterableIterator<string>
+
++-
+
+
+
+Returns IterableIterator<string>
+merge
++- merge(other: any): ObservableMap<string, Server>
+
++-
+
+
+
+
+
+
+
+Merge another object into this object, returns this.
+Parameters
++-
+
+
+other: any
+Returns ObservableMap<string, Server>
+observe_
++- observe_(listener: (changes: IMapDidChange<string, Server>) => void, fireImmediately?: boolean): Lambda
+
++-
+
+
+
+
+
+
+
+Observes this object. Triggers for the events 'add', 'update' and 'delete'. + See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe + for callback details
+Parameters
++-
+
+ -
+
+
+listener: (changes: IMapDidChange<string, Server>) => void
++-
+
+
++- (changes: IMapDidChange<string, Server>): void
+
++-
+
+
+Parameters
++-
+
+
+changes: IMapDidChange<string, Server>
+Returns void
+Optional fireImmediately: boolean
+Returns Lambda
+replace
++- replace(values: any): ObservableMap<string, Server>
+
++-
+
+
+
+Parameters
++-
+
+
+values: any
+Returns ObservableMap<string, Server>
+set
++- set(key: string, value: Server): default
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+key: string
+value: Server
+Returns default
+toJSON
++- toJSON(): [string, Server][]
+
++-
+
+
+
+Returns [string, Server][]
+toString
++- to
String(): string
+
++-
+
+
+
+Returns string
+values
++- values(): IterableIterator<Server>
+
++-
+
+
+
+Returns IterableIterator<Server>
+Generated using TypeDoc
+Class User
@@ -80,45 +83,45 @@Constructors
-- constructor
+ - constructor
Properties
-- _id
- - avatar
- - badges
- - bot
- - client
- - flags
- - online
- - privileged
- - relationship
- - status
- - username
+ - _id
+ - avatar
+ - badges
+ - bot
+ - client
+ - flags
+ - online
+ - privileged
+ - relationship
+ - status
+ - username
Accessors
-- created
At
- - default
AvatarURL
- - permission
+ - created
At
+ - default
AvatarURL
+ - permission
Methods
-- add
Friend
- - block
User
- - fetch
Mutual
- - fetch
Profile
- - generate
AvatarURL
- - openDM
- - remove
Friend
- - unblock
User
- - update
+ - add
Friend
+ - block
User
+ - fetch
Mutual
+ - fetch
Profile
+ - generate
AvatarURL
+ - openDM
+ - remove
Friend
+ - unblock
User
+ - update
constructor
-- new
User(client: Client, data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }): User
+ - new
User(client: Client, data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }): User
Parameters
client: Client
+client: Client
data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }
+data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }
_id: string
@@ -234,7 +237,7 @@Optional relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
+Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
Optional relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
+Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
Returns User
+Returns User
@@ -289,57 +292,57 @@avatar
-badges
-bot
-client
-flags
-relationship
-status
-Returns number
@@ -464,13 +467,13 @@addFriend
-- add
Friend(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+ - add
Friend(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
Send a friend request to a user
Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
blockUser
-- block
User(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+ - block
User(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
Block a user
Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
generateAvatarURL
-- generate
AvatarURL(...args: FileArgs): string
+ - generate
AvatarURL(...args: FileArgs): string
Parameters
Rest ...args: FileArgs
+Rest ...args: FileArgs
Returns string
@@ -577,13 +580,13 @@openDM
-- openDM(): Promise<Channel>
+ - openDM(): Promise<Channel>
Open a DM with a user
Returns Promise<Channel>
+Returns Promise<Channel>
DM Channel
removeFriend
-- remove
Friend(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+ - remove
Friend(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
Remove a user from the friend list
Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
unblockUser
-- unblock
User(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+ - unblock
User(): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
Unblock a user
Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
update
-- update(data: Partial<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>, clear?: ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]): void
+ - update(data: Partial<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>, clear?: ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]): void
Parameters
data: Partial<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "None" | "User" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+data: Partial<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
clear: ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[] = []
@@ -672,170 +675,146 @@ @@ -847,16 +826,21 @@Legend
+- Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
+
++- Class
+ - Class with type parameter
- Constructor
- Property
- Method
-- Private property
- - Private method
-
--- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Users
+
+ -
+ default
+
+
+Class default
+Hierarchy
++-
+ default<string, User>
+
+
++-
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- [$mobx]
+ - change
Listeners_
+ - client
+ - data_
+ - dehancer
+ - enhancer_
+ - has
Map_
+ - interceptors_
+ - keys
Atom_
+ - name_
+
+Accessors
++- [to
StringTag]
+ - size
+
+Methods
++- $get
+ - [iterator]
+ - change
Username
+ - clear
+ - create
Obj
+ - delete
+ - edit
+ - entries
+ - fetch
+ - for
Each
+ - get
+ - has
+ - intercept_
+ - keys
+ - merge
+ - observe_
+ - replace
+ - set
+ - toJSON
+ - to
String
+ - values
+
+Constructors
+constructor
++- new default(client: Client): default
+
++-
+
+
+
+Parameters
++-
+
+
+client: Client
+Returns default
+Properties
+[$mobx]
+Type declaration
++
+changeListeners_
+client
+data_
+dehancer
+enhancer_
+hasMap_
+interceptors_
+keysAtom_
+name_
+Accessors
+[toStringTag]
++- get [toStringTag](): string
+
++-
+
+
+
+Returns string
+size
++- get size(): number
+
++-
+
+
+
+Returns number
+Methods
+$get
++- $get(id: string, data?: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }): User
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+id: string
+Optional data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Avatar attachment
+Optional badges?: null | number
+Format: int32
++- description
+
+
+Bitfield of user badges
+Optional bot?: null | { owner: string }
++- description
+
+
+Bot information
+Optional flags?: null | number
+Format: int32
++- description
+
+
+Enum of user flags
+Optional online?: null | boolean
++- description
+
+
+Whether this user is currently online
+Optional privileged?: boolean
++- description
+
+
+Whether this user is privileged
+Optional profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }
++- description
+
+
+User's profile page
+Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
++- description
+
+
+Relationships with other users
+Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
++- description
+
+
+Current session user's relationship with this user
+Optional status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }
++- description
+
+
+User's current status
+username: string
++- description
+
+
+Username
+Returns User
+[iterator]
++- [iterator](): IterableIterator<IMapEntry<string, User>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, User>>
+changeUsername
++- change
Username(username: string, password: string): Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+
++-
+
+
+
+
+
+
+
+Change the username of the current user
+Parameters
++-
+
+
+
+ -
+
+
+
+
+username: string
+New username
+password: string
+Current password
+Returns Promise<{ _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }>
+clear
++- clear(): void
+
++-
+
+
+
+Returns void
+createObj
++- create
Obj(data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }): User
+
++-
+
+
+
+
+
+
+
+Create a user object. + This is meant for internal use only.
+Parameters
++-
+
+
+data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Avatar attachment
+Optional badges?: null | number
+Format: int32
++- description
+
+
+Bitfield of user badges
+Optional bot?: null | { owner: string }
++- description
+
+
+Bot information
+Optional flags?: null | number
+Format: int32
++- description
+
+
+Enum of user flags
+Optional online?: null | boolean
++- description
+
+
+Whether this user is currently online
+Optional privileged?: boolean
++- description
+
+
+Whether this user is privileged
+Optional profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }
++- description
+
+
+User's profile page
+Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
++- description
+
+
+Relationships with other users
+Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
++- description
+
+
+Current session user's relationship with this user
+Optional status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }
++- description
+
+
+User's current status
+username: string
++- description
+
+
+Username
+Returns User
+User
+delete
++- delete(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+edit
++- edit(data: { avatar?: null | string; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string } }): Promise<void>
+
++-
+
+
+
+
+
+
+
+Edit the current user
+Parameters
++-
+
+
+
+
+data: { avatar?: null | string; profile?: null | { background?: null | string; content?: null | string }; remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string } }
+User edit data object
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+Optional avatar?: null | string
++- description
+
+
+Attachment Id for avatar
+Optional profile?: null | { background?: null | string; content?: null | string }
++- description
+
+
+New user profile data
+This is applied as a partial.
+Optional remove?: null | ("Avatar" | "StatusText" | "StatusPresence" | "ProfileContent" | "ProfileBackground")[]
++- description
+
+
+Fields to remove from user object
+Optional status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }
++- description
+
+
+New user status
+Returns Promise<void>
+entries
++- entries(): IterableIterator<IMapEntry<string, User>>
+
++-
+
+
+
+Returns IterableIterator<IMapEntry<string, User>>
+fetch
++- fetch(id: string, data?: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }): Promise<User>
+
++-
+
+
+
+
+
+
+
+Fetch a user
+Parameters
++-
+
+
+
+ -
+
+
+id: string
+User ID
+Optional data: { _id: string; avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; badges?: null | number; bot?: null | { owner: string }; flags?: null | number; online?: null | boolean; privileged?: boolean; profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }; relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]; relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"; status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }; username: string }
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+_id: string
++- description
+
+
+Unique Id
+Optional avatar?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }
++- description
+
+
+Avatar attachment
+Optional badges?: null | number
+Format: int32
++- description
+
+
+Bitfield of user badges
+Optional bot?: null | { owner: string }
++- description
+
+
+Bot information
+Optional flags?: null | number
+Format: int32
++- description
+
+
+Enum of user flags
+Optional online?: null | boolean
++- description
+
+
+Whether this user is currently online
+Optional privileged?: boolean
++- description
+
+
+Whether this user is privileged
+Optional profile?: null | { background?: null | { _id: string; content_type: string; deleted?: null | boolean; filename: string; message_id?: null | string; metadata: { type: "File" } | { type: "Text" } | { height: number; type: "Image"; width: number } | { height: number; type: "Video"; width: number } | { type: "Audio" }; object_id?: null | string; reported?: null | boolean; server_id?: null | string; size: number; tag: string; user_id?: null | string }; content?: null | string }
++- description
+
+
+User's profile page
+Optional relations?: null | { _id: string; status: "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther" }[]
++- description
+
+
+Relationships with other users
+Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"
++- description
+
+
+Current session user's relationship with this user
+Optional status?: null | { presence?: null | "Online" | "Idle" | "Busy" | "Invisible"; text?: null | string }
++- description
+
+
+User's current status
+username: string
++- description
+
+
+Username
+Returns Promise<User>
+User
+forEach
++- for
Each(callback: (value: User, key: string, object: Map<string, User>) => void, thisArg?: any): void
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+callback: (value: User, key: string, object: Map<string, User>) => void
++-
+
+
++- (value: User, key: string, object: Map<string, User>): void
+
++-
+
+
+Parameters
++-
+
+ -
+
+ -
+
+
+value: User
+key: string
+object: Map<string, User>
+Returns void
+Optional thisArg: any
+Returns void
+get
++- get(key: string): undefined | User
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns undefined | User
+has
++- has(key: string): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+key: string
+Returns boolean
+intercept_
++- intercept_(handler: IInterceptor<IMapWillChange<string, User>>): Lambda
+
++-
+
+
+
+Parameters
++-
+
+
+handler: IInterceptor<IMapWillChange<string, User>>
+Returns Lambda
+keys
++- keys(): IterableIterator<string>
+
++-
+
+
+
+Returns IterableIterator<string>
+merge
++- merge(other: any): ObservableMap<string, User>
+
++-
+
+
+
+
+
+
+
+Merge another object into this object, returns this.
+Parameters
++-
+
+
+other: any
+Returns ObservableMap<string, User>
+observe_
++- observe_(listener: (changes: IMapDidChange<string, User>) => void, fireImmediately?: boolean): Lambda
+
++-
+
+
+
+
+
+
+
+Observes this object. Triggers for the events 'add', 'update' and 'delete'. + See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe + for callback details
+Parameters
++-
+
+ -
+
+
+listener: (changes: IMapDidChange<string, User>) => void
++-
+
+
++- (changes: IMapDidChange<string, User>): void
+
++-
+
+
+Parameters
++-
+
+
+changes: IMapDidChange<string, User>
+Returns void
+Optional fireImmediately: boolean
+Returns Lambda
+replace
++- replace(values: any): ObservableMap<string, User>
+
++-
+
+
+
+Parameters
++-
+
+
+values: any
+Returns ObservableMap<string, User>
+set
++- set(key: string, value: User): default
+
++-
+
+
+
+Parameters
++-
+
+ -
+
+
+key: string
+value: User
+Returns default
+toJSON
++- toJSON(): [string, User][]
+
++-
+
+
+
+Returns [string, User][]
+toString
++- to
String(): string
+
++-
+
+
+
+Returns string
+values
++- values(): IterableIterator<User>
+
++-
+
+
+
+Returns IterableIterator<User>
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ util/Unreads
+
+ -
+ default
+
+
+Class default
+Handles channel unreads.
+Hierarchy
++-
+ default
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- channels
+ - client
+
+Methods
++- get
Unread
+ - mark
Mention
+ - mark
MultipleRead
+ - mark
Read
+ - mark
Unread
+ - sync
+
+Constructors
+constructor
++- new default(client: Client): default
+
++-
+
+
+
+
+
+
+
+Construct new Unreads store.
+Parameters
++-
+
+
+client: Client
+Returns default
+Properties
+Private channels
+Private client
+Methods
+getUnread
++- get
Unread(channel_id: string): undefined | Omit<{ _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }, "_id">
+
++-
+
+
+
+
+
+
+
+Get channel unread object for a given channel.
+Parameters
++-
+
+
+
+
+channel_id: string
+Target channel ID
+Returns undefined | Omit<{ _id: { channel: string; user: string }; last_id?: null | string; mentions?: null | string[] }, "_id">
+Partial channel unread object
+markMention
++- mark
Mention(channel_id: string, message_id: string): void
+
++-
+
+
+
+
+
+
+
+Add a mention to a channel unread.
+Parameters
++-
+
+
+
+ -
+
+
+
+
+channel_id: string
+Target channel ID
+message_id: string
+Target message ID
+Returns void
+markMultipleRead
++- mark
MultipleRead(channel_ids: string[]): void
+
++-
+
+
+
+
+
+
+
+Mark multiple channels as read.
+Parameters
++-
+
+
+
+
+channel_ids: string[]
+Target channel IDs
+Returns void
+markRead
++- mark
Read(channel_id: string, message_id?: string, emit?: boolean, skipRateLimiter?: boolean): void
+
++-
+
+
+
+
+
+
+
+Mark a channel as read.
+Parameters
++-
+
+
+
+ -
+
+
+
+ -
+
+
+
+ -
+
+
+
+
+channel_id: string
+Target channel ID
+Optional message_id: string
+Target message ID (last sent in channel)
+emit: boolean = false
+Whether to emit to server
+skipRateLimiter: boolean = false
+Whether to skip the rate limiter
+Returns void
+markUnread
++- mark
Unread(channel_id: string, last_id: string): void
+
++-
+
+
+
+
+
+
+
+Mark a channel as unread by setting a custom last_id.
+Parameters
++-
+
+
+
+ -
+
+
+
+
+channel_id: string
+Target channel ID
+last_id: string
+New last ID
+Returns void
+sync
++- sync(): Promise<void>
+
++-
+
+
+
+
+
+
+
+Sync unread data from the server.
+Returns Promise<void>
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ websocket/client
+
+ -
+ WebSocketClient
+
+
+Class WebSocketClient
+Hierarchy
++-
+ WebSocketClient
+
+
+Index
+Constructors
++- constructor
+
+Properties
++- client
+ - connected
+ - heartbeat
+ - ping
+ - ready
+ - ws
+
+Methods
++- connect
+ - disconnect
+ - send
+
+Constructors
+constructor
++- new
WebSocketClient(client: Client): WebSocketClient
+
++-
+
+
+
+Parameters
++-
+
+
+client: Client
+Returns WebSocketClient
+Properties
+client
+connected
+Optional heartbeat
+Optional ping
+ready
+Optional ws
+Methods
+connect
++- connect(disallowReconnect?: boolean): Promise<void>
+
++-
+
+
+
+
+
+
+
+Connect the WebSocket
+Parameters
++-
+
+
+
+
+Optional disallowReconnect: boolean
+Whether to disallow reconnection
+Returns Promise<void>
+disconnect
++- disconnect(): void
+
++-
+
+
+
+
+
+
+
+Disconnect the WebSocket and disable heartbeats.
+Returns void
+send
++- send(notification: ServerboundNotification): void
+
++-
+
+
+
+
+
+
+
+Send a notification
+Parameters
++-
+
+
+
+
+notification: ServerboundNotification
+Serverbound notification
+Returns void
+Generated using TypeDoc
+Legend
-- Constructor
- - Property
- - Method
+ - Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
-- Private property
- - Private method
+ - Class
+ - Class with type parameter
-- Property
+ - Interface
Interface ClientOptions
@@ -87,15 +90,15 @@Properties
-- ack
RateLimiter
- - apiURL
- - auto
Reconnect
- - cache
- - debug
- - heartbeat
- - on
PongTimeout
- - pong
Timeout
- - unreads
+ - ack
RateLimiter
+ - apiURL
+ - auto
Reconnect
+ - cache
+ - debug
+ - heartbeat
+ - on
PongTimeout
+ - pong
Timeout
+ - unreads
Legend
-- Constructor
- - Property
- - Method
-
--- Private property
- - Private method
+ - Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
+- Interface
- Property
++- Class
+ - Class with type parameter
+
Interface Options
@@ -90,8 +93,8 @@Properties
-- authentication
- - baseURL
+ - authentication
+ - baseURL
Legend
-- Constructor
- - Property
- - Method
+ - Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
-- Private property
- - Private method
+ - Class
+ - Class with type parameter
-- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ util/Unreads
+
+ -
+ INotificationChecker
+
+
+Interface INotificationChecker
+Hierarchy
++-
+ INotificationChecker
+
+
+Index
+Methods
++- is
Muted
+
+Methods
+isMuted
++- is
Muted(target?: Channel | Server): boolean
+
++-
+
+
+
+Parameters
++-
+
+
+Optional target: Channel | Server
+Returns boolean
+Generated using TypeDoc
+Index
Namespaces
--- API
-
-Classes
+Modules
-- Channel
- - Client
- - Member
- - Message
- - Server
- - User
-
-Interfaces
--- Client
Options
-
-Type aliases
--- Clientbound
Notification
- - File
Args
- - Nullable
- - Ready
Packet
- - Serverbound
Notification
-
-Variables
--- DEFAULT_
PERMISSION
- - DEFAULT_
PERMISSION_DIRECT_MESSAGE
- - DEFAULT_
PERMISSION_SAVED_MESSAGES
- - DEFAULT_
PERMISSION_SERVER
- - DEFAULT_
PERMISSION_VIEW_ONLY
- - LIBRARY_
VERSION
- - Permission
- - RE_
MENTIONS
- - RE_
SPOILER
- - U32_
MAX
- - User
Permission
- - default
Config
-
-Functions
--- calculate
Permission
- - to
Nullable
- - to
NullableDate
+ - Client
+ - config
+ - globals
+ - index
+ - maps/
Bots
+ - maps/
Channels
+ - maps/
Collection
+ - maps/
Members
+ - maps/
Messages
+ - maps/
Servers
+ - maps/
Users
+ - permissions/calculator
+ - permissions/definitions
+ - util/
Unreads
+ - util/null
+ - websocket/client
+ - websocket/notifications
Type aliases
-ClientboundNotification
-FileArgs
-Nullable
-Type parameters
---
-
-
-T
-ReadyPacket
-Type declaration
---
-
- -
-
- -
-
- -
-
- -
-
-
-channels: Channel[]
-members: Member[]
-servers: Server[]
-type: "Ready"
-users: User[]
-ServerboundNotification
-Variables
-Const DEFAULT_PERMISSION
-Default base permissions for channels
-Const DEFAULT_PERMISSION_DIRECT_MESSAGE
-Permissions in direct message channel
-Const DEFAULT_PERMISSION_SAVED_MESSAGES
-Permissions in saved messages channel
-Const DEFAULT_PERMISSION_SERVER
-Permissions in server text / voice channel
-Const DEFAULT_PERMISSION_VIEW_ONLY
-Default permissions if we can only view
-Const LIBRARY_VERSION
-Const Permission
-Permission against Server / Channel
-Type declaration
---
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-AssignRoles: number
-BanMembers: number
-ChangeAvatar: number
-ChangeNickname: number
-Connect: number
-DeafenMembers: number
-GrantAllSafe: number
-InviteOthers: number
-KickMembers: number
-ManageChannel: number
-ManageMessages: number
-ManageNicknames: number
-ManagePermissions: number
-ManageRole: number
-ManageServer: number
-ManageWebhooks: number
-Masquerade: number
-MoveMembers: number
-MuteMembers: number
-ReadMessageHistory: number
-RemoveAvatars: number
-SendEmbeds: number
-SendMessage: number
-Speak: number
-TimeoutMembers: number
-UploadFiles: number
-Video: number
-ViewChannel: number
-Const RE_MENTIONS
-Regular expression for mentions.
-Const RE_SPOILER
-Regular expression for spoilers.
-Const U32_MAX
-Maximum safe value
-Const UserPermission
-Permission against User
-Type declaration
---
-
- -
-
- -
-
- -
-
-
-Access: number
-Invite: number
-SendMessage: number
-ViewProfile: number
-Const defaultConfig
-Type declaration
---
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-ackRateLimiter: boolean
-apiURL: string
-autoReconnect: boolean
-cache: boolean
-debug: boolean
-heartbeat: number
-unreads: boolean
-Functions
-calculatePermission
--- calculate
Permission(target: Channel | Server, options?: { member?: Member }): number
-
---
-
-
-
-
-
-
-
-Calculate permissions against a given object
-Parameters
---
-
-
-
- -
-
-
-
-
-target: Channel | Server
-Target object to check permissions against
-Optional options: { member?: Member }
-Additional options to use when calculating
---
-
-
-
-
-
-
-Optional member?: Member
-Pretend to be another member
-Returns number
-toNullable
--- to
Nullable<T>(data?: T): null | T
-
---
-
-
-
-Type parameters
---
-
-
-T
-Parameters
---
-
-
-Optional data: T
-Returns null | T
-toNullableDate
--- to
NullableDate(data?: { $date: string } | string | null): null | Date
-
---
-
-
-
-
-
-
-
-Backwards compatible convert potential Date value to Nullable.
-Parameters
---
-
-
-
-
-Optional data: { $date: string } | string | null
-ISO8601 Timestamp or BSON DateTime
-Returns null | Date
-Legend
-- Constructor
- - Property
- - Method
+ - Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
-- Private property
- - Private method
+ - Class
+ - Class with type parameter
-- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ Client
+
+
+Module Client
+Index
+Classes
++- Client
+
+Interfaces
++- Client
Options
+
+Type aliases
++- File
Args
+
+Variables
++- RE_
MENTIONS
+ - RE_
SPOILER
+
+Type aliases
+FileArgs
+Variables
+Const RE_MENTIONS
+Regular expression for mentions.
+Const RE_SPOILER
+Regular expression for spoilers.
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ config
+
+
+Module config
+Index
+Variables
++- LIBRARY_
VERSION
+ - default
Config
+
+Variables
+Const LIBRARY_VERSION
+Const defaultConfig
+Type declaration
++-
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+
+ackRateLimiter: boolean
+apiURL: string
+autoReconnect: boolean
+cache: boolean
+debug: boolean
+heartbeat: number
+unreads: boolean
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ globals
+
+
+Module globals
+Index
+Type aliases
++- Tail
+
+Type aliases
+Tail
+Type parameters
++-
+
+
+T: unknown[]
+Generated using TypeDoc
+Namespace API
@@ -72,130 +75,130 @@Classes
-- API
+ - API
Interfaces
-- Options
+ - Options
Type aliases
-- Account
Info
- - All
MemberResponse
- - Ban
ListResult
- - Bandcamp
Type
- - Banned
User
- - Bot
- - Bot
Information
- - Bot
Response
- - Bulk
MessageResponse
- - Captcha
Feature
- - Category
- - Channel
- - Channel
CompositeKey
- - Channel
Type
- - Channel
Unread
- - Create
ServerResponse
- - Create
VoiceUserResponse
- - Data
- - Data
BanCreate
- - Data
ChangeEmail
- - Data
ChangePassword
- - Data
ChangeUsername
- - Data
CreateAccount
- - Data
CreateBot
- - Data
CreateChannel
- - Data
CreateGroup
- - Data
CreateRole
- - Data
CreateServer
- - Data
DefaultChannelPermissions
- - Data
EditBot
- - Data
EditChannel
- - Data
EditMessage
- - Data
EditRole
- - Data
EditServer
- - Data
EditSession
- - Data
EditUser
- - Data
Hello
- - Data
Login
- - Data
MemberEdit
- - Data
MessageSend
- - Data
Onboard
- - Data
PasswordReset
- - Data
ResendVerification
- - Data
SendPasswordReset
- - Data
SetServerDefaultPermission
- - Data
SetServerRolePermission
- - Embed
- - Error
- - Feature
- - Fields
Bot
- - Fields
Channel
- - Fields
Member
- - Fields
Role
- - Fields
Server
- - Fields
User
- - File
- - ISO8601_
Timestamp
- - Id
- - Image
- - Image
Size
- - Invite
- - Invite
BotDestination
- - Invite
JoinResponse
- - Invite
Response
- - Lightspeed
Type
- - Masquerade
- - Member
- - Member
CompositeKey
- - Message
- - Message
Sort
- - Metadata
- - Mutual
Response
- - New
RoleResponse
- - Options
FetchSettings
- - Options
MessageSearch
- - Options
QueryStale
- - Override
- - Override
Field
- - Owned
BotsResponse
- - Permission
- - Presence
- - Public
Bot
- - Relationship
- - Relationship
Status
- - Reply
- - Response
Login
- - Revolt
Config
- - Revolt
Features
- - Role
- - Sendable
Embed
- - Server
- - Server
Ban
- - Session
- - Session
Info
- - Special
- - System
Message
- - System
MessageChannels
- - Twitch
Type
- - User
- - User
Permission
- - User
Profile
- - User
ProfileData
- - User
Status
- - Video
- - Voice
Feature
- - Web
PushSubscription
+ - Account
Info
+ - All
MemberResponse
+ - Ban
ListResult
+ - Bandcamp
Type
+ - Banned
User
+ - Bot
+ - Bot
Information
+ - Bot
Response
+ - Bulk
MessageResponse
+ - Captcha
Feature
+ - Category
+ - Channel
+ - Channel
CompositeKey
+ - Channel
Type
+ - Channel
Unread
+ - Create
ServerResponse
+ - Create
VoiceUserResponse
+ - Data
+ - Data
BanCreate
+ - Data
ChangeEmail
+ - Data
ChangePassword
+ - Data
ChangeUsername
+ - Data
CreateAccount
+ - Data
CreateBot
+ - Data
CreateChannel
+ - Data
CreateGroup
+ - Data
CreateRole
+ - Data
CreateServer
+ - Data
DefaultChannelPermissions
+ - Data
EditBot
+ - Data
EditChannel
+ - Data
EditMessage
+ - Data
EditRole
+ - Data
EditServer
+ - Data
EditSession
+ - Data
EditUser
+ - Data
Hello
+ - Data
Login
+ - Data
MemberEdit
+ - Data
MessageSend
+ - Data
Onboard
+ - Data
PasswordReset
+ - Data
ResendVerification
+ - Data
SendPasswordReset
+ - Data
SetServerDefaultPermission
+ - Data
SetServerRolePermission
+ - Embed
+ - Error
+ - Feature
+ - Fields
Bot
+ - Fields
Channel
+ - Fields
Member
+ - Fields
Role
+ - Fields
Server
+ - Fields
User
+ - File
+ - ISO8601_
Timestamp
+ - Id
+ - Image
+ - Image
Size
+ - Invite
+ - Invite
BotDestination
+ - Invite
JoinResponse
+ - Invite
Response
+ - Lightspeed
Type
+ - Masquerade
+ - Member
+ - Member
CompositeKey
+ - Message
+ - Message
Sort
+ - Metadata
+ - Mutual
Response
+ - New
RoleResponse
+ - Options
FetchSettings
+ - Options
MessageSearch
+ - Options
QueryStale
+ - Override
+ - Override
Field
+ - Owned
BotsResponse
+ - Permission
+ - Presence
+ - Public
Bot
+ - Relationship
+ - Relationship
Status
+ - Reply
+ - Response
Login
+ - Revolt
Config
+ - Revolt
Features
+ - Role
+ - Sendable
Embed
+ - Server
+ - Server
Ban
+ - Session
+ - Session
Info
+ - Special
+ - System
Message
+ - System
MessageChannels
+ - Twitch
Type
+ - User
+ - User
Permission
+ - User
Profile
+ - User
ProfileData
+ - User
Status
+ - Video
+ - Voice
Feature
+ - Web
PushSubscription
Functions
-- get
PathName
+ - get
PathName
Legend
-- Constructor
- - Property
- - Method
+ - Variable
+ - Function
+ - Function with type parameter
+ - Type alias
+ - Type alias with type parameter
-- Private property
- - Private method
+ - Class
+ - Class with type parameter
-- Property
+ - Interface
+- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ index
+
+
+Module index
+Index
+References
++- Channel
+ - Client
+ - Client
Options
+ - Clientbound
Notification
+ - DEFAULT_
PERMISSION
+ - DEFAULT_
PERMISSION_DIRECT_MESSAGE
+ - DEFAULT_
PERMISSION_SAVED_MESSAGES
+ - DEFAULT_
PERMISSION_SERVER
+ - DEFAULT_
PERMISSION_VIEW_ONLY
+ - File
Args
+ - LIBRARY_
VERSION
+ - Member
+ - Message
+ - Nullable
+ - Permission
+ - RE_
MENTIONS
+ - RE_
SPOILER
+ - Ready
Packet
+ - Server
+ - Serverbound
Notification
+ - U32_
MAX
+ - User
+ - User
Permission
+ - calculate
Permission
+ - default
Config
+ - to
Nullable
+ - to
NullableDate
+
+Namespaces
++- API
+
+References
+Channel
+ Re-exports Channel +Client
+ Re-exports Client +ClientOptions
+ Re-exports ClientOptions +ClientboundNotification
+ Re-exports ClientboundNotification +DEFAULT_PERMISSION
+ Re-exports DEFAULT_PERMISSION +DEFAULT_PERMISSION_DIRECT_MESSAGE
+ Re-exports DEFAULT_PERMISSION_DIRECT_MESSAGE +DEFAULT_PERMISSION_SAVED_MESSAGES
+ Re-exports DEFAULT_PERMISSION_SAVED_MESSAGES +DEFAULT_PERMISSION_SERVER
+ Re-exports DEFAULT_PERMISSION_SERVER +DEFAULT_PERMISSION_VIEW_ONLY
+ Re-exports DEFAULT_PERMISSION_VIEW_ONLY +FileArgs
+ Re-exports FileArgs +LIBRARY_VERSION
+ Re-exports LIBRARY_VERSION +Member
+ Re-exports Member +Message
+ Re-exports Message +Nullable
+ Re-exports Nullable +Permission
+ Re-exports Permission +RE_MENTIONS
+ Re-exports RE_MENTIONS +RE_SPOILER
+ Re-exports RE_SPOILER +ReadyPacket
+ Re-exports ReadyPacket +Server
+ Re-exports Server +ServerboundNotification
+ Re-exports ServerboundNotification +U32_MAX
+ Re-exports U32_MAX +User
+ Re-exports User +UserPermission
+ Re-exports UserPermission +calculatePermission
+ Re-exports calculatePermission +defaultConfig
+ Re-exports defaultConfig +toNullable
+ Re-exports toNullable +toNullableDate
+ Re-exports toNullableDate +Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Bots
+
+
+Module maps/Bots
+Index
+Classes
++- default
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Channels
+
+
+Module maps/Channels
+Index
+Classes
++- Channel
+ - default
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Collection
+
+
+Module maps/Collection
+Index
+Classes
++- default
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Members
+
+
+Module maps/Members
+Index
+Classes
++- Member
+ - default
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Messages
+
+
+Module maps/Messages
+Index
+Classes
++- Message
+ - default
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Servers
+
+
+Module maps/Servers
+Index
+Classes
++- Server
+ - default
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ maps/Users
+
+
+Module maps/Users
+Index
+Classes
++- User
+ - default
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ permissions/calculator
+
+
+Module permissions/calculator
+Index
+Functions
++- bitwise
AndEq
+ - calculate
Permission
+
+Functions
+bitwiseAndEq
++- bitwise
AndEq(a: number, ...b: number[]): boolean
+
++-
+
+
+
+
+
+
+
+Check whether
+bis present inaParameters
++-
+
+
+
+ -
+
+
+
+
+a: number
+Input A
+Rest ...b: number[]
+Inputs (OR'd together)
+Returns boolean
+calculatePermission
++- calculate
Permission(target: Channel | Server, options?: { member?: Member }): number
+
++-
+
+
+
+
+
+
+
+Calculate permissions against a given object
+Parameters
++-
+
+
+
+ -
+
+
+
+
+target: Channel | Server
+Target object to check permissions against
+Optional options: { member?: Member }
+Additional options to use when calculating
++-
+
+
+
+
+
+
+Optional member?: Member
+Pretend to be another member
+Returns number
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ permissions/definitions
+
+
+Module permissions/definitions
+Index
+Variables
++- DEFAULT_
PERMISSION
+ - DEFAULT_
PERMISSION_DIRECT_MESSAGE
+ - DEFAULT_
PERMISSION_SAVED_MESSAGES
+ - DEFAULT_
PERMISSION_SERVER
+ - DEFAULT_
PERMISSION_VIEW_ONLY
+ - Permission
+ - U32_
MAX
+ - User
Permission
+
+Variables
+Const DEFAULT_PERMISSION
+Default base permissions for channels
+Const DEFAULT_PERMISSION_DIRECT_MESSAGE
+Permissions in direct message channel
+Const DEFAULT_PERMISSION_SAVED_MESSAGES
+Permissions in saved messages channel
+Const DEFAULT_PERMISSION_SERVER
+Permissions in server text / voice channel
+Const DEFAULT_PERMISSION_VIEW_ONLY
+Default permissions if we can only view
+Const Permission
+Permission against Server / Channel
+Type declaration
++-
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+ -
+
+
+AssignRoles: number
+BanMembers: number
+ChangeAvatar: number
+ChangeNickname: number
+Connect: number
+DeafenMembers: number
+GrantAllSafe: number
+InviteOthers: number
+KickMembers: number
+ManageChannel: number
+ManageMessages: number
+ManageNicknames: number
+ManagePermissions: number
+ManageRole: number
+ManageServer: number
+ManageWebhooks: number
+Masquerade: number
+MoveMembers: number
+MuteMembers: number
+ReadMessageHistory: number
+RemoveAvatars: number
+SendEmbeds: number
+SendMessage: number
+Speak: number
+TimeoutMembers: number
+UploadFiles: number
+Video: number
+ViewChannel: number
+Const U32_MAX
+Maximum safe value
+Const UserPermission
+Permission against User
+Type declaration
++-
+
+ -
+
+ -
+
+ -
+
+
+Access: number
+Invite: number
+SendMessage: number
+ViewProfile: number
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ util/Unreads
+
+
+Module util/Unreads
+Index
+Classes
++- default
+
+Interfaces
++- INotification
Checker
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ util/null
+
+
+Module util/null
+Index
+Type aliases
++- Nullable
+
+Functions
++- to
Nullable
+ - to
NullableDate
+
+Type aliases
+Nullable
+Type parameters
++-
+
+
+T
+Functions
+toNullable
++- to
Nullable<T>(data?: T): null | T
+
++-
+
+
+
+Type parameters
++-
+
+
+T
+Parameters
++-
+
+
+Optional data: T
+Returns null | T
+toNullableDate
++- to
NullableDate(data?: { $date: string } | string | null): null | Date
+
++-
+
+
+
+
+
+
+
+Backwards compatible convert potential Date value to Nullable.
+Parameters
++-
+
+
+
+
+Optional data: { $date: string } | string | null
+ISO8601 Timestamp or BSON DateTime
+Returns null | Date
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ websocket/client
+
+
+Module websocket/client
+Index
+Classes
++- Web
SocketClient
+
+Generated using TypeDoc
++- Preparing search index...
+ - The search index is not available
+
+ revolt.js ++- Public
+ - Public/Protected
+ - All
+
++-
+ revolt.js
+
+ -
+ websocket/notifications
+
+
+Module websocket/notifications
+Index
+Type aliases
++- Clientbound
Notification
+ - Ready
Packet
+ - Serverbound
Notification
+
+Type aliases
+ClientboundNotification
+ReadyPacket
+Type declaration
++-
+
+ -
+
+ -
+
+ -
+
+ -
+
+
+channels: Channel[]
+members: Member[]
+servers: Server[]
+type: "Ready"
+users: User[]
+ServerboundNotification
+Generated using TypeDoc
+