mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-08 16:20:02 +00:00
[filesay] Lint: Remove dead code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
56f980c48f
commit
6ce8375fa5
1 changed files with 1 additions and 5 deletions
|
@ -19,14 +19,10 @@ const (
|
||||||
httpTimeout = 5 * time.Second
|
httpTimeout = 5 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var formatMessage plugins.MsgFormatter
|
||||||
formatMessage plugins.MsgFormatter
|
|
||||||
send plugins.SendMessageFunc
|
|
||||||
)
|
|
||||||
|
|
||||||
func Register(args plugins.RegistrationArguments) error {
|
func Register(args plugins.RegistrationArguments) error {
|
||||||
formatMessage = args.FormatMessage
|
formatMessage = args.FormatMessage
|
||||||
send = args.SendMessage
|
|
||||||
|
|
||||||
args.RegisterActor(actorName, func() plugins.Actor { return &actor{} })
|
args.RegisterActor(actorName, func() plugins.Actor { return &actor{} })
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue