common: export haste properly

This commit is contained in:
Ave Ozkal 2019-02-15 01:19:16 +03:00
parent dc39f42e12
commit a07a89992e
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -22,6 +22,7 @@ class Common:
self.bot.get_relative_timestamp = self.get_relative_timestamp self.bot.get_relative_timestamp = self.get_relative_timestamp
self.bot.escape_message = self.escape_message self.bot.escape_message = self.escape_message
self.bot.parse_time = self.parse_time self.bot.parse_time = self.parse_time
self.bot.haste = self.haste
def parse_time(self, delta_str): def parse_time(self, delta_str):
cal = parsedatetime.Calendar() cal = parsedatetime.Calendar()