Renaming bot
to twitterbot
This commit is contained in:
parent
a2e793a6c3
commit
f2617cd6a7
|
@ -6,8 +6,8 @@ import (
|
|||
"os"
|
||||
"os/signal"
|
||||
|
||||
"git.1750studios.com/ToddShepard/DB640/internal/bot"
|
||||
"git.1750studios.com/ToddShepard/DB640/internal/config"
|
||||
"git.1750studios.com/ToddShepard/DB640/internal/twitterbot"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -18,12 +18,12 @@ func main() {
|
|||
}
|
||||
|
||||
config.LoadConfig(*cfg)
|
||||
bot.Init()
|
||||
twitterbot.Init()
|
||||
|
||||
c := make(chan os.Signal, 1)
|
||||
signal.Notify(c, os.Interrupt)
|
||||
<-c
|
||||
|
||||
bot.DeInit()
|
||||
twitterbot.DeInit()
|
||||
config.WriteConfig(*cfg)
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package bot
|
||||
package twitterbot
|
||||
|
||||
import (
|
||||
"log"
|
Loading…
Reference in a new issue