diff --git a/cmd/nourybot/command.go b/cmd/nourybot/command.go index f4d371b..8fb81c2 100644 --- a/cmd/nourybot/command.go +++ b/cmd/nourybot/command.go @@ -280,8 +280,8 @@ func (app *application) ListCommands() string { // InitialTimers is called on startup and queries the database for a list of // timers and then adds each onto the scheduler. func (app *application) ListChannelCommands(channel string) string { - channelUrl := fmt.Sprintf("https://bot.noury.is/commands/%s", channel) - commandUrl := "https://bot.noury.is/commands" + channelUrl := fmt.Sprintf("https://bot.noury.li/commands/%s", channel) + commandUrl := "https://bot.noury.li/commands" command, err := app.Models.Commands.GetAllChannel(channel) if err != nil { app.Log.Errorw("Error trying to retrieve all timers from database", err) diff --git a/cmd/nourybot/commands.go b/cmd/nourybot/commands.go index dbd55f8..9eefaea 100644 --- a/cmd/nourybot/commands.go +++ b/cmd/nourybot/commands.go @@ -215,7 +215,7 @@ func (app *application) handleCommand(message twitch.PrivateMessage) { reply = app.ListChannelCommands(message.Channel) case "timers": - reply = fmt.Sprintf("https://bot.noury.is/timer/%s", message.Channel) + reply = fmt.Sprintf("https://bot.noury.li/timer/%s", message.Channel) case "conv": if userLevel >= 100 { diff --git a/cmd/nourybot/download.go b/cmd/nourybot/download.go index 3973101..3afa82f 100644 --- a/cmd/nourybot/download.go +++ b/cmd/nourybot/download.go @@ -87,7 +87,7 @@ func (app *application) ConvertAndSave(fName, link string, msg twitch.PrivateMes OverWriteOutput().ErrorToStdOut().Run() defer os.Remove(fileName) - app.Send(msg.Channel, fmt.Sprintf("https://bot.noury.is/uploads/%s.mp4", fName), msg) + app.Send(msg.Channel, fmt.Sprintf("https://bot.noury.li/uploads/%s.mp4", fName), msg) } func (app *application) ConvertToMP4(link string, msg twitch.PrivateMessage) {