Skip to content

Commit

Permalink
i keep forgetting to change the version num
Browse files Browse the repository at this point in the history
  • Loading branch information
cyteon committed Jul 25, 2024
1 parent a0450b4 commit 6fad0ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "discord_gleam"
version = "0.0.3"
version = "0.0.4"

# Fill out these fields if you intend to generate HTML documentation or publish
# your project to the Hex package manager.
Expand Down
2 changes: 1 addition & 1 deletion src/discord_gleam/http/request.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn new(method: http.Method, path: String) -> request.Request(String) {
|> request.prepend_header("accept", "application/json")
|> request.prepend_header(
"User-Agent",
"DiscordBot (https://github.com/cyteon/discord_gleam, 0.0.3)",
"DiscordBot (https://github.com/cyteon/discord_gleam, 0.0.4)",
)
}

Expand Down
2 changes: 1 addition & 1 deletion src/discord_gleam/ws/event_loop.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn main(bot: bot.Bot, event_handlers: List(event_handler.EventHandler)) {
|> request.set_path("/?v=10&encoding=json")
|> request.set_header(
"User-Agent",
"DiscordBot (https://github.com/cyteon/discord_gleam, 0.0.3)",
"DiscordBot (https://github.com/cyteon/discord_gleam, 0.0.4)",
)
|> request.set_header("Host", "gateway.discord.gg")
|> request.set_header("Connection", "Upgrade")
Expand Down

0 comments on commit 6fad0ff

Please sign in to comment.