now takes bigint

This commit is contained in:
ITOH
2021-05-03 20:19:38 +02:00
parent 17695e2ccb
commit 9be445a2e8

View File

@@ -1,7 +1,7 @@
import { cache, deleteMessages, sendMessage } from "../../mod.ts";
import { defaultTestOptions, tempData } from "../ws/start_bot.ts";
import { assertExists } from "../deps.ts";
import { delayUntil } from "../util/delay_until.ts";
import { defaultTestOptions, tempData } from "../ws/start_bot.ts";
async function ifItFailsBlameWolf(reason?: string) {
const message = await sendMessage(tempData.channelId, "Hello World!");
@@ -29,7 +29,7 @@ async function ifItFailsBlameWolf(reason?: string) {
// Delete the message now
await deleteMessages(
tempData.channelId,
[message.id.toString(), secondMessage.id.toString()],
[message.id, secondMessage.id],
reason,
);