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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e151b13d81823ca3de93b6a54992eea2974adaf
4
- data.tar.gz: c771e01fbbb84e185de4188501b2edbc1254a6de
3
+ metadata.gz: cec3106b14899a1a61720f56db92f9c7327c59e7
4
+ data.tar.gz: 278b33515f447490b15a495c85a8686772f6bea8
5
5
  SHA512:
6
- metadata.gz: f9a3e54a25ebb7267012b5b2eb3a017f1601cb21e2fbf096eb1ce2dc5d322e1b8c705c0039aa58dccc01133ceae42dd8ce8a896002f34b0e1b009da29d4e7638
7
- data.tar.gz: e790676fd257c46c40d631ffe8ed3502430b4ab40d7986044db4047a121acb9218dcd6eba05e8fbd5a9ec553a4f4a6fc3ca73c7acb0548f1f59a2ab6c137b6b4
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
- TODO: Add a description of the plugin.
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-discord-oauth"
12
+ gem "lita-discord_oauth"
13
13
  ```
14
14
 
15
15
  ## Configuration
16
16
 
17
- TODO: Describe any configuration attributes the plugin exposes.
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
 
@@ -46,7 +46,6 @@ module Lita
46
46
  end
47
47
 
48
48
  def send_messages(target, messages)
49
- #TODO: Does Lita provide some odd user object?
50
49
  puts target
51
50
  puts target.user
52
51
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-discord_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.alpha.30
4
+ version: 0.1.1.alpha.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cas Eliëns