Skip to content

Commit

Permalink
Merge pull request #88 from gedge/master
Browse files Browse the repository at this point in the history
update to use new DM API
  • Loading branch information
gedge authored Sep 21, 2018
2 parents 3bf7889 + 969315e commit 975ba75
Show file tree
Hide file tree
Showing 4 changed files with 299 additions and 154 deletions.
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
### Required Modules ###
You may need to use CPAN or another method to install these modules.
* WWW::Shorten::TinyURL
* Twitter::API
* JSON::MaybeXS
* Net::Twitter
* JSON::Any

### Installation ###
Installation is two part. First
Expand Down
3 changes: 3 additions & 0 deletions html/history.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<ul>
<li><strong>v2.8.0 - 2018-09-21 15:00:00 UTC</strong><ul>
<li>Update <em>direct message</em> functionality for new API changes - needs new modules, see <a href="installing.html">install doc</a>.</li>
</ul></li>
<li><strong>v2.7.3 - 2018-04-28 23:01:00 UTC</strong><ul>
<li>Allow long (10000 char) DMs</li>
<li>New config option <code>twirssi_dm_max_chars</code> changes default maximum DM length to 10000 characters</li>
Expand Down
12 changes: 7 additions & 5 deletions html/installing.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<h3>In a terminal:</h3>
<ul>
<li>Install a current version of <a
href="http://search.cpan.org/perldoc?Net::Twitter">Net::Twitter</a>.
Versions earlier than 1.17 are not supported. If you are running 1.17,
upgrade or apply this <a href="net-twitter.patch">patch</a>. If you
don't have root access, you can still install the modules using <a
<li>Install current versions of<ul>
<li><a href="https://metacpan.org/pod/Twitter::API">Twitter::API</a></li>
<li><a href="https://metacpan.org/pod/JSON::MaybeXS">JSON::MaybeXS</a></li>
<li><a href="https://metacpan.org/pod/Net::Twitter">Net::Twitter</a> - Versions earlier than 1.17 are not supported.
If you are running 1.17, upgrade or apply this <a href="net-twitter.patch">patch</a>.</li>
</ul>
If you don't have root access, you can still install the modules using <a
href="http://stackoverflow.com/questions/2980297/how-can-i-use-cpan-as-a-non-root-user">this guide</a>.<li>
<li>Create a directory for irssi scripts, if it doesn't already exist:
<code>mkdir ~/.irssi/scripts</code></li>
Expand Down
Loading

0 comments on commit 975ba75

Please # to comment.