Skip to content

Commit

Permalink
add login information
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajKubelka committed Mar 19, 2018
1 parent cc483c6 commit 59ae723
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Binary file added assets/img/integration-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions doc/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ over the REST API.
### User Client

The third option to connect to Discord within Pharo is by using a user
account, email and password. Notice that using such account to connect
bots is strictly prohibited.
account, email and password. **Notice that using such account to connect
bots is strictly prohibited. You should not use your user account to
automate login and other operations!**

## Examples

Examples are divided into three sections:

- [Webhook](Webhook.md)
- [Bot](Bot.md)
- [User Client](UserClient.md) Note: this documentation is missing. You can find examples on `DSClient` class side.
- User Client Note: this documentation is missing. You can find examples on `DSClient` class side.

For more examples, please, check the class sides of the corresponding classes. We use [GT-Examples](https://github.com/feenkcom/gtoolkit-examples) to document the source code.
6 changes: 6 additions & 0 deletions doc/PharoIntegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This section describes how the DiscordSt is integrated with developer tools in order to bring better electronic communication experience to Pharo developers. Notice, that the current version is focused on sending messages with a rich contents.

## Login

The first time you use the DiscordSt integration, you need to login. To do so, open the DiscordSt send message dialog and in the account part, fill-in your Discord account email and password. If you use Two-Factor-Authentication, provide a code when requested.

![Login](../assets/img/integration-login.png)

## Ask Developers from GT-Playground

If you have a code snippet in GT-Playground and you get stuck with it, ask directly from the playground. Click on the Discord icon. In the *Send Message Dialog*, you can write a question and choose a best channel to ask. In addition, you can add screenshots and source code in order to help the readers to understand your problem and play with it.
Expand Down

0 comments on commit 59ae723

Please sign in to comment.