summary refs log tree commit diff
path: root/test/addbot.test.js
blob: 4130051678be82c09efe7b8dabc2269599a47140 (plain) (blame)
1
2
3
4
5
6
7
8
// @ts-check

const {addbot} = require("../addbot")
const {test} = require("supertape")

test("addbot: returns message and invite link", t => {
	t.equal(addbot(), `Open this link to add the bot to a Discord server:\nhttps://discord.com/oauth2/authorize?client_id=684280192553844747&scope=bot&permissions=2251801424568320 `)
})