auto-vote-topgg automates voting for bots on top.gg using google chrome!

Overview

auto-vote-topgg

auto-vote-topgg automates voting for bots on top.gg using google chrome!

  • uses your account thats already logged into top.gg
  • you must be logged into top.gg on google chrome for this to work properly
    • or you may optionally pass in your connect.sid cookie

Installation

npm i auto-vote-topgg

Usage

vote({ voteUrl, userDataDir, connectSidCookie })

  • voteUrl
    • the top.gg url to vote for your bot
  • userDataDir
    • the path to the directory of your local user's chrome data
      • Will likely be %userprofile%\AppData\Local\Google\Chrome\User Data on windows
  • connectSidCookie
    • The connect.sid cookie value from top.gg
      • Use the cookie if you are voting from multiple accounts
        • Prioritized over userDataDir if this is passed in
{ await voteForMyBot(); }, 43300000);">
const { vote } = require("auto-vote-topgg");

async function voteForMyBot() {
  const { success, msg } = await vote({
    voteUrl: "https://top.gg/bot/12345678/vote",
    connectSidCookie: "connect.sid cookie", // Only connectSidCookie or userDataDir is required. connectSidCookie input will be prioritized.
    userDataDir:
      "C:\\Users\\JohnSmith\\AppData\\Local\\Google\\Chrome\\User Data", // Only connectSidCookie or userDataDir is required. connectSidCookie input will be prioritized.
  });
  console.log(success, msg);
}

// call it on startup
voteForMyBot();

// call it every 12 hours after startup
setInterval(async () => {
  await voteForMyBot();
}, 43300000);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

You might also like...

Repository for DeCHO - a crowdfunding platform using Choice Coin for voting.

DeCHO Repository for DeCHO - a crowdfunding platform using Choice Coin for voting. ReactNative This project is built using ReactNative Code to run cd

Oct 21, 2022

A lightweight, performant, and simple-to-use wrapper component to stick section headers to the top when scrolling brings them to top

A lightweight, performant, and simple-to-use wrapper component to stick section headers to the top when scrolling brings them to top

Jun 27, 2022

WebX DAO Voting - Membership Dapp for the community

WebX DAO Voting / Membership Dapp 🧬 This Dapp allow decisions to be made via voting amongst those who own non-fungible tokens (NFTs) from the DAO, wh

Sep 28, 2022

DAVI - Decentralised Autonomous Voting Interface

DXvote DXdao recognizes the need to adapt and build new systems that reach consensus in a scalable, decentralized and effective way. Consensus is not

Dec 13, 2022

In our last repo we learnt how to create a DAO on your own and how to use governance tokens and NFTs for voting purposes.

In our last repo we learnt how to create a DAO on your own and how to use governance tokens and NFTs for voting purposes.

In our last repo we learnt how to create a DAO on your own and how to use governance tokens and NFTs for voting purposes. Now we will be stepping into the world of games with NFTs where a user has to play games with their character being an NFT which has unique powers, unique traits etc etc.

Oct 1, 2022

A platform designed specifically as an additional layer on top of Google Classroom for students to gain the best out of online evaluations

A platform designed specifically as an additional layer on top of Google Classroom for students to gain the best out of online evaluations

Peer-Learning-Platform A platform designed specifically as an additional layer on top of Google Classroom for students to gain the best out of online

Jun 12, 2022

This is a simple script to upload Multiple files into google drive using google drive API and Nodejs.

Welcome to gDrive Multiple File Upload 👋 This is a simple script to upload Multiple files into google drive using google drive API and Nodejs Install

Dec 29, 2021

Google Clone using NEXT JS ,SSR, Tailwind and Google API's to search data.

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Sep 23, 2022

Store data using zero width spaces! Might be useful for discord bots.

Store data using zero width spaces! Might be useful for discord bots.

ZWSP Store data using zero width spaces! Might be useful for discord bots. Installation npm i zwsp Usage Import the library: import { encode, decode}

Dec 12, 2022
Owner
Anonymous
Anonymous
Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances

snapshots Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances. Motivation There are several instances in which one may wa

Saber 13 Jun 7, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till mÀnniskor pÄ flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
vota.dev - Vote the best web development trends of the year

vota.dev Welcome to vota.dev! This is a work in progress! Development GitHub - Set-Up an OAuth Application Using Railway Development Install the proje

Miguel Ángel Durån 97 Dec 28, 2022
A Stacks DeFi app that automates covered call writing to generate sustainable, risk-adjusted yield.

?? Options Vault ?? A Stacks DeFi app that automates covered call writing to generate sustainable, risk-adjusted yield. Options vaults allow you to al

null 15 Nov 16, 2022
⏱ A Google Chrome extension for keeping track of who is talking during Google Meets

Am I Talking A Lot? ⏱ A Google Chrome extension for keeping track of who is talking during Google Meets Features Tracks talking time for each particip

Sean McPherson 8 Oct 5, 2022
Google-Drive-Directory-Index | Combining the power of Cloudflare Workers and Google Drive API will allow you to index your Google Drive files on the browser.

?? Google-Drive-Directory-Index Combining the power of Cloudflare Workers and Google Drive will allow you to index your Google Drive files on the brow

Aicirou 127 Jan 2, 2023