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.
|
2 months ago | |
---|---|---|
assets | 2 months ago | |
cmds | 2 months ago | |
.gitignore | 3 months ago | |
README.md | 2 months ago | |
go.mod | 3 months ago | |
go.sum | 3 months ago | |
main.go | 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