Commit graph

106 commits

Author SHA1 Message Date
Niko
4df306e7ce
Merge pull request #7 from nikooo777/master
removed ! from IDs
2017-12-25 01:54:19 +01:00
Niko Storni
09f50ffc5c removed ! from IDs
formatted code
upgraded dependencies
2017-12-25 01:49:45 +01:00
filipnyquist
5c21d0fd22
Merge pull request #4 from nikooo777/master
Merged!
2017-12-14 22:47:14 +01:00
Niko Storni
c1ad12824c fixed improper syntax
added package-lock
2017-12-06 19:39:31 +01:00
Niko
7eb3092fde
Merge pull request #3 from ProfessorDey/patch-1
Added Tipbot Privacy Mode
2017-12-05 01:39:35 +01:00
Niko Storni
95ea4f403e prettified code 2017-11-23 02:01:52 +01:00
Niko Storni
a199564da6 removed trigger on message edits
upgraded packages
2017-11-23 01:41:23 +01:00
ProfessorDey
ec48f114d8
Added Tipbot Privacy Mode
Allow for Tipbot to be used privately while still notifying the user that has received the tip, via private message.

Updates the Help message for new usage instructions, fixes misspelling of 'address' and adds a Key for the [ ] and < > syntax, as some users may not understand their usage.

Reworks the subcommand parsing by using a more compact Switch Function. Necessitates the use of 'break;' but is far more compact and legible, presumed the old if else block is from early development with fewer features available. Switch statement should allow for easier expansion.

Modifies doTip() to avoid requiring code duplication, includes two new variables used to indicate that the tip should be done in privacy mode and where the tip value is located in the 'words' array.

