change domain

This commit is contained in:
lyx0 2024-01-08 16:25:54 +01:00
parent 026918354d
commit 4ff1deec02
3 changed files with 4 additions and 4 deletions

View file

@ -280,8 +280,8 @@ func (app *application) ListCommands() string {
// InitialTimers is called on startup and queries the database for a list of // InitialTimers is called on startup and queries the database for a list of
// timers and then adds each onto the scheduler. // timers and then adds each onto the scheduler.
func (app *application) ListChannelCommands(channel string) string { func (app *application) ListChannelCommands(channel string) string {
channelUrl := fmt.Sprintf("https://bot.noury.is/commands/%s", channel) channelUrl := fmt.Sprintf("https://bot.noury.li/commands/%s", channel)
commandUrl := "https://bot.noury.is/commands" commandUrl := "https://bot.noury.li/commands"
command, err := app.Models.Commands.GetAllChannel(channel) command, err := app.Models.Commands.GetAllChannel(channel)
if err != nil { if err != nil {
app.Log.Errorw("Error trying to retrieve all timers from database", err) app.Log.Errorw("Error trying to retrieve all timers from database", err)

View file

@ -215,7 +215,7 @@ func (app *application) handleCommand(message twitch.PrivateMessage) {
reply = app.ListChannelCommands(message.Channel) reply = app.ListChannelCommands(message.Channel)
case "timers": 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": case "conv":
if userLevel >= 100 { if userLevel >= 100 {

View file

@ -87,7 +87,7 @@ func (app *application) ConvertAndSave(fName, link string, msg twitch.PrivateMes
OverWriteOutput().ErrorToStdOut().Run() OverWriteOutput().ErrorToStdOut().Run()
defer os.Remove(fileName) 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) { func (app *application) ConvertToMP4(link string, msg twitch.PrivateMessage) {