bots

command
v0.0.0-...-2e47c66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

README

RC-Place Bots

Setup

Create a personal access token on https://www.recurse.com/settings/apps. Set PERSONAL_ACCESS_TOKEN in your environmental variables (see .env.example).

# Load your environmental variables after setting them.
🎨 source .env.example

# Run shell bot
🎨 ./rc.sh

# Run python bot
🎨 python3 rc.py

Tips

  • There's a 1 second timeout for placing tiles. Speed up testing by updating updateLimit in client.go and running locally.
  • Take a look at the API
How to get an appendonly.aof file from fly Redis
  1. Set up wireguard for fly access using Kurt's advice here
  2. Get your app ip using flyctl ips private
  3. scp -6 root@'[IPV6_ADDRESS]':/tmp/appendonly.aof ./appendonly.aof

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL