Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "store_invite",
- "temp": "",
- "event-type": "1",
- "_id": "jDkPt",
- "actions": [
- {
- "behavior": "0",
- "interpretation": "1",
- "code": "var run = globalVars(\"run\")\nif ((typeof run === \"undefined\" || run != \"1\") == true) {\n this.storeValue(\"1\",3,\"run\",cache)\n var botclient = this.getDBM().Bot.bot.guilds\n var invites = {}\n botclient.forEach(g => {\n g.fetchInvites().then(guildInvites => {\n invites[g.id] = guildInvites\n })\n })\n this.storeValue(invites,3,\"invites\",cache)\n}",
- "storage": "0",
- "varName": "",
- "name": "Run Script"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment