Skip to content

Commit

Permalink
fix: more discord msg limit safety
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Nov 5, 2023
1 parent 5dc7b49 commit bd3d53a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"

env:
tag_version: v1.0.1-f2e1404
tag_version: v1.0.1-5dc7b49

tasks:
build-version:
Expand Down
2 changes: 1 addition & 1 deletion app/viewer/views/view_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (t ViewTable) GeneratedHeader() ViewHeader {
return ViewHeader(fmt.Sprintf("**%s** %s\n", t.ViewID, time.Now().String()))
}

const DiscordMsgLimit = 2000 - 50
const DiscordMsgLimit = 2000 - 150

func (t ViewTable) GeneratedViews(returned_view func()) {
returned_view()
Expand Down
2 changes: 1 addition & 1 deletion infra/tf/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ module "darkbot" {
configurator_dbname = "production"
consoler_prefix = "."
secrets = local.secrets
tag_version = "v1.0.1-f2e1404"
tag_version = "v1.0.1-5dc7b49"
}
2 changes: 1 addition & 1 deletion infra/tf/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module "darkbot" {
configurator_dbname = "staging"
consoler_prefix = ","
secrets = local.secrets
tag_version = "v1.0.1-f2e1404"
tag_version = "v1.0.1-5dc7b49"
debug = true
}

Expand Down

0 comments on commit bd3d53a

Please sign in to comment.