3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-22 09:15:03 +00:00

Bot now connects, lint fixes

This commit is contained in:
Dark 2021-06-02 19:35:44 +02:00
parent c99e745f89
commit 1ee016e85e
16 changed files with 29 additions and 24 deletions

View file

@ -2,7 +2,7 @@ import * as ioTs from "io-ts";
import { convertDelayStringToMS, convertMSToDelayString, getUrlsInString, tAllowedMentions } from "./utils";
import test from "ava";
import { erisAllowedMentionFormat } from "./utils/erisAllowedMentionsToDjsMentionOptions";
import { ErisAllowedMentionFormat } from "./utils/erisAllowedMentionsToDjsMentionOptions";
type AssertEquals<TActual, TExpected> = TActual extends TExpected ? true : false;
@ -52,6 +52,6 @@ test("delay strings: reverse conversion (conservative)", t => {
test("tAllowedMentions matches Eris's AllowedMentions", t => {
type TAllowedMentions = ioTs.TypeOf<typeof tAllowedMentions>;
const typeTest: AssertEquals<TAllowedMentions, erisAllowedMentionFormat> = true;
const typeTest: AssertEquals<TAllowedMentions, ErisAllowedMentionFormat> = true;
t.pass();
});