mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-17 21:40:10 +02:00
add base commands
This commit is contained in:
+3
-4
@@ -1,13 +1,12 @@
|
||||
const { ButtonStyle, ButtonBuilder, ActionRowBuilder } = require('discord.js');
|
||||
import { Message, Client } from 'discord.js';
|
||||
|
||||
module.exports = {
|
||||
aliases: ['latence'],
|
||||
description: 'Avoir la latence du bot.',
|
||||
emote: '⏱️',
|
||||
utilisation: '',
|
||||
permission: 0,
|
||||
|
||||
async execute(message: any, args: string[], client: any) {
|
||||
message.reply("pong");
|
||||
async execute(message: Message, args: string[], client: Client) {
|
||||
message.edit(`Pong! ${client.ws.ping}ms`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user