Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenserCai committed Aug 31, 2023
1 parent 089928b commit 42695f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dbot/dbot.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Date: 2023-08-16 11:06:01
* @version:
* @LastEditors: SpenserCai
* @LastEditTime: 2023-08-26 00:30:59
* @LastEditTime: 2023-09-01 00:24:54
* @Description: file content
*/
package dbot
Expand All @@ -12,6 +12,7 @@ import (
"log"
"os"
"os/signal"
"time"

"github.com/bwmarrin/discordgo"
)
Expand All @@ -29,6 +30,7 @@ func NewDiscordBot(token string, serverID string) (*DiscordBot, error) {
if err != nil {
return nil, err
}
session.Client.Timeout = 60 * time.Second
dbot := &DiscordBot{
Session: session,
ServerID: serverID,
Expand Down
2 changes: 1 addition & 1 deletion dbot/slash_handler/txt2img.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Date: 2023-08-22 17:13:19
* @version:
* @LastEditors: SpenserCai
* @LastEditTime: 2023-08-31 23:29:25
* @LastEditTime: 2023-09-01 00:25:46
* @Description: file content
*/
package slash_handler
Expand Down

0 comments on commit 42695f9

Please sign in to comment.