This is a Template of a Discord Bot in TypeScript using the Djs.V14
For this Bot work, you need to create a `.env` file and put some things.
TOKEN=(YOUR TOKEN HERE)
CLIENT_ID=(YOUR CLIENT ID HERE)-
Automatically recognizes new commands.
-
Uses the new way of Ephemeral
// Instead of
await interaction.reply({ content: '...', ephemeral: true });
// The new way is
import { MessageFlags } from 'discord.js';
await interaction.reply({ content: '...', flags: MessageFlags.Ephemeral });This bot uses only:
๐ชฒ If you find some bugs, please contact me or send an Issue.
๐ง My contact
Thanks for using my Template! Have a nice day. ๐