Renaming bot to twitterbot

This commit is contained in:
Andreas Mieke 2020-03-26 16:49:56 +01:00
parent a2e793a6c3
commit f2617cd6a7
2 changed files with 4 additions and 4 deletions

View file

@ -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)
}

View file

@ -1,4 +1,4 @@
package bot
package twitterbot
import (
"log"