2023-04-18 01:49:20 +00:00
|
|
|
import { SlashCommandBuilder, ChatInputCommandInteraction } from 'discord.js';
|
2023-04-18 04:15:10 +00:00
|
|
|
import { handleGasCommand } from '../handlers';
|
2023-04-18 01:49:20 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
data: new SlashCommandBuilder()
|
|
|
|
.setName('gas')
|
2023-04-18 04:15:10 +00:00
|
|
|
.setDescription('Get current gas values'),
|
2023-04-18 01:49:20 +00:00
|
|
|
|
|
|
|
async execute(interaction: ChatInputCommandInteraction) {
|
2023-04-18 04:15:10 +00:00
|
|
|
return await handleGasCommand(interaction);
|
2023-04-18 01:49:20 +00:00
|
|
|
}
|
|
|
|
};
|