mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-01-18 10:36:44 +01:00
Fix identation
This commit is contained in:
parent
9df38b5a88
commit
e786b77f62
@ -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…
Reference in New Issue
Block a user