Remove token from config file
This commit is contained in:
parent
c0d92ea66d
commit
cc7831a313
9 changed files with 11 additions and 22 deletions
|
@ -1,7 +1,7 @@
|
|||
// @ts-check
|
||||
|
||||
const config = require("./config")
|
||||
const token = config.discordToken
|
||||
const {reg} = require("./src/matrix/read-registration")
|
||||
const token = reg.ooye.discord_token
|
||||
const id = Buffer.from(token.split(".")[0], "base64").toString()
|
||||
|
||||
function addbot() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue