Add setNickname docs

This commit is contained in:
abalabahaha
2016-04-30 11:58:12 -07:00
parent 249b6f919a
commit e48f2ffae3
4 changed files with 28 additions and 0 deletions

View File

@@ -702,6 +702,17 @@ Server-undeafens a member.
- **callback** - `function` taking the following:
- **error** - error if any occurred.
setNickname(server, nickname, `user`, `callback`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Set the nickname of a user on a server.
- **server** - A `Server Resolvable`_ to set the nickname of the user in
- **nickname** - `string` of the nickname
- **user** - The `User Resolvable`_ to perform the nickname change on. If no user is specified, this will change the bot user's nickname
- **callback** - `function` taking the following:
- **error** - error if any occurred.
Events
------