mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
15 lines
457 B
TypeScript
15 lines
457 B
TypeScript
import { commandModule, CommandType } from '@sern/handler';
|
|
import axios from 'axios';
|
|
|
|
export default commandModule({
|
|
type: CommandType.Button,
|
|
plugins: [],
|
|
execute: async (ctx) => {
|
|
await ctx.deferReply({ ephemeral: true })
|
|
const request = await axios.get('https://api.minetools.eu/query/minecraft.maraturing.com/25565').then(res => res.data)
|
|
|
|
await ctx.editReply({
|
|
content: ``
|
|
})
|
|
},
|
|
}); |