Bot created for the Besties private Discord server
Go to file
hazel 1bf45fb69c
add application endpoints
2023-11-20 20:02:11 -06:00
assets improve /gay and /trans commands 2023-04-09 22:24:26 -05:00
cmds refactor commands 2023-11-19 19:50:31 -06:00
discord add application endpoints 2023-11-20 20:02:11 -06:00
.gitignore initial commit 2023-03-19 00:49:19 -05:00
go.mod Add websocket endpoint 2023-11-20 16:40:44 -06:00
go.sum Add websocket endpoint 2023-11-20 16:40:44 -06:00
main.go reorder function call 2023-11-20 14:17:07 -06:00
README.md add flags 2023-04-10 01:11:10 -05:00
setup.go refactor registerCommands and cleanCommands 2023-11-19 16:17:57 -06:00

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