Last active
August 3, 2020 18:50
-
-
Save ArtskydJ/c757b0b1a1d537a5ec9e64ba15869459 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See also: https://github.com/ArtskydJ/vod-discord-bot | |
const config = { | |
token: `0OTc0MiSl.2cwzA.jVwNsVvMfhddF-_xOOp1_0MTE5gxMDIEKtHXMjg4M`, // FAKE | |
channelId: `2052824079084531`, // FAKE | |
} | |
const message = `message` | |
const Discord = require(`discord.js`) | |
const client = new Discord.Client() | |
client.login(config.token) | |
(async () => { | |
await client.channels.get(config.channelId).sendMessage(message) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment