func NewRetryCommand(base bot.BaseCommand, cfg *config.Config) bot.Command {
	return &retryCommand{
		base,
		cfg,
	}
}
NewRetryCommand store the history of the commands of the user sent to the bot in a local storage
With "retry" the most recent command of the channel will be repeated
package command
import (
	"fmt"
	"github.com/pkg/errors"
	"github.com/innogames/slack-bot/v2/bot"
	"github.com/innogames/slack-bot/v2/bot/config"
	"github.com/innogames/slack-bot/v2/bot/matcher"
	"github.com/innogames/slack-bot/v2/bot/msg"
	"github.com/innogames/slack-bot/v2/bot/storage"
	"github.com/innogames/slack-bot/v2/client"
	log "github.com/sirupsen/logrus"
	"github.com/slack-go/slack"
)
const storageKey = "user_history"