Skip to content

Commit

Permalink
nit: (strings) "Get snapshots" to singular
Browse files Browse the repository at this point in the history
  • Loading branch information
tyzbit committed Jul 16, 2023
1 parent d6ff999 commit 4ee3908
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Configure the bot with slash commands:
Get a snapshot for one URL in a message visible only to you:
`/archive`

You can also right-click (or long press) a message and use "Get snapshots" to get a message with snapshots for any link that only you can see.
You can also right-click (or long press) a message and use "Get snapshot" to get a message with snapshots for any link that only you can see.

Get stats for the bot:
`/stats`
Expand Down
2 changes: 1 addition & 1 deletion bot/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (bot *ArchiverBot) handleArchiveRequest(r *discordgo.MessageReactionAdd, ne
typingStop <- true
return []*discordgo.MessageEmbed{
{
Description: "Use `/archive` or the `Get snapshots` menu item on the message instead of adding a reaction.",
Description: "Use `/archive` or the `Get snapshot` menu item on the message instead of adding a reaction.",
},
}, errs
}
Expand Down
4 changes: 2 additions & 2 deletions globals/globals.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
Stats = "stats"
Settings = "settings"
Archive = "archive"
ArchiveMessage = "Get snapshots"
ArchiveMessage = "Get snapshot"
Help = "help"

// Bot settings unique handler names
Expand All @@ -36,7 +36,7 @@ const (
BotHelpText = `**Usage**
React to a message that has links with 🏛 (The "classical building" emoji) and the bot will respond in the channel with an archive.org link for the link(s). It saves the page to archive.org if needed.
- You can also right-click (or long press) a message and use "Get snapshots" to get a message with snapshots that only you can see.
- You can also right-click (or long press) a message and use "Get snapshot" to get a message with snapshots that only you can see.
**This is a pretty good way to get around paywalls to read articles for free.**
Expand Down

0 comments on commit 4ee3908

Please sign in to comment.