Skip to content

faylenk/TypeScript.Template-Discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Generic badge Maintenance

TypeScript Discord bot Template

This is a Template of a Discord Bot in TypeScript using the Djs.V14

ATTENTION

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)

FEATURES

  • 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:

TypeScript npm NodeJS

BUGS

๐Ÿชฒ If you find some bugs, please contact me or send an Issue.

Contact

๐Ÿ“ง My contact โคต๏ธ

Gmail Instagram

Thanks for using my Template! Have a nice day. ๐Ÿ‘‹

About

๐Ÿ˜Š Just a template of a TypeScript bot. You can use it for free!

Topics

Resources

License

Stars

Watchers

Forks