Merge pull request #122 from Felanbird/minor/remove-status-alias

Removed status alias from justlog status
This commit is contained in:
gempir 2021-10-01 12:35:55 +02:00 committed by GitHub
commit 7d4ca7307c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ import (
func (b *Bot) handlePrivateMessageCommands(message twitch.PrivateMessage) {
if contains(b.cfg.Admins, message.User.Name) {
if strings.HasPrefix(message.Message, "!justlog status") || strings.HasPrefix(message.Message, "!status") {
if strings.HasPrefix(message.Message, "!justlog status") {
uptime := humanize.TimeSince(b.startTime)
b.Say(message.Channel, message.User.DisplayName+", uptime: "+uptime)
}