Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solving #28 and #33 #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Solving #28 and #33 #37

wants to merge 2 commits into from

Conversation

0x1daniel
Copy link

@0x1daniel 0x1daniel commented May 27, 2018

@davidlazar Cleaned up the pull request.

@0x1daniel 0x1daniel changed the title Solving https://github.com/vuvuzela/vuvuzela/issues/28 and https://github.com/vuvuzela/vuvuzela/issues/33 Solving #28 and #33 May 27, 2018
@0x1daniel
Copy link
Author

@davidlazar Is the development still alive?

@davidlazar
Copy link
Member

Can you follow the Go convention for commit messages?

https://golang.org/doc/contribute.html#commit_messages

Also, "clean the code" should be a separate pull request.

@0x1daniel
Copy link
Author

@davidlazar I think the commit messages are already in the format you wished in an older closed pull request. And this commit message format is actually as described in the doc, without the huge message that would be only confusing at this point.

And I will keep the "clean the code" commit in here. It isn't worth the time opening a new one.

@0x1daniel
Copy link
Author

@davidlazar ping

@davidlazar
Copy link
Member

I'd like for the commit messages to be consistent. The Go contribution guidelines say:

A rule of thumb is that it should be written so to complete the sentence "This change modifies Go to _____." That means it does not start with a capital letter, is not a complete sentence, and actually summarizes the result of the change.

See here: https://golang.org/doc/contribute.html#commit_messages

Thanks.

Following aliases had been added:
- /win for /w
- /talk for /call

Fixes #28
The command /delfriend will now delete the friend from the
addressbook as well as from the sent friend request list.

Fixes #33
@0x1daniel
Copy link
Author

@davidlazar Fixed commit messages

@0x1daniel
Copy link
Author

@davidlazar ping

@0x1daniel
Copy link
Author

@davidlazar Ready to merge

}
} else {
cmd := args[0]
var choices []string
switch cmd {
case "w":
case "w", "win":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to not have to repeat the aliases here.

Handler func(gc *GuiClient, args []string) error
}

var commands = map[string]Command{
"help": {
Help: "/help prints this help message.",
Aliases: []string{},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants