3000/README.md
2023-04-10 01:11:10 -05:00

947 B

besties-inator 3000

Bot created for the UCB (United Coalition of Besties) private Discord server. The primary feature is allowing members to post to the shared Besties Twitter account.

installation

dependencies:

  • go
  • imagemagick
  • a Discord bot with the permission to create slash commands and send images
  • a developer.twitter.com app with read/write access for its own user account

Run the following to clone the repo, build the project, and create the .env file:

git clone https://git.gay/besties/3000
cd 3000
go build
cat > .env << EOL
DISCORD_TOKEN=your token
TWITTER_CONSUMER_KEY=your token
TWITTER_CONSUMER_SECRET=your token
TWITTER_ACCESS_TOKEN=your token
TWITTER_ACCESS_SECRET=your token
EOL

usage

Your first time using 3000, add the "-register-commands" CLI flag to register commands to the bot. This flag isn't needed afterwards except to add new commands when they're added.

./3000