🐛 typescript
This commit is contained in:
parent
390c323b4d
commit
94d5052abe
5 changed files with 4 additions and 3 deletions
|
@ -40,6 +40,7 @@
|
||||||
"node-schedule": "^2.1.0",
|
"node-schedule": "^2.1.0",
|
||||||
"pino": "^7.0.0-rc.9",
|
"pino": "^7.0.0-rc.9",
|
||||||
"quick.db": "^7.1.3",
|
"quick.db": "^7.1.3",
|
||||||
|
"typescript": "^4.6.3",
|
||||||
"uuid": "^8.3.2"
|
"uuid": "^8.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -23,7 +23,7 @@ export default {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Defer reply
|
// Defer reply
|
||||||
await interaction.deferReply();
|
await interaction.deferReply({ ephemeral: true });
|
||||||
|
|
||||||
// Execute command
|
// Execute command
|
||||||
await command.execute(interaction);
|
await command.execute(interaction);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import database from "./database.ts';
|
import database from './database';
|
||||||
import deployCommands from './deployCommands';
|
import deployCommands from './deployCommands';
|
||||||
import dbGuildFix from './dbGuildFix';
|
import dbGuildFix from './dbGuildFix';
|
||||||
import dbMemberFix from './dbMemberFix';
|
import dbMemberFix from './dbMemberFix';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Dependencies
|
// Dependencies
|
||||||
import { Client, Intents } from 'discord.js'; // discord.js
|
import { Client, Intents } from 'discord.js'; // discord.js
|
||||||
|
|
||||||
import database from './helpers/database/index';
|
import database from './helpers/database';
|
||||||
import events from './handlers/events';
|
import events from './handlers/events';
|
||||||
import commands from './handlers/commands';
|
import commands from './handlers/commands';
|
||||||
import locale from './handlers/locale';
|
import locale from './handlers/locale';
|
||||||
|
|
Loading…
Add table
Reference in a new issue