mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
Formatting and initial ButtonRoles DB work
This commit is contained in:
parent
6ac9d2f2a2
commit
5efdf5ce95
108 changed files with 253 additions and 303 deletions
|
@ -1,12 +1,4 @@
|
|||
import {
|
||||
Client,
|
||||
Message,
|
||||
MessageOptions,
|
||||
MessageReaction,
|
||||
PartialUser,
|
||||
TextChannel,
|
||||
User
|
||||
} from "discord.js";
|
||||
import { Client, Message, MessageOptions, MessageReaction, PartialUser, TextChannel, User } from "discord.js";
|
||||
import { Awaitable } from "knub/dist/utils";
|
||||
import { MINUTES, noop } from "../utils";
|
||||
import Timeout = NodeJS.Timeout;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import test from "ava";
|
||||
import { decrypt, encrypt } from "./crypt";
|
||||
|
||||
|
||||
test("encrypt() followed by decrypt()", t => {
|
||||
const original = "banana 123 👀 💕"; // Includes emojis to verify utf8 stuff works
|
||||
const encrypted = encrypt(original);
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import crypto from "crypto";
|
||||
import "../loadEnv";
|
||||
|
||||
|
||||
if (!process.env.KEY) {
|
||||
// tslint:disable-next-line:no-console
|
||||
console.error("Environment value KEY required for encryption");
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
import {
|
||||
MessageActionRow,
|
||||
|
||||
MessageButton,
|
||||
|
||||
|
||||
MessageComponentInteraction, MessageOptions, TextChannel
|
||||
} from "discord.js";
|
||||
import { MessageActionRow, MessageButton, MessageComponentInteraction, MessageOptions, TextChannel } from "discord.js";
|
||||
import { PluginError } from "knub";
|
||||
import { noop } from "knub/dist/utils";
|
||||
import moment from "moment";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue