Skip to content
/ grank Public

A feature-rich Dank Memer automation script. Based on dankgrinder.

License

Notifications You must be signed in to change notification settings

guunna/grank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grank

Inspired by this repository. This is a WIP and there will be more functions added in the future. Special thanks to V4NSH4J for helping me solve lots of the problems I encountered.

Contents

What is Grank?

Cover image

Grank is a feature-rich script that automatically grinds Dank Memer for you. It is inspired by dankgrinder. Since dankgrinder has been discontinued and the recommended fork has also been discontinued, I decided to make my own version from scratch in Python.

Features

  • Supports multi-instancing.
  • Efficiently coded.
  • Smart - if the user doesn't have a required item to run a command like pls pm, it will buy the required item so long as there are sufficient funds in the user's wallet & bank.

Supported commands

  • pls daily
  • pls beg
  • pls dig
  • pls fish
  • pls hunt
  • pls search
  • pls highlow
  • pls postmeme

Todo

  • pls trivia
  • pls stream

Getting Started

Setting up the environment

When the majority of Dank Memer commands are supported, compiled versions of the code will be made available. However, since v1 has not been acheived yet, you will have to have Python installed to run Grank.

  • Install Python (Grank has been tested on Python version 3.10.0 64-Bit & 3.8.10 64-Bit). Make sure to have the Install Pip option ticked.
  • Download this repository by clicking this link.
  • Extract the files, and open a command prompt window in /src/.
  • Run pip install -r requirements.txt

Getting your Discord token and channel ID

To use Grank, you will have to provide your Discord token and a channel ID. Don't worry - these details are never shared with anyone. It is best if only you and Dank Memer can send messages in the channel you get the ID of. This is to avoid confusion with other people's interactions.

How do you get this information

You are now ready to use the program. Run src/main.py to start the program. You do not have to have Discord open to run the program, so you can have the program running in the background while you do other things! Grank also supports multi-instancing, so you can run the program on different accounts at once!

Config file

The config.yml file is used to change the way the program runs.

commands category

Values in the commands category tell the program whether or not to run certain commands.

Name Type Default Value Description
daily Boolean True Tells the program whether or not to run the command pls daily.
beg Boolean True Tells the program whether or not to run the command pls beg.
dig Boolean True Tells the program whether or not to run the command pls dig.
fish Boolean True Tells the program whether or not to run the command pls fish.
hunt Boolean True Tells the program whether or not to run the command pls hunt.
search Boolean True Tells the program whether or not to run the command pls search.
highlow Boolean True Tells the program whether or not to run the command pls highlow.
postmeme Boolean True Tells the program whether or not to run the command pls postmeme.
auto_buy Boolean True Tell the program whether or not to buy items (like laptop) needed to run commands if there are sufficient funds.

cooldowns category

Values in the cooldowns category tell the program the cooldowns between commands and the loop cooldown.

Name Type Default Value Description
commands Integer 1 Cooldown between commands.
timeout Integer 5 Timeout for waiting for responses from Dank Memer to commands that require user interaction (like pls search).

logging category

Values in the logging category tell the program whether or not to log debug and warning messages. We would recommend having at least warning set to True. Fatal errors will be logged regardless of the configuration.

Name Type Default Value Description
debug Boolean True Tells the program whether or not to log debug messages.
warning Boolean True Tells the program whether or not to log warning messages.

NOTE: Values in the logging category do not affect logging messages sent when the configuration file is being loaded and the token is being verified.

Disclaimer

This is a self-bot. Self-bots are against Discord's TOS. Automation of Dank Memer commands also breaks Dank Memer's rules. By using this program you acknowledge that I can take no responsibility for actions taken against you if you are caught.

This being said, I believe the chance of being caught running this script is low, provided you take the appropriate measures. The only probable way you will be caught is if someone tries to send you a message and you don't respond.

About

A feature-rich Dank Memer automation script. Based on dankgrinder.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages