elective-stereophonic
elective-stereophonic
NxtTipbot for slack singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Author Topic: NxtTipbot for slack  (Read 6661 times)

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 658
    • View Profile
NxtTipbot for slack
« on: September 21, 2016, 10:30:36 pm »

Hello,

I recently played with the Slack API and created a NXT tipping bot for the Slack.
It's quite basic in functionality, although it supports sending public tips in NXT, MS Currencies and Assets.



Also some basic commands are available in direct messages



Code is here:
https://github.com/libertyswede/NxtTipbot

Use with caution.
« Last Edit: September 27, 2016, 09:56:29 pm by NxtSwe »
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

wolffang

  • Hero Member
  • *****
  • Karma: +98/-5
  • Offline Offline
  • Posts: 690
    • View Profile
Re: NxtTipbot for slack
« Reply #1 on: September 22, 2016, 04:54:02 am »

 8) awesome!
Logged

CryptKeeper

  • Hero Member
  • *****
  • Karma: +78/-5
  • Offline Offline
  • Posts: 1235
    • View Profile
Re: NxtTipbot for slack
« Reply #2 on: September 22, 2016, 06:23:02 am »

Cool!  :o
Logged
Follow me on twitter for the latest news on bitcoin and altcoins!
Vanity Accounts Sale :-)

Jose

  • Sr. Member
  • ****
  • Karma: +74/-1
  • Offline Offline
  • Posts: 255
    • View Profile
Re: NxtTipbot for slack
« Reply #3 on: October 06, 2016, 06:55:19 am »

It's working! It's working!  :D

