mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-04-11 10:14:41 +02:00
Fix identation
This commit is contained in:
parent
9df38b5a88
commit
e786b77f62
1 changed files with 6 additions and 6 deletions
|
@ -29,10 +29,10 @@ func Spongify(input_message string) string {
|
|||
|
||||
func Sponge(m *tb.Message) {
|
||||
message := ""
|
||||
if m.IsReply() {
|
||||
message = Spongify(m.ReplyTo.Text)
|
||||
} else {
|
||||
message = Spongify(shared.History.LastMessage(m.Chat.ID))
|
||||
}
|
||||
shared.Bot.Send(m.Chat, message)
|
||||
if m.IsReply() {
|
||||
message = Spongify(m.ReplyTo.Text)
|
||||
} else {
|
||||
message = Spongify(shared.History.LastMessage(m.Chat.ID))
|
||||
}
|
||||
shared.Bot.Send(m.Chat, message)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue