gofmt
This commit is contained in:
parent
fe7346a530
commit
ec49d5d412
|
@ -17,6 +17,7 @@ import (
|
||||||
const notEnoughArguments string = "Not enough arguments"
|
const notEnoughArguments string = "Not enough arguments"
|
||||||
const telegramNotInitialized string = "Telegram connection is not initialized yet"
|
const telegramNotInitialized string = "Telegram connection is not initialized yet"
|
||||||
const notOnline string = "Not online"
|
const notOnline string = "Not online"
|
||||||
|
|
||||||
var permissionsAdmin = client.ChatMemberStatusAdministrator{
|
var permissionsAdmin = client.ChatMemberStatusAdministrator{
|
||||||
CanBeEdited: true,
|
CanBeEdited: true,
|
||||||
CanChangeInfo: true,
|
CanChangeInfo: true,
|
||||||
|
@ -144,7 +145,7 @@ func parseCommand(cmdline string) (string, []string) {
|
||||||
return bodyFields[0][1:], bodyFields[1:]
|
return bodyFields[0][1:], bodyFields[1:]
|
||||||
}
|
}
|
||||||
|
|
||||||
func rawCmdArguments(cmdline string, start uint8) (string) {
|
func rawCmdArguments(cmdline string, start uint8) string {
|
||||||
var state uint
|
var state uint
|
||||||
// /cmd ababa galamaga
|
// /cmd ababa galamaga
|
||||||
// 01 2 3 45
|
// 01 2 3 45
|
||||||
|
|
Loading…
Reference in a new issue