all repos — simple-discord-music-bot @ 34d90ffd27e2def867cb627ae49aad8e3431fde3

A Discord bot making use of discord.js and play-yt.

add authorize script
Marco Andronaco andronacomarco@gmail.com
Thu, 11 Jan 2024 12:15:43 +0100
commit

34d90ffd27e2def867cb627ae49aad8e3431fde3

parent

a079ae07df5b490681f2a128e210ecfbf1eea940

3 files changed, 6 insertions(+), 1 deletions(-)

jump to
M .gitignore.gitignore

@@ -1,3 +1,4 @@

node_modules config.json build +.data
M package.jsonpackage.json

@@ -7,7 +7,8 @@ "scripts": {

"build": "npx tsc", "start": "node build/index.js", "deploy-commands": "node tools/deploy-commands.js", - "delete-commands": "node tools/delete-commands.js" + "delete-commands": "node tools/delete-commands.js", + "authorize": "node tools/authorize.js" }, "author": "Marco Andronaco", "license": "GPL3",
A tools/authorize.js

@@ -0,0 +1,3 @@

+const play = require('play-dl'); + +play.authorization();