Skip to content
/ tweeter Public

Mock Twitter embed bot for Discord. (now embedded into Cara!)

License

Notifications You must be signed in to change notification settings

cyckl/tweeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweeter 3

A mock Twitter embed generator bot for Discord, written in Go.

Building

  1. Install Go
  2. Install discordgo with go get github.com/bwmarrin/discordgo@HEAD
  3. Build the bot with go build
  4. Set the $TOKEN_TWEETER environment variable with your token
    • export TOKEN_TWEETER=token
  5. Start the bot and pass your token to it
    • ./tweeter

Features

  • User information added into tweet embed (with support for nicknames)
  • You can select other users
  • Slash commands
  • Randomized likes and retweets
  • Accurate recreation of Discord embed
  • Written in Go, I guess

Other commands

  • tweeter -r
    • Register global slash commands (may take one hour to propagate)
  • tweeter -u
    • Unregister any previously registered commands

Example

Example of usage and embed

Usage

There are two available commands:

/tweet <message> This generates a tweet with the provided text.

/about About dialog.

Bugs?

Report any bugs or other odd behaviors to the Issues page and I'll try to get it all patched up. Thanks for taking a look!