forked from pothtonswer/discordmuffin
Updates docs to include the newly required "Bot" infront of bot user tokens. (#266)
This commit is contained in:
parent
af3fe4842a
commit
627f9a3ca6
6 changed files with 30 additions and 12 deletions
|
@ -27,7 +27,7 @@ Usage of ./airhorn:
|
||||||
The below example shows how to start the bot.
|
The below example shows how to start the bot.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./airhorn -t <bot token>
|
./airhorn -t "Bot YOUR_BOT_TOKEN"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Creating sounds
|
### Creating sounds
|
||||||
|
|
|
@ -37,5 +37,5 @@ Usage of ./ocalfile:
|
||||||
For example to start application with Token and a non-default avatar:
|
For example to start application with Token and a non-default avatar:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./localfile -t "YOUR_BOT_TOKEN" -f "./pathtoavatar.jpg"
|
./localfile -t "Bot YOUR_BOT_TOKEN" -f "./pathtoavatar.jpg"
|
||||||
```
|
```
|
||||||
|
|
|
@ -37,5 +37,5 @@ Usage of ./url:
|
||||||
For example to start application with Token and a non-default avatar:
|
For example to start application with Token and a non-default avatar:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./url -t "YOUR_BOT_TOKEN" -l "http://bwmarrin.github.io/discordgo/img/discordgo.png"
|
./url -t "Bot YOUR_BOT_TOKEN" -l "http://bwmarrin.github.io/discordgo/img/discordgo.png"
|
||||||
```
|
```
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
MyToken Example
|
MyToken Example
|
||||||
====
|
====
|
||||||
|
|
||||||
This example demonstrates how to utilize DiscordGo to print out the
|
This example demonstrates how to utilize DiscordGo to print out the
|
||||||
Authentication Token for a given user account.
|
Authentication Token for a given user account.
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
This assumes you already have a working Go environment setup and that
|
This assumes you already have a working Go environment setup and that
|
||||||
DiscordGo is correctly installed on your system.
|
DiscordGo is correctly installed on your system.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -33,3 +33,9 @@ authentication.
|
||||||
```sh
|
```sh
|
||||||
./mytoken -e EmailHere -p PasswordHere
|
./mytoken -e EmailHere -p PasswordHere
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The below example shows how to start the bot using the bot user's token
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./pingpong -t "Bot YOUR_BOT_TOKEN"
|
||||||
|
```
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
Basic New Example
|
Basic New Example
|
||||||
====
|
====
|
||||||
|
|
||||||
This example demonstrates how to utilize DiscordGo to connect to Discord
|
This example demonstrates how to utilize DiscordGo to connect to Discord
|
||||||
and print out all received chat messages.
|
and print out all received chat messages.
|
||||||
|
|
||||||
This example uses the high level New() helper function to connect to Discord.
|
This example uses the high level New() helper function to connect to Discord.
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
This assumes you already have a working Go environment setup and that
|
This assumes you already have a working Go environment setup and that
|
||||||
DiscordGo is correctly installed on your system.
|
DiscordGo is correctly installed on your system.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -18,7 +18,7 @@ go build
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
You must authenticate using either an Authentication Token or both Email and
|
You must authenticate using either an Authentication Token or both Email and
|
||||||
Password for an account. Keep in mind official Bot accounts only support
|
Password for an account. Keep in mind official Bot accounts only support
|
||||||
authenticating via Token.
|
authenticating via Token.
|
||||||
|
|
||||||
|
@ -39,3 +39,9 @@ authentication.
|
||||||
```sh
|
```sh
|
||||||
./new_basic -e EmailHere -p PasswordHere
|
./new_basic -e EmailHere -p PasswordHere
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The below example shows how to start the bot using the bot user's token
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./new_basic -t "Bot YOUR_BOT_TOKEN"
|
||||||
|
```
|
||||||
|
|
|
@ -8,7 +8,7 @@ This Bot will respond to "ping" with "Pong!" and "pong" with "Ping!".
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
This assumes you already have a working Go environment setup and that
|
This assumes you already have a working Go environment setup and that
|
||||||
DiscordGo is correctly installed on your system.
|
DiscordGo is correctly installed on your system.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -17,7 +17,7 @@ go build
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
You must authenticate using either an Authentication Token or both Email and
|
You must authenticate using either an Authentication Token or both Email and
|
||||||
Password for an account. Keep in mind official Bot accounts only support
|
Password for an account. Keep in mind official Bot accounts only support
|
||||||
authenticating via Token.
|
authenticating via Token.
|
||||||
|
|
||||||
|
@ -38,3 +38,9 @@ authentication.
|
||||||
```sh
|
```sh
|
||||||
./pingpong -e EmailHere -p PasswordHere
|
./pingpong -e EmailHere -p PasswordHere
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The below example shows how to start the bot using the bot user's token
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./pingpong -t "BOT YOUR_BOT_TOKEN"
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue