Skip to content

Commit e6cfb0a

Browse files
committed
replace useless require() with import syntax
1 parent df390c2 commit e6cfb0a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/commands/docs/djs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { Message } from "discord.js";
22
import { Command } from "discord-akairo";
33
import Doc from "discord.js-docs";
4+
45
export default class DiscordCommand extends Command {
56
public constructor() {
67
super("djs-docs", {

src/events/cooldown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Listener, Command } from "discord-akairo";
22
import { Message } from "discord.js";
33
import BotClient from "../client/client";
4-
import ms = require("ms");
4+
import ms from "ms";
55

66
export default class Cooldown extends Listener {
77
public client: BotClient;

0 commit comments

Comments
 (0)