Bot created for the Besties private Discord server
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hazycora c341bd56ec
make tweet content optional if image is attached
2 months ago
assets improve /gay and /trans commands 2 months ago
cmds make tweet content optional if image is attached 2 months ago
.gitignore initial commit 3 months ago
README.md add flags 2 months ago
go.mod initial commit 3 months ago
go.sum initial commit 3 months ago
main.go add shake command 2 months ago

README.md

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