gwei-alert-bot/src/commands/gas.ts
2023-04-17 21:15:10 -07:00

12 lines
363 B
TypeScript

import { SlashCommandBuilder, ChatInputCommandInteraction } from 'discord.js';
import { handleGasCommand } from '../handlers';
module.exports = {
data: new SlashCommandBuilder()
.setName('gas')
.setDescription('Get current gas values'),
async execute(interaction: ChatInputCommandInteraction) {
return await handleGasCommand(interaction);
}
};