almost-zero-config, simple, self-hostable bookmarker bot written in ruby, made for the poto cafe discord
Go to file
2023-02-11 18:31:03 +03:00
.gitignore add ruby gitignore 2022-09-18 00:53:19 +03:00
bot.rb patch misplaced period 2023-02-11 18:31:03 +03:00
Gemfile add Gemfiles 2022-09-18 00:54:41 +03:00
Gemfile.lock add Gemfiles 2022-09-18 00:54:41 +03:00
LICENSE add proper LICENSE file 2022-09-18 03:03:40 +03:00
README.md add functionality 2022-09-18 03:01:06 +03:00

potomark is a simple bookmarking discord bot.

there's no configuration besides a .env file that stores the bot's token.

why?

because we needed a tiny, self hostable bot to remember things of importance for our equally tiny discord server.

what it do?

DMs a user a link to any message they reacte with 🔖 to (tip: you can change the EMOJI constant in bot.rb to any built-in emoji). also sends part of the message for quick access. that's it.

how?

requires ruby >= 3.0 and bundler >= 2.3.19. the only two dependencies are dotenv and discordrb, as specified in the Gemfile.

$ echo 'DISCORD_TOKEN=YOUR.DISCORD.TOKEN.HERE' > .env
$ bundle install
$ ruby bot.rb

license?

the full license text is as follows:

you may not use this code for any purpose.