This Discord bot is dedicated to crawling the internet for random content, as of right now the bot can:
- show a random Roblox game
- show a Roblox ad
- show a random rule34 image
Join the Discord server if you have any errors. My Discord username is alonzon
.
This bot requires Fennel, Luvit and Discordia to run
Download the Fennel binary and follow the steps if you're on Linux. If you're on Windows, download the Windows x86
binary and put in your %PATH
(browse the internet if you don't know how to do that. TBH if you don't know much about coding I don't know why you're trying to run this bot.)
To install Luvit go here and follow the instructions in Get Lit and Luvit.
With Luvit installed it's time to install Discordia. Go to the bot directory, open the terminal (or command prompt if you're on Windows) and type lit install SinisterRectus/discordia
and now there should be a deps
file on the bot directory.
With the terminal open, type fennel -c main.fnl >> main.lua
The bot now requires your Discord token and your Roblox token, both obligatory. Make a security.lua
file with the following contents:
return {
robloxcookie = "YOURCOOKIE";
token = "YOURDISCORDTOKEN";
}
Hopefully you installed Luvit correctly and compiled main.lua
successfully, run luvit main.lua
in the terminal and it should start connecting.
The best way to develop the bot is with the REPL because it allows you to add new features or change commands without having to restart it, something other bot developers might have envy of.
First, get Fennel.lua and put it in the same directory.
Open main.fnl
in Emacs and if it asks you "The local variables in main.fnl are a little risky bla bla bla" say yes. Then do M-x inferior-lisp
and you should have a REPL.
Note: The REPL is kinda buggy and bad. I don't really know how to fix it but I would say that as of right now it works decently. Again, if you have a bug with the REPL report it to me.