mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-19 04:38:17 +00:00
feat(handlers): add getInvite() & deleteInvite() (#421)
* feat(handlers): add getInvite * feat(handlers): add deleteInvite * remove deving things * add jsdoc * move functions up * import got deleted * feat(handlers): invite better types * throw enum error * remove unnecessary checks * Update mod.ts * channel exists since botHasChannelPermissions did not throw any error
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import {
|
||||
channelOverwriteHasPermission,
|
||||
createInvite,
|
||||
deleteInvite,
|
||||
deleteMessages,
|
||||
editChannel,
|
||||
followChannel,
|
||||
getChannelInvites,
|
||||
getChannelWebhooks,
|
||||
getInvite,
|
||||
getMessage,
|
||||
getMessages,
|
||||
getPins,
|
||||
@@ -133,6 +135,8 @@ export let handlers = {
|
||||
getPins,
|
||||
isChannelSynced,
|
||||
sendMessage,
|
||||
getInvite,
|
||||
deleteInvite,
|
||||
startTyping,
|
||||
|
||||
// Gateway handler
|
||||
|
||||
Reference in New Issue
Block a user