Skip to content

goddy516/Bot-Template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot-Template

Discord.js v13でBotを作る際のテンプレート

Bot-Template

The template for Version13 Discord.js Bot With EvalCommand and SlashCommand :)

使い方

  1. Botをapplications.commandsスコープ付きで導入
  2. BOT_TOKENという環境変数にBotのTOKENを入れる
  3. npx node register.js コマンドを使うサーバーIDを実行
  4. npx node index.jsでBot実行

Manual

  1. Invite your BotClient to your any guilds with Bot and application.commands permissions.
  2. Insert the Token to BOT_TOKEN enviroment variables.
  3. Run npx node register.js GuildID in shell.
  4. Run npx node index.js in shell.

注意

使い方 3.のサーバーIDはGuildCommandとして設定するためのものです。GlobalCommandとして登録する場合は空欄にしてください。

Notice

The "GuildID" of Step3 value is for setting up GuilsCommand. Please put it blank when you want setup GlobalCommand.

About

Discord.js v13でBotを作る際のテンプレート

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%