Commit 8d45ee7f authored by Mike Jones's avatar Mike Jones 🌶

Add command prefix

parent c70265a9
......@@ -29,22 +29,22 @@ func New(c *util.Config, store *store.BoltStore) {
}
userCommands = map[string]command.FnCommand{
"l": fn.NowPlaying,
"np": fn.NowPlaying,
"nowplaying": fn.NowPlaying,
"topw": fn.UserTopWeek,
"topm": fn.UserTopMonth,
"topy": fn.UserTopYear,
"topa": fn.UserTopAll,
"plays": fn.UserArtistStats,
"aplays": fn.UserAlbumStats,
"splays": fn.UserTrackStats,
"!l": fn.NowPlaying,
"!np": fn.NowPlaying,
"!nowplaying": fn.NowPlaying,
"!topw": fn.UserTopWeek,
"!topm": fn.UserTopMonth,
"!topy": fn.UserTopYear,
"!topa": fn.UserTopAll,
"!plays": fn.UserArtistStats,
"!aplays": fn.UserAlbumStats,
"!splays": fn.UserTrackStats,
}
openCommands = map[string]command.OpenFnCommand{
"artist": fn.ArtistInfo,
"band": fn.ArtistInfo,
"setuser": fn.SetUser,
"!artist": fn.ArtistInfo,
"!band": fn.ArtistInfo,
"!setuser": fn.SetUser,
}
}
......
#!/usr/bin/env bash
# This needs work - temporary script (insert your env variables)
kubectl run modlastfm --image="gcr.io/stella-irc/modlastfm:latest" --env LASTFM_API_KEY="" --env LASTFM_API_SECRET="" --namespace dragcar
kubectl create deployment modlastfm --image="gcr.io/stella-irc/modlastfm:latest" --namespace dragcar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment