forked from TeamInklings/Octobot
Added event link display for created event
This commit is contained in:
parent
58eceab771
commit
6fa4a24d4c
6 changed files with 2176 additions and 1074 deletions
1482
0001-Added-event-link-display-for-created-event.patch
Normal file
1482
0001-Added-event-link-display-for-created-event.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -129,7 +129,7 @@ public static class EventHandler {
|
|||
await Utils.SilentSendAsync(channel,
|
||||
string.Format(Messages.EventCreated, "\n", roleMention, scheduledEvent.Creator.Mention,
|
||||
Utils.Wrap(scheduledEvent.Name), location,
|
||||
scheduledEvent.StartTime.ToUnixTimeSeconds().ToString(), Utils.Wrap(scheduledEvent.Description)),
|
||||
scheduledEvent.StartTime.ToUnixTimeSeconds().ToString(), Utils.Wrap(scheduledEvent.Description), guild.Id, scheduledEvent.Id),
|
||||
true);
|
||||
}
|
||||
if (eventConfig["EventEarlyNotificationOffset"] != "0") {
|
||||
|
|
1760
Boyfriend/Messages.Designer.cs
generated
1760
Boyfriend/Messages.Designer.cs
generated
File diff suppressed because it is too large
Load diff
|
@ -166,7 +166,7 @@
|
|||
<value>I cannot use time-outs on other bots! Try to set a mute role in settings</value>
|
||||
</data>
|
||||
<data name="EventCreated" xml:space="preserve">
|
||||
<value>{1}{2} created event {3}! It will take place in {4} and will start <t:{5}:R>!{0}{6}</value>
|
||||
<value>{1}{2} created event {3}! It will take place in {4} and will start <t:{5}:R>!{0}{6}{0}https://discord.com/events/{7}/{8}</value>
|
||||
</data>
|
||||
<data name="SettingsEventNotifyReceiverRole" xml:space="preserve">
|
||||
<value>Role for event creation notifications</value>
|
||||
|
|
|
@ -157,7 +157,7 @@
|
|||
<value>Начальная роль</value>
|
||||
</data>
|
||||
<data name="EventCreated" xml:space="preserve">
|
||||
<value>{1}{2} создал событие {3}! Оно пройдёт в {4} и начнётся <t:{5}:R>!{0}{6}</value>
|
||||
<value>{1}{2} создал событие {3}! Оно пройдёт в {4} и начнётся <t:{5}:R>!{0}{6}{0}https://discord.com/events/{7}/{8}</value>
|
||||
</data>
|
||||
<data name="SettingsEventNotifyReceiverRole" xml:space="preserve">
|
||||
<value>Роль для уведомлений о создании событий</value>
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
<value>базовое звание</value>
|
||||
</data>
|
||||
<data name="EventCreated" xml:space="preserve">
|
||||
<value>{1}{2} приготовил новый квест {3}! он пройдёт в {4} и начнётся <t:{5}:R>!{0}{6}</value>
|
||||
<value>{1}{2} приготовил новый квест {3}! он пройдёт в {4} и начнётся <t:{5}:R>!{0}{6}{0}https://discord.com/events/{7}/{8}</value>
|
||||
</data>
|
||||
<data name="SettingsEventNotifyReceiverRole" xml:space="preserve">
|
||||
<value>роль для уведомлений о создании квеста</value>
|
||||
|
|
Reference in a new issue