mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
allow catching delete msgs
This commit is contained in:
@@ -26,7 +26,7 @@ export function createMessage(data: MessageCreateOptions) {
|
||||
if (data.author.id !== botID) {
|
||||
}
|
||||
|
||||
RequestManager.delete(endpoints.CHANNEL_MESSAGE(data.channel_id, data.id), { reason })
|
||||
return RequestManager.delete(endpoints.CHANNEL_MESSAGE(data.channel_id, data.id), { reason })
|
||||
},
|
||||
/** Pin a message in a channel. Requires MANAGE_MESSAGES. Max pins allowed in a channel = 50. */
|
||||
pin: () => {
|
||||
|
||||
Reference in New Issue
Block a user