Skip to content

mporter45042/rain-turtle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TurtleBotRain

This is the source for TurtleBotRain, used on the TurtleCoin discord server.

Setting Up

This bot uses .NET Core 2.0. To install, use the following link: https://www.microsoft.com/net/learn/get-started/ and select the instructions relevant to your OS.

For an IDE I recommend Visual Studio Code.

Usage

Get a bot token by making an app (instructions here)

Create a file called config.json with the following contents:

{
	"token": "<your token here>",
	"walletdServiceAddress": "localhost",
	"walletdServicePort": 8050,
	"walletdRPCPassword": "<RPC password here>",
	"rainChannelId": 407757902695235584,
	"rainCheckIntervalS": 10,
	"rainAnnounceDelayS": 10,
	"rainRegisterDelayS": 90,
	"rainBalanceThreshold": 100000,
	"rainImageUrlAnnouncement": "<image url>",
	"rainImageUrlRegistration": "<image url>",
	"rainImageUrlTRTL": "<image url>"
}

You also need walletd and turtlecoind running on the localhost (or on another machine). Set walletdServiceAddress, walletdServicePort and walletdRPCPassword accordingly.

DO NOT SHARE YOUR TOKEN WITH ANYBODY

Further instructions vary by your IDE. Project should open up straight away and bre ready to go in VS Code.

About

MoonMoonDogo's Rain Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages