This commit is contained in:
Kwoth 2016-01-11 20:35:54 +01:00
commit 3efdae632d

View File

@ -17,12 +17,20 @@ In your bin/debug folder (or next to your exe), you must have a file called 'cre
"Password":"bot_password", "Password":"bot_password",
"GoogleAPIKey":"google_api_key", "GoogleAPIKey":"google_api_key",
"OwnerID":123123123123, "OwnerID":123123123123,
"Crawl":false,
"ParseID":"parse_app_id", "ParseID":"parse_app_id",
"ParseKey":"parse_api_key", "ParseKey":"parse_api_key",
} }
``` ```
- Keep the crawl on false. **You can omit Parse keys if you don't want logging. You can omit googleAPIKey if you don't want music.**
```json
{
"Username":"bot_email",
"BotMention":"<@bot_id>",
"Password":"bot_password",
"OwnerID":123123123123,
}
```
- BotMention(bot\_id) and OwnerID are **NOT** names of the owner and the bot. If you do not know the id of your bot, put 2 random numbers in those fields, run the bot and do `.uid @MyBotName` - that will give you your bot\_id, do the same for yourself `.uid @MyName` and copy the numbers in their respective fields.
- For google api key, you need to enable URL shortner and Youtube video search in the dev console. - For google api key, you need to enable URL shortner and Youtube video search in the dev console.
- For **ParseID** and **ParseKey**, you need to register on http://www.parse.com, get those values and create an app with these 3 classes: `'CommandsRan', 'Requests' and 'Stats'` in order to make the logging work. - For **ParseID** and **ParseKey**, you need to register on http://www.parse.com, get those values and create an app with these 3 classes: `'CommandsRan', 'Requests' and 'Stats'` in order to make the logging work.
- If you have **Windows7**, you need to install [Parse.Api](https://www.nuget.org/packages/Parse.Api/) instead of the library that comes with this project - If you have **Windows7**, you need to install [Parse.Api](https://www.nuget.org/packages/Parse.Api/) instead of the library that comes with this project
@ -38,8 +46,7 @@ Fire up visual studio, wait for it to resolve dependencies and start NadekoBot.
Enjoy Enjoy
##List of commands ##List of commands
(may be incomplete) last updated: 5.1.2016 (may be incomplete) last updated: 11.1.2016
Official repo: **github.com/Kwoth/NadekoBot/** Official repo: **github.com/Kwoth/NadekoBot/**
@ -50,17 +57,23 @@ Command [alias] | Description | Usage
`-hgit` | Help command stylized for github readme `-hgit` | Help command stylized for github readme
`.sr` [.setrole ] | Sets a role for a given user. | .sr @User Guest `.sr` [.setrole ] | Sets a role for a given user. | .sr @User Guest
`.rr` [.removerole ] | Removes a role from a given user. | .rr @User Admin `.rr` [.removerole ] | Removes a role from a given user. | .rr @User Admin
`.r` [.role ] [.cr ] | Creates a role with a given name, and color. `.r` [.role ] [.cr ] | Creates a role with a given name, and color. | .r AwesomeRole Orange
`.b` [.ban ] | Kicks a mentioned user `.b` [.ban ] | Bans a mentioned user
`.ub` [.unban ] | Unbans a mentioned user
`.k` [.kick ] | Kicks a mentioned user. `.k` [.kick ] | Kicks a mentioned user.
`.rvch` | Removes a voice channel with a given name. `.rvch` | Removes a voice channel with a given name.
`.vch` [.cvch ] | Creates a new voice channel with a given name. `.vch` [.cvch ] | Creates a new voice channel with a given name.
`.rch` [.rtch ] | Removes a text channel with a given name. `.rch` [.rtch ] | Removes a text channel with a given name.
`.ch` [.tch ] | Creates a new text channel with a given name. `.ch` [.tch ] | Creates a new text channel with a given name.
`.st` [.settopic ] | Sets a topic on the current channel.
`.uid` [.userid ] | Shows user id `.uid` [.userid ] | Shows user id
`.cid` [.channelid ] | Shows current channel id `.cid` [.channelid ] | Shows current channel id
`.sid` [.serverid ] | Shows current server id `.sid` [.serverid ] | Shows current server id
`.stats` | Shows some basic stats for nadeko `.stats` | Shows some basic stats for nadeko
`.prune` | Prunes a number of messages from the current channel. | .prune 50
`.die` | Works only for the owner. Shuts the bot down.
`.clr` | Clears some of nadeko's messages from the current channel.
`.newname` | Give the bot a new name.
### Conversations ### Conversations
Command [alias] | Description | Usage Command [alias] | Description | Usage
@ -69,20 +82,19 @@ Command [alias] | Description | Usage
`/o/` | Nadeko replies with \o\ `/o/` | Nadeko replies with \o\
`@BotName copyme` [@BotName cm ] | Nadeko starts copying everything you say. Disable with cs `@BotName copyme` [@BotName cm ] | Nadeko starts copying everything you say. Disable with cs
`@BotName cs` [@BotName copystop ] | Nadeko stops copying you `@BotName cs` [@BotName copystop ] | Nadeko stops copying you
`@BotName do you love me` | Replies with positive answer only to the bot owner. `@BotName uptime` | Shows how long is Nadeko running for.
`@BotName die` | Works only for the owner. Shuts the bot down. `@BotName die` | Works only for the owner. Shuts the bot down.
`@BotName randserver` | Generates an invite to a random server and prints some stats.
`@BotName do you love me` | Replies with positive answer only to the bot owner.
`@BotName how are you` | Replies positive only if bot owner is online. `@BotName how are you` | Replies positive only if bot owner is online.
`@BotName insult` | Only works for owner. Insults @X person. | @NadekoBot insult @X. `@BotName insult` | Only works for owner. Insults @X person. | @NadekoBot insult @X.
`@BotName praise` | Only works for owner. Praises @X person. | @NadekoBot praise @X. `@BotName praise` | Only works for owner. Praises @X person. | @NadekoBot praise @X.
`@BotName are you real` | Useless. `@BotName are you real` | Useless.
`@BotName are you there` [@BotName ! ] [@BotName ? ] | Checks if nadeko is operational. `@BotName are you there` [@BotName ! ] [@BotName ? ] | Checks if nadeko is operational.
`@BotName draw` | Nadeko instructs you to type $draw. Gambling functions start with $ `@BotName draw` | Nadeko instructs you to type $draw. Gambling functions start with $
`@BotName uptime` | Shows how long is Nadeko running for.
`@BotName fire` | Shows a unicode fire message. Optional parameter [x] tells her how many times to repeat the fire. | @NadekoBot fire [x] `@BotName fire` | Shows a unicode fire message. Optional parameter [x] tells her how many times to repeat the fire. | @NadekoBot fire [x]
`@BotName rip` | Shows a grave image.Optional parameter [@X] instructs her to put X's name on the grave. | @NadekoBot rip [@X] `@BotName rip` | Shows a grave image.Optional parameter [@X] instructs her to put X's name on the grave. | @NadekoBot rip [@X]
`@BotName j` | Joins a server using a code. Obsolete, since nadeko will autojoin any valid code in chat. `@BotName j` | Joins a server using a code.
`@BotName i` [@BotName img ] | Pulls a first image using a search parameter. | @NadekoBot img Multiword_search_parameter
`@BotName ir` [@BotName imgrandom ] | Pulls a random image using a search parameter. | @NadekoBot img Multiword_search_parameter
`@BotName save` [@BotName ,s ] [@BotName -s ] | Saves something for the owner in a file. `@BotName save` [@BotName ,s ] [@BotName -s ] | Saves something for the owner in a file.
`@BotName ls` | Shows all saved items. `@BotName ls` | Shows all saved items.
`@BotName slm` | Shows the message where you were last mentioned in this channel (checks last 10k messages) `@BotName slm` | Shows the message where you were last mentioned in this channel (checks last 10k messages)
@ -92,12 +104,10 @@ Command [alias] | Description | Usage
`@BotName lr` | PMs the user all current nadeko requests. `@BotName lr` | PMs the user all current nadeko requests.
`@BotName dr` | Deletes a request. Only owner is able to do this. `@BotName dr` | Deletes a request. Only owner is able to do this.
`@BotName rr` | Resolves a request. Only owner is able to do this. `@BotName rr` | Resolves a request. Only owner is able to do this.
`@BotName clr` | Clears some of nadeko's messages from the current channel.
`@BotName call` | Useless. Writes calling @X to chat. | @NadekoBot call @X `@BotName call` | Useless. Writes calling @X to chat. | @NadekoBot call @X
`@BotName hide` | Hides nadeko in plain sight!11!! `@BotName hide` | Hides nadeko in plain sight!11!!
`@BotName unhide` | Unhides nadeko in plain sight!1!!1 `@BotName unhide` | Unhides nadeko in plain sight!1!!1
`@BotName dump` | Dumps all of the invites it can to dump.txt `@BotName dump` | Dumps all of the invites it can to dump.txt
`@BotName randserver` | Generates an invite to a random server and prints some stats.
`@BotName av` [@BotName avatar ] | Shows a mentioned person's avatar. | ~av @X `@BotName av` [@BotName avatar ] | Shows a mentioned person's avatar. | ~av @X
### Gambling ### Gambling
@ -134,3 +144,4 @@ Command [alias] | Description | Usage
`~yt` | Queries youtubes and embeds the first result `~yt` | Queries youtubes and embeds the first result
`~ani` [~anime ] [~aq ] | Queries anilist for an anime and shows the first result. `~ani` [~anime ] [~aq ] | Queries anilist for an anime and shows the first result.
`~mang` [~manga ] [~mq ] | Queries anilist for a manga and shows the first result. `~mang` [~manga ] [~mq ] | Queries anilist for a manga and shows the first result.
`~randomcat` | Shows a random cat image.