From 4ff1deec020d9f7ba7a4b290e6be6fdb1807e6ef Mon Sep 17 00:00:00 2001 From: lyx0 <66651385+lyx0@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:25:54 +0100 Subject: [PATCH] change domain --- cmd/nourybot/command.go | 4 ++-- cmd/nourybot/commands.go | 2 +- cmd/nourybot/download.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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) {