forked from Supositware/Haha-Yes
Removed useless client const
This commit is contained in:
parent
d8c5ffa1d9
commit
75eaa21e93
1 changed files with 20 additions and 21 deletions
|
@ -6,7 +6,7 @@ import os from 'node:os';
|
||||||
import fs from 'node:fs';
|
import fs from 'node:fs';
|
||||||
|
|
||||||
import db from '../../models/index.js';
|
import db from '../../models/index.js';
|
||||||
import wordToCensor from '../../json/censor.json' assert {type: 'json'};;
|
import wordToCensor from '../../json/censor.json' assert {type: 'json'};
|
||||||
import dotenv from 'dotenv';
|
import dotenv from 'dotenv';
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
const { twiConsumer, twiConsumerSecret, twiToken, twiTokenSecret, twiChannel, twiLogChannel } = process.env;
|
const { twiConsumer, twiConsumerSecret, twiToken, twiTokenSecret, twiChannel, twiLogChannel } = process.env;
|
||||||
|
@ -29,7 +29,6 @@ export default {
|
||||||
cooldown: 3600,
|
cooldown: 3600,
|
||||||
async execute(interaction) {
|
async execute(interaction) {
|
||||||
await interaction.deferReply({ ephemeral: false });
|
await interaction.deferReply({ ephemeral: false });
|
||||||
const client = interaction.client;
|
|
||||||
let tweet = interaction.options.getString('content');
|
let tweet = interaction.options.getString('content');
|
||||||
const attachment = interaction.options.getAttachment('image');
|
const attachment = interaction.options.getAttachment('image');
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
|
|
Loading…
Reference in a new issue