mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-01-18 18:46: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) {
|
func Sponge(m *tb.Message) {
|
||||||
message := ""
|
message := ""
|
||||||
if m.IsReply() {
|
if m.IsReply() {
|
||||||
message = Spongify(m.ReplyTo.Text)
|
message = Spongify(m.ReplyTo.Text)
|
||||||
} else {
|
} else {
|
||||||
message = Spongify(shared.History.LastMessage(m.Chat.ID))
|
message = Spongify(shared.History.LastMessage(m.Chat.ID))
|
||||||
}
|
}
|
||||||
shared.Bot.Send(m.Chat, message)
|
shared.Bot.Send(m.Chat, message)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user