Skip to content

Commit a4590c6

Browse files
committed
changes
1 parent c7a4de4 commit a4590c6

File tree

6 files changed

+130
-129
lines changed

6 files changed

+130
-129
lines changed

examples/Botrix.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ const { WebhooksManager } = require("blwebhooks");
88
const voteClient = new WebhooksManager(client, 80);
99
client.voteManager = voteClient;
1010

11-
voteManager.extraProtection(true);
11+
voteClient.extraProtection(true);
1212

13-
const Botrix = voteManager.BotrixVoteHook("Botrix", "LOADS_OF_RANDOMNESS", true);
13+
voteClient.BotrixVoteHook("Botrix", "LOADS_OF_RANDOMNESS", true);
1414

1515
// This code will run after a new vote was received from Botrix
16-
client.on('BTR-voted', async function (userID) {
16+
client.on("BTR-voted", async function (userID) {
1717
console.log(`${userID} Voted!`)
1818

1919
// Add role for 24 hours

examples/InfinityBotList.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ const { WebhooksManager } = require("blwebhooks");
88
const voteClient = new WebhooksManager(client, 80);
99
client.voteManager = voteClient;
1010

11-
voteManager.extraProtection(true);
11+
voteClient.extraProtection(true);
1212

13-
const InfinityBotList = voteManager.IBLVoteHook("IBLHook", "LOADS_OF_RANDOMNESS", true);
13+
voteClient.IBLVoteHook("IBLHook", "LOADS_OF_RANDOMNESS", true);
1414

1515
// This code will run after a new vote was received from InfinityBotList
16-
client.on('IBL-voted', async function (userID, botID, type, timeStamp) {
16+
client.on("IBL-voted", async function (userID, botID, type, timeStamp) {
1717
console.log(userID)
1818

1919
// Add role for 24 hours

examples/VoidBots.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ const { WebhooksManager } = require("blwebhooks");
88
const voteClient = new WebhooksManager(client, 80);
99
client.voteManager = voteClient;
1010

11-
voteManager.extraProtection(true);
11+
voteClient.extraProtection(true);
1212

13-
const VoidBots = voteManager.VoidBotsVoteHook("VBHOOK", "LOADS_OF_RANDOMNESS", true);
13+
voteClient.VoidBotsVoteHook("VBHOOK", "LOADS_OF_RANDOMNESS", true);
1414

1515
// This code will run after a new vote was received from InfinityBotList
16-
client.on('VB-voted', async function (userID, botID, type, timeStamp) {
16+
client.on("VB-voted", async function (userID, botID, type, timeStamp) {
1717
console.log(userID)
1818

1919
// Add role for 24 hours

examples/testConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Coming Soon!

0 commit comments

Comments
 (0)