Merge branch 'main' into threads

This commit is contained in:
ITOH
2021-05-03 20:50:53 +02:00
192 changed files with 1364 additions and 623 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import { isButton } from "../type_guards/is_button.ts";
/** Send a message to the channel. Requires SEND_MESSAGES permission. */
export async function sendMessage(
channelId: string,
channelId: bigint,
content: string | CreateMessage,
) {
if (typeof content === "string") content = { content };