better repeat
- emojis - time is now `highlighted` - text to repeat is now bold
This commit is contained in:
parent
1552c16707
commit
62d5ed58c6
@ -88,7 +88,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
RepeatRunner rep;
|
RepeatRunner rep;
|
||||||
if (!repeaters.TryGetValue(channel.Id, out rep))
|
if (!repeaters.TryGetValue(channel.Id, out rep))
|
||||||
{
|
{
|
||||||
await channel.SendMessageAsync("`No repeating message found on this server.`").ConfigureAwait(false);
|
await channel.SendMessageAsync("ℹ️ **No repeating message found on this server.**").ConfigureAwait(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
rep.Reset();
|
rep.Reset();
|
||||||
@ -110,10 +110,10 @@ namespace NadekoBot.Modules.Administration
|
|||||||
await uow.CompleteAsync();
|
await uow.CompleteAsync();
|
||||||
}
|
}
|
||||||
rep.Stop();
|
rep.Stop();
|
||||||
await channel.SendMessageAsync("`Stopped repeating a message.`").ConfigureAwait(false);
|
await channel.SendMessageAsync("✅ **Stopped repeating a message.**").ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
await channel.SendMessageAsync("`No message is repeating.`").ConfigureAwait(false);
|
await channel.SendMessageAsync("ℹ️ **No message is repeating.**").ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
@ -159,8 +159,8 @@ namespace NadekoBot.Modules.Administration
|
|||||||
return old;
|
return old;
|
||||||
});
|
});
|
||||||
|
|
||||||
await channel.SendMessageAsync($"Repeating \"{rep.Repeater.Message}\" every {rep.Repeater.Interval.Days} days, {rep.Repeater.Interval.Hours} hours and {rep.Repeater.Interval.Minutes} minutes.").ConfigureAwait(false);
|
await channel.SendMessageAsync($"🔁 Repeating **\"{rep.Repeater.Message}\"** every `{rep.Repeater.Interval.Days} days, {rep.Repeater.Interval.Hours} hours and {rep.Repeater.Interval.Minutes} minutes`.").ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user