Skip to content

Instantly share code, notes, and snippets.

@ArtskydJ
Last active August 3, 2020 18:50
Show Gist options
  • Save ArtskydJ/c757b0b1a1d537a5ec9e64ba15869459 to your computer and use it in GitHub Desktop.
Save ArtskydJ/c757b0b1a1d537a5ec9e64ba15869459 to your computer and use it in GitHub Desktop.
// 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