Derpitron / rolog.go

Takes the Roblox experiences you join and logs it to a discord Webhook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program is unmaintained. This may or may not work, use at your own risk.

RoLog.go

RoLog is a program written in Golang for Windows which takes the Roblox experiences you join and posts its experience page to a Discord Webhook. Remember the games you've played before, or tell your community what you're playing right now!

image

Installation

  1. Install Golang for your system
  2. Open a terminal, and run
git clone https://github.com/Derpitron/rolog.go.git
  1. When the command finishes, run
cd rolog.go
  1. Rename .env-example to .env, then fill in the channel-id/webhook-id of your webhook.
How to find this ID To find this, take your webhook's link, e.g: `https://discord.com/api/webhooks/870936928793534504/IS_NTyJX7Kx7EP3tuJDXdvon8bJLO13QIF9YglKwj-JH39y_4j_yQcG3zFR2wfiAJi-Y`. Then, remove the `https://discord.com/api/webhooks/` part of the link. You are now left with `870936928793534504/IS_NTyJX7Kx7EP3tuJDXdvon8bJLO13QIF9YglKwj-JH39y_4j_yQcG3zFR2wfiAJi-Y`. Put this as the value of the `HOOK` variable.
  1. Once you have made sure of the webhook, there are two commands you can run to compile the program.
  • To compile the program with a console window, run:
go build main.go
  • To compile the program without a console window, run:
go build -ldflags -H=windowsgui main.go

Either way, both will compile a file called main.exe.

Information

  • You must keep the compiled .exe in the same folder as your .env file, otherwise the program will not run. If you need to move the .exe somewhere else, you may make a shortcut and move it, e,g to your shell:startup folder.

  • If you want to stop the program, close the console window. If you've compiled the program without the console window and want to stop it, open Task Manager, find the name of your .exe file and End Task.

  • The program must be running in order to send the link! It must be running on the system in which you're playing the experience, so you cannot host it on a server or service like Heroku!

Attributions

About

Takes the Roblox experiences you join and logs it to a discord Webhook


Languages

Language:Go 100.0%