Archived
1

Pins to supergroups, managed by admins

This commit is contained in:
2017-11-14 03:44:21 +04:00
parent 5c08899d25
commit 95a9a2146a
84 changed files with 786 additions and 622 deletions

View File

@@ -4,9 +4,6 @@
package welcomer
import (
// stdlib
"log"
// local
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
"lab.pztrn.name/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
)
@@ -15,7 +12,7 @@ var (
c *appcontext.Context
)
// Welcomer is a function-handling struct for talkers
// Welcomer is a function-handling struct for welcomer
type Welcomer struct{}
// New is a appcontext initialization function
@@ -25,7 +22,7 @@ func New(ac *appcontext.Context) {
c.RegisterWelcomerInterface(welcomerinterface.WelcomerInterface(m))
}
// Init is an initialization function for talkers
// Init is an initialization function for welcomer
func (w *Welcomer) Init() {
log.Printf("Initializing Welcomer...")
c.Log.Info("Initializing Welcomer...")
}