forked from cadence/out-of-your-element
Add tests for reactions interaction
This commit is contained in:
parent
61803c3838
commit
33915a595d
6 changed files with 121 additions and 14 deletions
8
test/addbot.test.js
Normal file
8
test/addbot.test.js
Normal file
|
@ -0,0 +1,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=1610883072 `)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue