I'm currently trying to write a discord bot that saves every so often. Because of this, I can't set the type to module. I'm importing Github as const { Github } = require('github-api') and I'm using the Github variable to access github with a username and password (just like the example).
I'm currently trying to write a discord bot that saves every so often. Because of this, I can't set the type to
module
. I'm importing Github asconst { Github } = require('github-api')
and I'm using the Github variable to access github with a username and password (just like the example).