Skip to content

Releases: dcrbrdev/JackBot

v0.4.4

21 May 23:04
Compare
Choose a tag to compare

Fix

  • bot /now command crash when the Oficial Message was deleted on channel.

v0.4.3

06 Mar 03:16
Compare
Choose a tag to compare

Hotfix

  • fix Ticket.fetch() failing when ticket is in mempool

v0.4.2

22 Feb 17:56
0ef07ab
Compare
Choose a tag to compare
  • vote_block and spendable on Ticket
  • if Ticket voted request vote info
  • TicketWatcher check all voted_tickets before deleting voted and spendable tickets

v0.4.1

13 Feb 02:34
0b97adc
Compare
Choose a tag to compare
  • fix /add_ticket sending two messages
  • send TX_ID_ERROR to user on ticket.fetch()
  • fix /now restricted wrongly on groups making impossible to call with args

v0.4.0

12 Feb 03:09
ad6c91e
Compare
Choose a tag to compare
  • Ticket and Status created
  • Bot now has ticket commands (add_ticket, remove_ticket and list_tickets)
  • TicketWatcher created
  • Restrict /now command on groups
  • Fixed /dcr $other_coin
  • Command /now restricted on groups to be called only with args

Ticket Commands

The bot now will watch and notify when the ticket change status (from immature to live to voted)

Add Ticket

the command add_ticket is called passing a ticket hash which will be watched

EG.:

/add_ticket 12341231234123123123

Remove Ticket

the command remove_ticket is called passing a ticket hash which will be removed

EG.:

/remove_ticket 12341231234123123123

List Tickets

the command list_tickets is called without args

EG.:

/list_tickets

v0.3.7

17 Jan 18:18
9c0e0eb
Compare
Choose a tag to compare
v0.3.7 Pre-release
Pre-release
  • admin restricting is now usable for other groups and private chats

Restricted commands to admin only

  • /subscribe
  • /unsubscribe
  • /subscriptions

v0.3.6

16 Jan 18:54
7f54c84
Compare
Choose a tag to compare
v0.3.6 Pre-release
Pre-release
  • check if lock is locked before release

Command /now

new command now may have multiple args. Each arg is a string which will be used to filter the split ticket VSP's.

EG.:

Returning all VSP's

/now

Returning Brasil VSP

/now br

Returning Brasil and Voting VSP

/now bras voting

Returning 99split VSP

/now 9

v0.3.5

06 Jan 17:52
87f193d
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release
  • Github Actions badge
  • python script to update raspberry
  • fix lock not released on unexpected error

v0.3.4

25 Dec 21:30
81704d3
Compare
Choose a tag to compare
v0.3.4 Pre-release
Pre-release
  • TItkcetPrice now has a lock (multiple threads creating multiple TicketPrice's)
  • Empty UpdateMessage is now possible
  • Python reduce on str methods

v0.3.3

24 Dec 03:37
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

Models

Update Message

  • UpdateMessage now has default_session
  • UpdateMessage with ticket price
  • creation of UpdateMessage now verify if a equal UpdateMessage exists

Subject

  • Subject emoji max_length fixed
  • default_session on Subject model
  • added 99split on init script

Observer

  • Observer now has messages list again and remove previously sent messages
  • ObserverMessage expire after 7 days

TicketPrice

  • TicketPrice created
  • test TicketPrice

Utils

  • convert_dcr now using arg code for target_currency from dcr data
  • utils exceptions
  • utils with dcrdata request wrapper