Commit graph

17 commits

Author SHA1 Message Date
Dan
c284608cbd
Formatting request (#14)
* Add Database.UserChannelSettings.find_all_by_setting

* Turns out we didn't need find_all_by_setting

* Actually, we do need find_all_by_setting

* Table name typo

* Add Utils.bold and Utils.underline
2018-09-01 10:37:09 +01:00
jesopo
ceb73f586c Only show 2 biggest units in !seen 2018-08-29 15:52:04 +01:00
jesopo
da74357807 Use a zero-width joiner in Utils.prevent_highlight instead of zero width space 2018-08-20 11:03:01 +01:00
jesopo
6709fa1878 Prevent highlighting users in !wordusers and !richest 2018-08-10 13:56:45 +01:00
jesopo
ad53ba0631 Added Utils.to_pretty_time 2018-08-09 12:23:54 +01:00
jesopo
14ffa6716d Added highlight spam detection/prevention logic to channel_op 2017-12-26 11:50:18 +00:00
Evelyn
31e53e8bc4 Add default timeout 2017-11-03 19:20:23 +00:00
Evelyn
6383a45d3a Take BS4 parser string from kwargs so you can actually XML. idk even what's the point 2017-06-07 21:36:11 +01:00
Evelyn
6105c8e6e3 Correct spelling of 'background' for color utils 2016-11-07 11:05:50 +00:00
jesopo
5c19b2ea18
changed Utils.get_url to catch SSL errors. 2016-07-05 12:18:47 +01:00
jesopo
64474b261a
added handling URLError to Utils.get_url. 2016-06-24 09:17:54 +01:00
jesopo
5338859e31
added a function to Utils to get the "closest" setting, with channel/user settings being more important than server-wide settings. 2016-05-06 13:36:01 +01:00
Evelyn
190d42fbb5 simpler boolean channel settings 2016-04-10 17:40:58 +01:00
jesopo
810ba3f0bb
added a little piece of code to stop Utils.get_url trying to json decode an empty string. 2016-03-30 19:32:47 +01:00
jesopo
076552c013
added code to Utils.get_url to prevent non-iso-latin-1 urls being attempted. I need to put in a better fix than this at some point. 2016-03-29 21:05:07 +01:00
jesopo
78f1f68a98
made it possible to get http code even when a HTTPError kicks up. 2016-03-29 16:21:27 +01:00
jesopo
f943d63098
first commit. 2016-03-29 12:56:58 +01:00