Merge pull request #758 from fearnlj01/1.0-fearnlj01
Various changes ¯\_(ツ)_/¯
This commit is contained in:
commit
ba08409ce4
@ -79,18 +79,24 @@ sudo apt-get update && sudo apt-get install ffmpeg -y`
|
||||
####Getting NadekoBot
|
||||
|
||||
**6)**
|
||||
- `cd ~`
|
||||
- `curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer.sh | sh`
|
||||
```
|
||||
cd ~
|
||||
curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer.sh | sh
|
||||
```
|
||||
**If you do not get any errors using the above steps move to the next section, Setting up NadekoBot otherwise, if you get errors follow step 6.1**
|
||||
|
||||
**6.1)**
|
||||
- `cd ~ && git clone -b 1.0 --recursive --depth 1 https://github.com/Kwoth/NadekoBot.git`
|
||||
- `cd ~/NadekoBot/discord.net/src/Discord.Net && dotnet restore && cd ../Discord.Net.Commands && dotnet restore && cd ../../../src/NadekoBot/ && dotnet restore && dotnet build --configuration Release`
|
||||
```
|
||||
cd ~ && git clone -b 1.0 --recursive --depth 1 https://github.com/Kwoth/NadekoBot.git
|
||||
cd ~/NadekoBot/discord.net/src/Discord.Net && dotnet restore && cd ../Discord.Net.Commands && dotnet restore && cd ../../../src/NadekoBot/ && dotnet restore && dotnet build --configuration Release`
|
||||
```
|
||||
|
||||
**If you still get some errors using the above steps, follow step 6.2**
|
||||
**6.2)**
|
||||
- `cd ~/NadekoBot/discord.net && dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json && dotnet restore`
|
||||
- `cd ~/NadekoBot/src/NadekoBot/ && dotnet restore && dotnet build --configuration Release`
|
||||
```
|
||||
cd ~/NadekoBot/discord.net && dotnet restore -s https://dotnet.myget.org/F/dotnet-core/api/v3/index.json && dotnet restore
|
||||
cd ~/NadekoBot/src/NadekoBot/ && dotnet restore && dotnet build --configuration Release
|
||||
```
|
||||
|
||||
####Setting up NadekoBot
|
||||
|
||||
|
@ -74,8 +74,8 @@ A dialog box will open asking if you want to install `xcode-select`. Select inst
|
||||
- If you mess up the setup of `credentials.json`, rename `credentials_example.json` to `credentials.json`.
|
||||
- Open the file with your Text editor.
|
||||
- In your [applications page][DiscordApp] (the window you were asked to keep open earlier), under the `Bot User` section, you will see `Token:click to reveal`, click to reveal the token.
|
||||
- Copy your bot's token, and on the `"Token"` line of your `credentials.json`, replace `null` with your bot token and put quotation marks before and after the token, like so `"Example.Token"`
|
||||
- Copy the `Client ID` on the page and replace the null part of the `ClientId` line with it, and put quotation marks before and after, like earlier.
|
||||
- Copy your bot's token, and on the `"Token"` line of your `credentials.json`, paste your bot token inbetween the quotation marks before and after the token, like so `"Example.Token"`
|
||||
- Copy the `Client ID` on the page and replace the `123123123` part of the `ClientId` line with it, and put quotation marks before and after, like earlier.
|
||||
- Again, copy the same `Client ID` and replace the null part of the `BotId` line with it, and do **not** put quotation marks before and after the ID.
|
||||
- Go to a server on discord and attempt to mention yourself, but put a backslash at the start as shown below
|
||||
- So the message `\@fearnlj01#3535` will appears as `<@145521851676884992>` after you send the message (to make it slightly easier, add the backslash after you type the mention out)
|
||||
|
@ -80,7 +80,7 @@ ________________________________________________________________________________
|
||||
- On the left tab, access `Credentials`. Click `Create Credentials` button. Click on `API Key`. A new window will appear with your `Google API key`.
|
||||
- Copy the key.
|
||||
- Open up `credentials.json`.
|
||||
- For `"GoogleAPIKey"`, replace `null` with the new key we copied and put quotation marks before and after the API key, like how the `Token` and `ClientId` should be set up.
|
||||
- For `"GoogleAPIKey"`, paste your API key inbetween the quotation marks, like how the `Token` and `ClientId` should be set up.
|
||||
- Follow these steps on how to setup Soundcloud API key:
|
||||
- Go to [Soundcloud][Soundcloud].
|
||||
- Enter a name for the app and create it.
|
||||
|
@ -204,7 +204,7 @@ namespace NadekoBot.Modules.Gambling
|
||||
{
|
||||
str += "More luck next time.";
|
||||
}
|
||||
else if (rng < 90)
|
||||
else if (rng < 91)
|
||||
{
|
||||
str += $"Congratulations! You won {amount * 2}{Gambling.CurrencySign} for rolling above 66";
|
||||
await CurrencyHandler.AddCurrencyAsync(guildUser, "Betroll Gamble", amount * 2, false).ConfigureAwait(false);
|
||||
|
@ -718,7 +718,7 @@
|
||||
<value>Sends a message to someone on a different server through the bot. Separate server and channel/user ids with `|` and prepend channel id with `c:` and user id with `u:`.</value>
|
||||
</data>
|
||||
<data name="send_usage" xml:space="preserve">
|
||||
<value>`{0}send serverid|c:channelid` or `{0}send serverid|u:userid`</value>
|
||||
<value>`{0}send serverid|c:channelid message` or `{0}send serverid|u:userid message`</value>
|
||||
</data>
|
||||
<data name="mentionrole_cmd" xml:space="preserve">
|
||||
<value>mentionrole menro</value>
|
||||
|
Loading…
Reference in New Issue
Block a user