Skip to content

Build error #170

Open
Open
@Md-Emon32

Description

@Md-Emon32

go build ./cmd/fsb/ # EverythingSuckz/fsb/internal/commands internal/commands/start.go:26:16: cannot use "You are not allowed to use this bot." (constant of type string) as ext.ReplyTextType value in argument to ctx.Reply: string does not implement ext.ReplyTextType (missing method construct) internal/commands/start.go:29:15: cannot use "Hi, send me any file to get a direct streamble link to that file." (constant of type string) as ext.ReplyTextType value in argument to ctx.Reply: string does not implement ext.ReplyTextType (missing method construct) internal/commands/stream.go:50:16: cannot use "You are not allowed to use this bot." (constant of type string) as ext.ReplyTextType value in argument to ctx.Reply: string does not implement ext.ReplyTextType (missing method construct) internal/commands/stream.go:58:16: cannot use "Sorry, this message type is unsupported." (constant of type string) as ext.ReplyTextType value in argument to ctx.Reply: string does not implement ext.ReplyTextType (missing method construct) internal/commands/stream.go:64:16: cannot use fmt.Sprintf("Error - %s", err.Error()) (value of type string) as ext.ReplyTextType value in argument to ctx.Reply: string does not implement ext.ReplyTextType (missing method construct) internal/commands/stream.go:71:16: cannot use fmt.Sprintf("Error - %s", err.Error()) (value of type string) as ext.ReplyTextType value in argument to ctx.Reply: string does not implement ext.ReplyTextType (missing method construct) internal/commands/stream.go:101:25: cannot use text (variable of type []styling.StyledTextOption) as ext.ReplyTextType value in argument to ctx.Reply: []styling.StyledTextOption does not implement ext.ReplyTextType (missing method construct) internal/commands/stream.go:106:25: cannot use text (variable of type []styling.StyledTextOption) as ext.ReplyTextType value in argument to ctx.Reply: []styling.StyledTextOption does not implement ext.ReplyTextType (missing method construct)
internal/commands/stream.go:114:16: cannot use fmt.Sprintf("Error - %s", err.Error()) (value of type string) as ext.ReplyTextType value in argument to ctx.Reply: string does not implement ext.ReplyTextType (missing method construct)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions