/discord-vote-bot

这个Discord投票机器人非常实用,它可以帮助Discord服务器中的管理员和用户进行简单的投票活动。它可以创建和管理投票,使用户能够方便地投票,并实时显示最新结果。

Primary LanguagePython

top.gg auto votting bot.

Python program that utilizes the selenium library to vote for bots on top.gg.

Description

The program opens a top.gg vote site, given a bot ID. It then logs in using the discord tokens provided and votes for the bot. Works with multiple tokens, though there is a cap per IP (refer to additional information below).

Requirements

  • Chrome beta version (As of 10 Jul 2022, latest chrome version 103 does NOT work, install chrome beta v104 here)
  • Chromedriver (Included binary in this repo here so i doubt you have to install)
  • Python 3
  • Selenium
  • Discord tokens

Installation

  • Clone repo
  • cd into the directory
  • Run pip install -r requirements.txt
  • Download chromedriver and add to PATH
  • Rename tokens.txt.example to tokens.txt and fill in discord tokens
  • Edit config variables in config.json
  • Run multivote.py

Help

  • multivote.py -h

Examples

  • Running with arguments
# Votes for bot with id
python multivote.py -b 820020619029674326

Additional information

  • There is a cap to how many times you can vote from a certain IP, support for scraping proxies is currently not available.

Acknowledgements