This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name NitroSniper | |
* @version 1.0.3 | |
* @description Automatically redeems Discord nitro gift codes. Donate some bitcoin if you wish `bc1q9wmggjd8st8erqfnyyt309ew3r9hwc3ss97mgj` | |
* @authorId 230356924284010508 | |
* @source https://gist.github.com/Xpl0itR/ecbddbd495b8ca20c3a209bfb3a680f5 | |
*/ | |
/*@cc_on | |
@if (@_jscript) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (process.version.startsWith("v6")) throw new Error("This Bot requires Node 7v+ because of async/await") | |
const Discord = require("discord.js") | |
const express = require("express") | |
const app = express() | |
const superagent = require("superagent") | |
//Config | |
let INVITE = process.env.INVITE || "", //An Infinite Invite to your discord server. | |
GUILD = process.env.GUILD || "", //The ID of the Guild for this invite ^ |