mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
rename EditCommand to EditCommandLevel
This commit is contained in:
parent
e78a844860
commit
4e4b26b43a
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ func (app *Application) handleCommand(message twitch.PrivateMessage) {
|
|||
common.Send(target, "Not enough arguments provided.", app.TwitchClient)
|
||||
return
|
||||
} else if cmdParams[1] == "level" {
|
||||
app.EditCommand(cmdParams[2], cmdParams[3], message)
|
||||
app.EditCommandLevel(cmdParams[2], cmdParams[3], message)
|
||||
return
|
||||
} else {
|
||||
return
|
||||
|
|
|
@ -66,7 +66,7 @@ func (app *Application) GetCommand(name, username string) (string, error) {
|
|||
|
||||
}
|
||||
|
||||
func (app *Application) EditCommand(name, lvl string, message twitch.PrivateMessage) {
|
||||
func (app *Application) EditCommandLevel(name, lvl string, message twitch.PrivateMessage) {
|
||||
|
||||
level, err := strconv.Atoi(lvl)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue