lita-discord_oauth 0.1.1.alpha.30 → 0.1.1.alpha.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -3
- data/lib/lita/adapters/discord_oauth.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cec3106b14899a1a61720f56db92f9c7327c59e7
|
4
|
+
data.tar.gz: 278b33515f447490b15a495c85a8686772f6bea8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae8eb67c5e4814e2feb0b35e0c3ae6f8d4151d8ae06388473ab1eff570864adbc4780c1659ef7c902561bf42f3ce15b6d59b52c02ec60a496b5376d8d8aca46e
|
7
|
+
data.tar.gz: 69e4a24664f51b40252d89a87a570941dc2efc00012d6fc128ffd1e87362a58437890cb6a75f22e54940f77ef78ed41ed90080bb4713640a3e3ce2728c5dd9ba
|
data/README.md
CHANGED
@@ -2,19 +2,28 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/cascer1/lita-discord.png?branch=master)](https://travis-ci.org/cascer1/lita-discord) [![Gem Version](https://badge.fury.io/rb/lita-discord_oauth.svg)](https://badge.fury.io/rb/lita-discord_oauth)
|
4
4
|
|
5
|
-
|
5
|
+
Discord adapter for Lita, using OAuth tokens.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
Add lita-discord to your Lita instance's Gemfile:
|
10
10
|
|
11
11
|
``` ruby
|
12
|
-
gem "lita-
|
12
|
+
gem "lita-discord_oauth"
|
13
13
|
```
|
14
14
|
|
15
15
|
## Configuration
|
16
16
|
|
17
|
-
|
17
|
+
The adapter exposes two configuration settings:
|
18
|
+
|
19
|
+
* `config.adapters.discord_oauth.token = ''`
|
20
|
+
Bot account token
|
21
|
+
* `config.adapters.discord_oauth.client = ''`
|
22
|
+
Bot client ID
|
23
|
+
|
24
|
+
You can get both these values from [this page](https://discordapp.com/developers/applications/me) - Make sure that the application is a bot user!
|
25
|
+
|
26
|
+
![bot user](https://ducohosting.com/screenshots/isaac28fe06147f6a73a1a654433cf2ef3d37.png)
|
18
27
|
|
19
28
|
## Usage
|
20
29
|
|