And it runs smoothly!  ;)
Everyone is able to use it now at "Nxt chat" on SLACK! (https://nxtchat.herokuapp.com/)
Thank you NxtSwe!
Logged

websioux

  • Sr. Member
  • ****
  • Karma: +69/-1
  • Offline Offline
  • Posts: 343
  • Great changes grow bottom up
    • View Profile
    • Scriba.io the Blockchain Scribe
Re: NxtTipbot for slack
« Reply #4 on: October 06, 2016, 08:19:58 am »

Wow, what a great app ! Congratulation !

This is what I love with NXT. It is "so easy" to deploy that you never know where it will emerge + talentous developers showing you things you didn't know were possible.

You should add the two screenshots above to the github README.md, they proove that it is easy to use, very well conceived, and so, worth to install/operate.

That is the kind of work the marketing fund should promote. The target is clear: slack team participants. Nxt is the tool, not the purpose of the add, the purpose is to enable tipping in slack without the need for users to register/subscribe to anything! - this is really USEFULL and according to me : NEVER SEEN BEFORE !


Logged
Secret Miner <= communicate with style | NotBot <= timestamp digital docs

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 658
    • View Profile
Re: NxtTipbot for slack
« Reply #5 on: November 02, 2016, 11:28:51 pm »

I've updated the bot a few times since my original post, but never posted anything about it here.
Some of these are old updates, and some are quite recent ones.

Also, the bot is now also running in crypto chat (digitalcash.slack.com) slack team as well as nxtchat, thanx marenkar for making this happen!
  • Riker was kind enough to set up a wiki page for the bot.
  • Added 'list' command to show a list of supported assets / ms currencies.
  • Added monikers for the units, for example sending ardr you can use 'ardor' or 'nxt2.0'. These can be listed in the list command above.
  • The bot now reacts to @tipper as well as just tipper when sending tips in a public channel.
  • When sending currency/asset to an account that does not have any NXT, an extra DM is sent to the sender with information that the recipient does not have any NXT and that it might be a good idea to send some in order for the asset/currency to be useful.
  • Send tips directly to NXT addresses, using the same syntax as tipping a user. Just swap @username with a NXT-XXX address.
  • bug fixes of course...
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

P4ndoraBox

  • Jr. Member
  • **
  • Karma: +12/-6
  • Offline Offline
  • Posts: 59
    • View Profile
Re: NxtTipbot for slack
« Reply #6 on: November 03, 2016, 12:40:22 am »

Sweet stuff !  :D
Logged

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 658
    • View Profile
Re: NxtTipbot for slack
« Reply #7 on: November 16, 2016, 09:59:26 am »

v0.1 is out and live on nxtchat.
  • Blockchain backup. Tip bot can now automatically back up each user's account information in encrypted form on the NXT data cloud by setting the config key blockchainBackup to true. This will require 1 NXT per created account. In return all you ever need to store is the masterkey, and you will be able to restore all data in the event of a hard disk failure.
    This is currently being used on nxtchat and the data can be seen in the NXT client under data cloud and tag "tipbotdata".
  • Moniker support for assets & ms currencies. For example, by giving the ARDR asset monikers "Ardror" and "NXT2.0" you can use those names for tipping as well as ARDR.
  • List command. Lists all assets and ms currencies currently supported by the tip bot, as well as their monikers and a link to nxtportal for further information.
  • Tip & withdraw using NXT id. Added ability to tip & withdraw assets / ms currencies using their respective NXT id in addition to their name and monikers.
  • Balance command lists all assets/currencies. Balance command now also show unsupported assets / ms currencies. That means if your NXT account owns an asset that is not supported by the tip bot, it was previously not shown. Now it will show up, with a warning saying it is an unsupported asset.
  • Withdraw unsupported assets & currencies. Withdraw command can now be used to withdraw unsupported assets / ms currencies. However only by using their respective NXT id. For example: 
    "withdraw NXT-4TTB-QL93-SS6H-BW3GX 5 12071612744977229797"
  • Bugfix. I have been hunting down a bug which caused the bot to crash on *nix systems for many weeks now and I believe I have found it and fixed it. The problem is however intermittent and does not happen in my development environment, so only time will tell if I really nailed it this time. crossing fingers
https://github.com/libertyswede/NxtTipbot/releases/tag/v0.1

I still consider this beta software, so please only use small amounts when depositing.
In the event of funds getting lost due to a bug I will personally repay you, but only if it is reasonable small amounts.
Max 1000 NXT per account.
Thank you!
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 658
    • View Profile
Re: NxtTipbot for slack
« Reply #8 on: February 09, 2017, 11:33:58 pm »

After a few months of inactivity I decided to implement multitip today.
Syntax is the same as for sending regular tips, but you can add up to 5 slack user recipients with comma separation.

Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 658
    • View Profile
Re: NxtTipbot for slack
« Reply #9 on: February 11, 2017, 10:50:13 pm »

Added support for reaction emoji tipping, see sample & description below.

Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

NxtSwe

  • Hero Member
  • *****
  • Karma: +124/-9
  • Offline Offline
  • Posts: 658
    • View Profile
Re: NxtTipbot for slack
« Reply #10 on: March 16, 2017, 04:14:31 pm »

Important
I will be shutting down tipper service on april 1st.
I am very sorry for this, but I urge everyone to withdraw their funds from tipper until then using the withdraw command, for example:
_"withdraw NXT-YOUR-PERSONAL-NXT-ADDRESS 100 NXT"_
If you have assets, withdraw them first so you have enough to cover the transaction fees.
Again, I am very sorry for this.
Logged
Check out the NxtLib, the .NET Framework API for the Nxt platform.

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3461
    • View Profile
    • Blockchain Twitter
Re: NxtTipbot for slack
« Reply #11 on: March 16, 2017, 10:50:51 pm »

Thank you very much again NxtSwe. A lot of respect for your service and presence.  :)

Don't forget to applaud this guy people!
Logged

CryptKeeper

  • Hero Member
  • *****
  • Karma: +78/-5
  • Offline Offline
  • Posts: 1235
    • View Profile
Re: NxtTipbot for slack
« Reply #12 on: March 17, 2017, 07:31:03 am »

NxtSwe, sorry that you leave!

You have done a lot for NXT, thank you very much. It was fun for me to use NxtLib and tipper  ;D

Best wishes and peace!
Logged
Follow me on twitter for the latest news on bitcoin and altcoins!
Vanity Accounts Sale :-)

jonnytracker

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 31
    • View Profile
Re: NxtTipbot for slack
« Reply #13 on: May 11, 2018, 06:45:41 pm »

Can it integrate with PHP forum
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly