Skip to content

Commit

Permalink
depend: 依存関係を更新 (#104)
Browse files Browse the repository at this point in the history
* depend: 依存関係を更新

* fix: ローカル環境のreplaceが混ざってたのを削除
  • Loading branch information
ikafly144 authored May 15, 2023
1 parent dbb0759 commit e03be18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
5 changes: 0 additions & 5 deletions bot/gobot.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ func Run(file_path, lang_path string) {
b.Handler.SyncCommands(b.Client, guilds...)
}

if err := b.Client.OpenGateway(context.TODO()); err != nil {
b.Logger.Fatalf("failed to open gateway: %s", err)
}
defer b.Client.Gateway().Close(context.TODO())

if err := b.Client.OpenShardManager(context.TODO()); err != nil {
b.Logger.Fatalf("failed to open shard manager: %s", err)
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/go-redis/redis/v8 v8.11.5
github.com/google/uuid v1.3.0
github.com/mattn/go-colorable v0.1.13
github.com/sabafly/sabafly-lib v1.5.2
github.com/sabafly/sabafly-lib v1.5.3
github.com/sirupsen/logrus v1.9.0
github.com/spf13/cobra v1.7.0
)
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabafly/sabafly-lib v1.5.1 h1:HvveC89LBvS1IXoIahH4PcTiEDMb9lDD3mP9ct7WRQk=
github.com/sabafly/sabafly-lib v1.5.1/go.mod h1:T8GLVoK7q7mpvOQQ/GRy4ed5CtPrKnhDQ9tapEFb+fs=
github.com/sabafly/sabafly-lib v1.5.2 h1:LeTo+YdNWPHkDug8BX2Ee6JPkL2UBM56XVVtE2STlgE=
github.com/sabafly/sabafly-lib v1.5.2/go.mod h1:T8GLVoK7q7mpvOQQ/GRy4ed5CtPrKnhDQ9tapEFb+fs=
github.com/sabafly/sabafly-lib v1.5.3 h1:CQGSWrXVallqsN497CbSI1lkEkW1GynJRlTn8qUMvuo=
github.com/sabafly/sabafly-lib v1.5.3/go.mod h1:T8GLVoK7q7mpvOQQ/GRy4ed5CtPrKnhDQ9tapEFb+fs=
github.com/sasha-s/go-csync v0.0.0-20210812194225-61421b77c44b h1:qYTY2tN72LhgDj2rtWG+LI6TXFl2ygFQQ4YezfVaGQE=
github.com/sasha-s/go-csync v0.0.0-20210812194225-61421b77c44b/go.mod h1:/pA7k3zsXKdjjAiUhB5CjuKib9KJGCaLvZwtxGC8U0s=
github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
Expand Down

0 comments on commit e03be18

Please sign in to comment.