diff --git a/commands/register_private.go b/commands/register_private.go index 1d807d3..20a72c9 100644 --- a/commands/register_private.go +++ b/commands/register_private.go @@ -2,7 +2,7 @@ * @Author: Bartuccio Antoine * @Date: 2019-01-02 22:46:05 * @Last Modified by: Bartuccio Antoine -* @Last Modified time: 2019-01-02 22:53:48 +* @Last Modified time: 2019-01-03 00:02:48 */ package commands @@ -16,7 +16,7 @@ import ( func RegisterPrivate(m *tb.Message) { if m.Chat.Type != tb.ChatPrivate { - shared.Bot.Send(m.Chat, "Cette commande n'est disponnible qu'en messages privés") + shared.Bot.Send(m.Chat, "Cette commande n'est disponible qu'en messages privés") } if m.Sender.Username == "" { @@ -31,7 +31,7 @@ func RegisterPrivate(m *tb.Message) { func UnRegisterPrivate(m *tb.Message) { if m.Chat.Type != tb.ChatPrivate { - shared.Bot.Send(m.Chat, "Cette commande n'est disponnible qu'en messages privés") + shared.Bot.Send(m.Chat, "Cette commande n'est disponible qu'en messages privés") } if m.Sender.Username == "" { diff --git a/commands/subscribe.go b/commands/subscribe.go index 834f3f6..44c378b 100644 --- a/commands/subscribe.go +++ b/commands/subscribe.go @@ -320,7 +320,7 @@ func Retrieve(m *tb.Message) { shared.Bot.Send(m.Chat, "--- Messages publiés ---") } -// ToggleUpdates activate/deactivate automatic updates from the chat it's emmited +// ToggleUpdates activate/deactivate automatic updates from the current chat // Command syntax : /toggleupdates func ToggleUpdates(m *tb.Message) { @@ -348,7 +348,7 @@ func ToggleUpdates(m *tb.Message) { } if !wasSuscribed { - shared.Bot.Send(m.Chat, "Vous n'êtes pas abonné au chat : "+m.Chat.Title) + shared.Bot.Send(m.Chat, "Vous n'ête pas abonné au chat : "+m.Chat.Title) return } diff --git a/doc/publish.md b/doc/publish.md index b103875..93dc94f 100644 --- a/doc/publish.md +++ b/doc/publish.md @@ -36,7 +36,7 @@ The publish module intend to be a "multi-pin" feature for chats, allowing users ### Publish -**Description** : Publish a message to Alfred for this group chat and sends this message via MP to every subscriber of the group chat if the have not mutted it. The message can then be retrieved using the *retrieve* command. +**Description** : Publish a message to Alfred for this group chat and sends this message via MP to every subscriber of the group chat if they have not mutted it. The message can then be retrieved using the *retrieve* command. **Usage location** : Group chat only @@ -71,4 +71,4 @@ The publish module intend to be a "multi-pin" feature for chats, allowing users **Command syntax** : /toggleupdates -**note** : No notification can be send if the user has never done /registerprivate on a private chat with the bot, this is a limitation of the telegram bot API. \ No newline at end of file +*note* : No notification can be send if the user has never done /registerprivate on a private chat with the bot, this is a limitation of the telegram bot API. \ No newline at end of file