0.0.8 • Published 1 year ago
botway.js v0.0.8
# npm
npm i botway.js
# yarn
yarn add botway.js
# pnpm
pnpm add botway.js
Usage
after creating a new nodejs botway project, you need to use your tokens to connect with your bot.
...
const { GetToken, GetAppId, GetGuildId } = require("botway.js");
const { Client, Intents } = require("discord.js");
const rest = new REST({ version: "10" }).setToken(GetToken());
rest
// how to get the id of my server? the answer in this discussion https://github.com/abdfnx/botway/discussions/4#discussioncomment-2653737
.put(Routes.applicationGuildCommands(GetAppId(), GetGuildId("YOUR_SERVER_NAME"))
...
0.0.8
1 year ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.11
2 years ago
0.0.1
2 years ago
0.0.1-alpha.3
2 years ago
0.0.1-alpha.2
2 years ago
0.0.1-alpha
2 years ago
0.0.1-beta
2 years ago