func AddCommand(Bot *tgbotapi.BotAPI, update *tgbotapi.Update) {
	commandArguments := strings.Split(update.Message.CommandArguments(), " ")
	if len(commandArguments) < 2 {
		log.Debug("Not enough arguments\\. We need \"/add name url\"")
		return
	}
	feedName := commandArguments[0]
	feedUrl := commandArguments[1]
	userid := update.Message.From.ID
	chatid := update.Message.Chat.ID
	err := feeds.AddFeed(Bot, feedName, feedUrl, chatid, userid)
	txt := ""
	if err == nil {
		txt = fmt.Sprintf("The feed with the url [%s] was successfully added to this channel\\!", replies.FilterMessageChars(feedUrl))
		replies.SimpleMessage(Bot, chatid, update.Message.MessageID, txt)
	}
}
Commands functions which are executed upon receiving a command
package commands
import (
	"fmt"
	"github.com/0x111/telegram-rss-bot/feeds"
	"github.com/0x111/telegram-rss-bot/replies"
	"github.com/go-telegram-bot-api/telegram-bot-api"
	log "github.com/sirupsen/logrus"
	"strconv"
	"strings"
)