Skip to content

Commit

Permalink
update version number [close #43]
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajKubelka committed Mar 19, 2018
1 parent cc483c6 commit 6e6610b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
constants - identification
version
"Return version number of this Discord library implementation."
^ '0.2.0'
^ '0.2.2'
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ informAboutEndSending
DSWebhookClient new
url: 'https://discordapp.com/api/webhooks/413701870780022784/TssfbR0P8A_du6-tkeYZYWnkzICZU9RKBnolxngIykVVqzb-l9naTIfj7F3iCfmVm0ve';
content: 'Finished sending (',
self identityHash asString ,') with: ',
self identityHash asString,
'), version "', DSConstants version,'" with: ',
String cr, output;
supressNetworkErrors;
send.

0 comments on commit 6e6610b

Please sign in to comment.