Cleanup.
This commit is contained in:
parent
8e0da2b1ac
commit
3a0c1f87d4
1 changed files with 1 additions and 4 deletions
|
|
@ -178,14 +178,11 @@ func (m *verse) RandomVerse(ctx context.Context, cmd *cli.Command) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
} else if simulate {
|
||||
} else {
|
||||
vv, err = mdl.RandomVerseRotate()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
logger.Error("--simulate must be supplied with --chatid")
|
||||
return ErrInvalidOptions
|
||||
}
|
||||
vv.Translation = "bsb"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue