mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
change domain
This commit is contained in:
parent
026918354d
commit
4ff1deec02
|
@ -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)
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue