mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-05-24 12:51:16 +02:00
Codu quality patch in order to get merged with master
This commit is contained in:
parent
29add0224c
commit
db421c828b
4 changed files with 4 additions and 6 deletions
|
@ -1 +0,0 @@
|
|||
aethor@pc60.home.13981:1546264820
|
|
@ -70,7 +70,7 @@ func Unsubscribe(m *tb.Message) {
|
|||
shared.Users.Set(m.Sender.Username, "subscribed_chats", strings.Join(splittedChats, ":"))
|
||||
}
|
||||
|
||||
// List all subscribers of the current chat
|
||||
// ListSubscribers List all subscribers of the current chat
|
||||
// Command syntax : /listsubscribers
|
||||
func ListSubscribers(m *tb.Message) {
|
||||
if m.Chat.Type != "group" && m.Chat.Type != "supergroup" {
|
||||
|
@ -104,7 +104,7 @@ func Publish(m *tb.Message) {
|
|||
|
||||
}
|
||||
|
||||
// Remove a message from published messages in the current chat
|
||||
// Unpublish remove a message from published messages in the current chat
|
||||
// Command syntax : /unpublish [publication ID]
|
||||
func Unpublish(m *tb.Message) {
|
||||
parsedCommand := strings.Split(m.Text, " ")
|
||||
|
@ -131,7 +131,7 @@ func Unpublish(m *tb.Message) {
|
|||
shared.Bot.Send(m.Chat, "Message supprimé des publication")
|
||||
}
|
||||
|
||||
// If performed in MP : retrieve all messages from all subscribed sources for the user
|
||||
// Retrieve If performed in MP : retrieve all messages from all subscribed sources for the user
|
||||
// If performed in Group Chat : retrieved all published messages for this chat
|
||||
// Command syntax : /retrieve
|
||||
func Retrieve(m *tb.Message) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue