Some changes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Lulzette 2021-11-24 13:25:53 +03:00
parent 5e83b1ace4
commit e346743cae
3 changed files with 1 additions and 7 deletions

View File

@ -48,12 +48,9 @@ func main() {
config = utils.GetConfig()
var chat_prefix = config.GetString("prefix")
var err error
log.Printf("Initializing Bot...")
bot, err = tgbotapi.NewBotAPI(config.GetString("telegram.key"))
if err != nil {
log.Panic(err)
}

1
test.html Normal file
View File

@ -0,0 +1 @@
<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="8635a202-94bb-49cc-a983-d69a45ca4be1";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>

View File

@ -18,10 +18,6 @@ func GetConfig() *viper.Viper {
c.SetDefault("debug", true)
c.SetDefault("admins", []interface{}{})
c.SetDefault("redis.host", "localhost:6379")
c.SetDefault("redis.db", 0)
c.SetDefault("redis.password", "")
c.SetDefault("crisp.identifier", "")
c.SetDefault("crisp.key", "")