2cee918fd9
twitter: reverse the mentions list before printing
2016-01-26 23:29:26 -06:00
9d5b9e070b
twitter: start/stop mention poll thread via irc
...
includes a migration for a new permission for this, naturally. with
this, the poll thread can be started and actually do stuff
2016-01-26 23:14:42 -06:00
3b78e9b894
twitter: method for polling mentions timeline
...
not stitched together in this commit, so it'll work but it won't be
started
2016-01-26 00:39:51 -06:00
6cbf5f3d96
twitter: pull the tweet reply method into two
...
_return_tweet_or_retweet_text used to both determine the proper tweet
text and bot.reply() with it to the provided event. if we're not
reacting to an irc event, this obviously won't work, so this pulls the
method into two things so that we can use the string formatting code
without necessary needing an event
2016-01-26 00:08:46 -06:00
e25b3aca9d
twitter: don't append colon to nick when replying
...
just a style thing, nbd
2016-01-17 12:37:23 -06:00
b09c20e910
twitter: wrap exceptions in str() before format()
...
this might also do something about #1 , considering i'm also just doing
blanket except Exception:s now. fingers crossed
2016-01-17 12:04:34 -06:00
007f9bdbc7
twitter: don't re-encode replyee name
...
this appears to have been whan was causing replying via twitter to fail.
let's test something while we're here:
fixes #2
2016-01-17 11:36:10 -06:00
570a4e1962
twitter: don't re-encode response as utf-8
2016-01-16 19:33:03 -06:00
9112ad0ae7
convert the project via 2to3
2016-01-16 18:02:17 -06:00
bf0445149b
twitter: handle twitter API errors better
...
i think i need to make this client (re)connect on demand or something,
though, i'm getting a lot of timeouts
2015-07-11 08:10:35 -05:00
772df777ba
ircbot: tie bot users to django auth user, part 3
...
get rid of is_admin(), instead check for django permissions. a couple
things were using is_admin(), so now there's an example of the
permission adding and usage, as those were ported
2015-06-20 10:08:51 -05:00
76e9046549
port twitter module to ircbot v2
...
handles the on-demand commands but no timeline polling
2015-06-16 20:27:44 -05:00