Significant change to sendLbc and it's function call, requirement for private message for recipient required User object, thus the function now requires the actual GuildMember object, not only the ID. While this marginally increases overhead, it should also allow access to the send() function for that Guild Member, allowing for private message to be sent. Further the addition of a privacy flag (0 for non-private, 1 for private) was added so that the function can determine whether to send a public or private response. this required updating references to the Guild Member's id to 'member.id', but otherwise operation remains the same until the transaction is completed, following which it will check the privacy flag and if it is set, will privately send the successful tip message to both author and recipient, otherwise it will simply reply via the normal '.reply()' function.
2017-11-14 18:33:17 +01:00
filipnyquist
59b66dc12a
Merge pull request #65 from lbryio/filipnyquist-patch-1
Fixed problem with balances.
2017-11-01 23:57:04 +01:00
filipnyquist
0c6162c184
Fixed problem with balances.
Fixed the problem regarding MSFTservers balance and found a small problem which should be fixed by this quickfix, someone please review ASAP.
2017-11-01 20:19:00 +01:00
filipnyquist
eaa99012fd Merge pull request #39 from LavRadis/patch-1
Edited !tip help line
2017-10-26 19:53:21 +02:00
LavRadis
cb800bdb8e Edited !tip help line 2017-10-26 19:46:41 +02:00
filipnyquist
1f5a7ace57 Update tipbot.js 2017-10-25 22:14:37 +02:00
filipnyquist
6d3749f970 Update bot.js 2017-10-25 22:00:17 +02:00
filipnyquist
7e0e3e8400 Update tipbot.js 2017-10-25 21:44:38 +02:00
filipnyquist
dfb1ec5b15 Merge pull request #32 from filipnyquist/tipbot_dc
Tipbot is here!
2017-10-25 21:33:09 +02:00
Fillerino
f018335f7b Tipbot is here!
Please review!
2017-10-25 21:12:38 +02:00
Fillerino
6d68fc6657 Preparing for the new bot! 2017-10-25 19:59:33 +02:00
Fillerino
94f305cfd2 Removed Slackbot, moved to old_slack, master will contain discord ver. 2017-10-25 19:51:26 +02:00
filipnyquist
36f5e18324 Merge pull request #21 from MSFTserver/master
Add All Supported Currencies From API for !price
2017-09-29 20:32:23 +02:00
MSFTserver
cd345dc6a2 add IDR from cryptocompare api 2017-09-27 14:10:35 -07:00
MSFTserver
a4382734ae add all supported currencies from api 2017-09-27 13:53:11 -07:00
MSFTserver
b42339e347 Merge pull request #1 from lbryio/master
merge fix for !hash
2017-09-27 13:13:18 -07:00
filipnyquist
35bfb267c1 Merge pull request #19 from MSFTserver/patch-1
Fix For !hash
2017-09-27 15:43:17 +02:00
MSFTserver
46593b280a Fix For !hash 2017-09-26 11:34:22 -07:00
Alex Grintsvayg
10b27a5faf PICKLE RICK!!! 2017-08-25 11:31:20 -04:00
Fillerino
a1ecdb4bf8 Merge pull request #16 from dpmidd/greeting
Fixed a few typos and added speech link
2017-08-10 11:32:03 +02:00
dmiddle
9b12e48b63 Fixed a few typos and added speech link 2017-08-09 20:30:49 -04:00
Fillerino
24ee7e4484 Merge pull request #15 from 98farhan94/lbry
PriceBot + MarketStats
2017-08-09 11:17:36 +02:00
Shaikh Farhan
f86cc10db8 Update in 5 minutes 2017-08-07 16:25:10 +05:30
Shaikh Farhan
b587037da6 Statbot fixes 2017-08-07 16:18:20 +05:30
Shaikh Farhan
529b0181c6 typo fix 2017-08-07 15:53:04 +05:30
Shaikh Farhan
ab2cd1891d Added statbot with EUR 2017-08-07 15:30:01 +05:30
Fillerino
0b1f6b04a9 Merge pull request #14 from dpmidd/master
Edited and clarified message users get on entry into Slack
2017-08-03 18:32:32 +02:00
dmiddle
6732b66ca8 Edited and clarified 2017-08-03 12:09:21 -04:00
Fillerino
cf8e7fa10a Merge pull request #13 from aayanl/patch-1
Add GBP to pricebot
2017-07-25 17:53:26 +02:00
Procrastinator
4a71ed4c89 Add GBP 2017-06-29 16:43:21 -04:00
Fillerino
2b66ad5921 Added more moderation stuff: Pins and Locked Channels!
Added more moderation stuff: Pins and Locked Channels!
2017-06-21 21:14:04 +02:00
Fillerino
f7445d46b6 Update app.js 2017-06-19 21:30:01 +02:00
Fillerino
fa214244bb Added tipping redir and edited help message to match the latest changes 2017-06-19 21:26:51 +02:00
Fillerino
c31d2e9492 Removed tipbot as it´s moved to its own branch!
Removed tipbot as it´s moved to its own branch( and bot)!
2017-06-19 21:20:12 +02:00
Fillerino
5cb50a226d Merge pull request #12 from filipnyquist/master
Added basic structure of modbot + topic controller.
2017-06-15 19:16:05 +02:00
Fillerino
305a723b46 Added basic structure of modbot + topic controller.
Added basic structure of modbot + a topic controller that makes so only admins can change topics!
2017-06-15 19:14:04 +02:00
Fillerino
f0475bf5c4 Merge pull request #8 from akinwale/master
Price bot implementation pull request
@lyoshenka this will need the MARKET_TRADING_CHANNEL env variable and a npm install!
2017-06-15 17:12:51 +02:00
Fillerino
dfd3f00286 Merge pull request #11 from lbryio/revert-10-revert-9-metadata-fix
Revert "Revert "Fallback solution as proposed in pull #7""
2017-06-15 10:12:59 +02:00
Fillerino
a9333677e2 Revert "Revert "Fallback solution as proposed in pull #7"" 2017-06-15 10:12:32 +02:00
Fillerino
096d3513de Merge pull request #10 from lbryio/revert-9-metadata-fix
Revert "Fallback solution as proposed in pull #7"
2017-06-15 10:07:00 +02:00
Fillerino
00dbbeb625 Revert "Fallback solution as proposed in pull #7" 2017-06-15 09:58:02 +02:00
Fillerino
099e4c6059 Merge pull request #9 from nikooo777/metadata-fix
Fallback solution as proposed in pull #7
2017-06-15 09:56:03 +02:00
Niko Storni
db4aa96031 removed channel entry 2017-06-15 01:47:09 +02:00