2022-11-23 19:31:58 -06:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
|
2023-05-27 16:32:59 -05:00
|
|
|
"gitlab.com/DeveloperDurp/durpot/handlers"
|
2022-11-23 19:31:58 -06:00
|
|
|
)
|
|
|
|
|
|
2023-06-06 19:13:41 -04:00
|
|
|
func main() {
|
2022-11-23 19:31:58 -06:00
|
|
|
|
2023-06-06 19:13:41 -04:00
|
|
|
err := handlers.Start()
|
2022-11-23 19:31:58 -06:00
|
|
|
if err != nil {
|
|
|
|
|
fmt.Println(err.Error())
|
|
|
|
|
return
|
|
|
|
|
}
|
2023-03-28 19:15:56 -05:00
|
|
|
fmt.Println("Bot is running!")
|
2022-11-23 19:31:58 -06:00
|
|
|
<-make(chan struct{})
|
2023-03-28 19:31:43 -05:00
|
|
|
}
|