Skip to content

ami-go

Posted on: January 26, 2024 at 02:30 PM

I am starting a few new projects this year. The first one I am ready to talk about is written in Go, because Rob Pike said so.

Ami-go is a personal discord assistant. Currently, I use it to harass me on Discord to make sure I make a commit a day on my personal projects. But I have bigger plans for it:

I’ll update this blog when I make major updates (I’ll have ami-go remind me lol). In the meantime, this is how I use it in its current state:

  1. Make a developer account in Discord and get yourself an BOT key.
  2. Figure out the channelID you want the bot to post a reminder (given an BOT api key, the ami-go cli can list out the available channels, assuming you invited the BOT to your personal discord server).
  3. With this info, you can run the cli command:
ami-go -channel <CHANNEL_ID> -guild <GUILD_ID> -t <BOT_TOKEN> -message "A commit a day keeps the imposter syndrome away!"

I add this command to a bash script and put it in a cronjob on my raspberry pi. But given its operability via a CLI and a server, the possibilities are endless.