Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.10 - NEW RELEASE: Ardor 2.0.6e TestNet - The Ignis ICO is over!! Ardor genesis snapshots will happen in the last week of December

Pages: [1]

Author Topic: NxtTipbot for slack  (Read 2867 times)

NxtSwe

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 658
    • View Profile
  • Karma: +123/-9
NxtTipbot for slack
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 »
Check out the NxtLib, the .NET Framework API for the Nxt platform.

wolffang

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

 8) awesome!

CryptKeeper

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1236
    • View Profile
  • Karma: +78/-5
Re: NxtTipbot for slack
September 22, 2016, 06:23:02 am

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

Jose

  • Full Member
  • ***
  • Offline Offline
  • Posts: 235
    • View Profile
  • Karma: +64/-1
Re: NxtTipbot for slack
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!

websioux

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 323
  • Great changes grow bottom up
    • View Profile
    • Scriba.io the Blockchain Scribe
  • Karma: +69/-1
Re: NxtTipbot for slack
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 !


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

NxtSwe

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 658
    • View Profile
  • Karma: +123/-9
Re: NxtTipbot for slack
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...
Check out the NxtLib, the .NET Framework API for the Nxt platform.

P4ndoraBox

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

Sweet stuff !  :D

NxtSwe

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 658
    • View Profile
  • Karma: +123/-9
Re: NxtTipbot for slack
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!
Check out the NxtLib, the .NET Framework API for the Nxt platform.

NxtSwe

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 658
    • View Profile
  • Karma: +123/-9
Re: NxtTipbot for slack
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.

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

NxtSwe

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 658
    • View Profile
  • Karma: +123/-9
Re: NxtTipbot for slack
February 11, 2017, 10:50:13 pm

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

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

NxtSwe

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 658
    • View Profile
  • Karma: +123/-9
Re: NxtTipbot for slack
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.
Check out the NxtLib, the .NET Framework API for the Nxt platform.

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3454
    • View Profile
    • Blockchain Startpagina
  • Karma: +210/-45
Re: NxtTipbot for slack
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!

CryptKeeper

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1236
    • View Profile
  • Karma: +78/-5
Re: NxtTipbot for slack
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! 🖖
Follow me on twitter for the latest news on bitcoin and altcoins!
Vanity Accounts Sale :-)
Pages: [1]