Skip to content

Commit 9aa83bc

Browse files
author
Tinaël Devresse
committed
style: flatten after rebase
1 parent 29bb78a commit 9aa83bc

File tree

22 files changed

+59
-423
lines changed

22 files changed

+59
-423
lines changed

scripts/deploy-commands.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const { Client, Collection, REST, Routes } = require("discord.js");
33
const path = require("node:path");
44
const fsp = require("node:fs/promises");
55
const synchronizeSlashCommands = require("discord-sync-commands");
6+
67
const { botId: botProdId } = require("../config.production.json");
78
const { guildId, botId: botDevId } = require("../config.development.json");
89

src/commands/admins/announce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
} from "discord.js";
1414

1515
import type { DatadropClient } from "../../datadrop.js";
16-
import type { Command } from "../../models/Command.js";
16+
import type { Command } from "../../models/index.js";
1717

1818
export default {
1919
data: new SlashCommandBuilder()

src/commands/others/link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from "discord.js";
88

99
import type { DatadropClient } from "../../datadrop.js";
10-
import type { Command } from "../../models/Command.js";
10+
import type { Command } from "../../models/index.js";
1111

1212
export default {
1313
data: new SlashCommandBuilder()

src/commands/others/pin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from "discord.js";
77

88
import type { DatadropClient } from "../../datadrop.js";
9-
import type { Command } from "../../models/Command.js";
9+
import type { Command } from "../../models/index.js";
1010

1111
export default {
1212
data: new ContextMenuCommandBuilder()

src/commands/owner/eval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import type { DatadropClient } from "../../datadrop.js";
99
import { clean } from "../../helpers.js";
10-
import type { Command } from "../../models/Command.js";
10+
import type { Command } from "../../models/index.js";
1111

1212
export default {
1313
data: new SlashCommandBuilder()

src/commands/owner/reload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from "discord.js";
66

77
import type { DatadropClient } from "../../datadrop.js";
8-
import type { Command } from "../../models/Command.js";
8+
import type { Command } from "../../models/index.js";
99

1010
export default {
1111
data: new SlashCommandBuilder()

src/commands/owner/restart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
} from "discord.js";
66

77
import type { DatadropClient } from "../../datadrop.js";
8-
import type { Command } from "../../models/Command.js";
8+
import type { Command } from "../../models/index.js";
99

1010
export default {
1111
data: new SlashCommandBuilder()

src/commands/utility/email.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from "discord.js";
66

77
import type { DatadropClient } from "../../datadrop.js";
8-
import type { Command } from "../../models/Command.js";
8+
import type { Command } from "../../models/index.js";
99

1010
const people = [
1111
{

src/commands/utility/ping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
} from "discord.js";
55

66
import type { DatadropClient } from "../../datadrop.js";
7-
import type { Command } from "../../models/Command.js";
7+
import type { Command } from "../../models/index.js";
88

99
export default {
1010
data: new SlashCommandBuilder().setName("ping").setDescription("Pong!"),

src/datadrop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import {
3737

3838
import { PostgresDatabaseService, SMTPService } from './services/index.js';
3939
import { getErrorMessage, readFilesFrom } from './helpers.js';
40-
import { Configuration, IDatabaseService, User } from './models/index.js';
40+
import type { Command, Event, Configuration, IDatabaseService, User } from './models/index.js';
4141
import { readConfig } from './config.js';
4242

4343
export class DatadropClient extends Client {

0 commit comments

Comments
 (0)