Commit Graph

2042 Commits

Author SHA1 Message Date
Master Kwoth
88945af60b Removed -ss param from ffmpeg for now, since i'm not using it 2017-07-05 22:27:54 +02:00
Master Kwoth
fb18c2ed32 Fixed discord.net errors 2017-07-05 21:22:55 +02:00
Master Kwoth
98e2b0ce37 More logs, player loop moved to a thread 2017-07-05 18:53:21 +02:00
Master Kwoth
fbedf5878b More logs 2017-07-05 18:39:54 +02:00
Master Kwoth
42923c5272 a lot of logs to pinpoint cpu usage on some systems 2017-07-05 18:15:46 +02:00
Master Kwoth
269a4e3157 Upgraded dicord.net 2017-07-05 17:38:38 +02:00
Master Kwoth
8f844d38d3 Removed leftover log 2017-07-05 17:05:29 +02:00
Master Kwoth
94bb6f15a7 danbooru fix 2017-07-05 17:02:40 +02:00
Master Kwoth
78be4598cf Repull video with it's uri if it's a youtube song, every time a song is played, #1334 2017-07-05 16:59:59 +02:00
Master Kwoth
ab07199a1e Fixed converter? 2017-07-05 16:41:51 +02:00
Master Kwoth
3a71f63754 Fixed music 2017-07-05 15:32:57 +02:00
Master Kwoth
9fddfe77c4 Shards will now show when they're unresponsive in .shardstats command 2017-07-05 15:16:06 +02:00
Master Kwoth
6b51dbd330 Added correct time guild time based on set .timezone to reminders confirmation message, and logs, close #1328 2017-07-05 13:41:50 +02:00
Master Kwoth
d0326ad680 readded %playing% and %queued% placeholders 2017-07-05 13:31:41 +02:00
Master Kwoth
d089a37bf0 You can now use %server_time% placeholder to get your server's time, if you've set your timezone 2017-07-05 13:17:59 +02:00
Master Kwoth
65b76ec48e .die should now stop all music players, #1329 2017-07-05 12:23:37 +02:00
Master Kwoth
221a30b576 Fixed .ow for some users 2017-07-05 12:02:02 +02:00
Master Kwoth
768c8b20ee Fixed volume, closes #1332 2017-07-05 11:47:35 +02:00
Master Kwoth
c244cb7de0 Commandlist and docs update 2017-07-05 11:46:29 +02:00
Master Kwoth
6591dd7c74 Bot will now show in the console when it joins or leaves a server 2017-07-05 11:43:36 +02:00
Master Kwoth
54a91b4a79 Dispose pcm 2017-07-05 11:23:31 +02:00
Master Kwoth
b4cf9fee84 closes #1321 2017-07-05 11:07:54 +02:00
Master Kwoth
9bb8f3d666 .ms readded 2017-07-04 23:38:11 +02:00
Master Kwoth
c33c2bce60 Readded total playtime 2017-07-04 15:42:07 +02:00
Master Kwoth
d5903a1e25 Readded current time and song durations 2017-07-04 15:38:19 +02:00
Master Kwoth
8b72447b0f Removed testing delay 2017-07-04 15:32:38 +02:00
Master Kwoth
17158d5e80 Testing something 2017-07-04 13:05:23 +02:00
Master Kwoth
a6d432de7f Try ignoring errors 2017-07-04 12:38:01 +02:00
Master Kwoth
b1a4aa6a21 Fix 2017-07-04 11:27:48 +02:00
Master Kwoth
556174ec89 Restart ffmpeg if it crashes? Maybe i should reconsider file-based cache. Ffmpeg doesn't like being slowed down it seems 2017-07-04 11:23:34 +02:00
Master Kwoth
842b45178d Added reconnect arguments to ffmpeg 2017-07-04 10:16:18 +02:00
Master Kwoth
684dba0d9c added some debugging 2017-07-04 00:21:45 +02:00
Master Kwoth
fc941770e9 Removed spam 2017-07-03 23:59:56 +02:00
Master Kwoth
eba804b5ce Cleanup, improvements 2017-07-03 23:27:17 +02:00
Master Kwoth
f826fb97f6 Super weird fixes, i must've broke something else. Bot has to reconnect after restart now 2017-07-03 21:05:35 +02:00
Master Kwoth
89eabc7c14 Fixed crash 2017-07-03 20:29:32 +02:00
Master Kwoth
44859529d5 Cleanup and fixes 2017-07-03 20:26:17 +02:00
Master Kwoth
421431d01d pausing disabled again due to issues 2017-07-03 13:18:13 +02:00
Master Kwoth
99049a6ace Prebuffering time drastically decreased 2017-07-03 12:46:51 +02:00
Master Kwoth
a609e17717 .play help update, readded pausing when nobody is in voice channel, and also cleaning up music players if bot is kicked or leaves the server 2017-07-03 12:40:12 +02:00
Master Kwoth
3c9b68e739 Cleanup, .smp is reimplemented, and will now show in .lq too 2017-07-02 20:58:45 +02:00
Master Kwoth
9f3c04c93e you can now load only 1 playlist at a time using .load, because it's expensive 2017-07-02 19:20:04 +02:00
Master Kwoth
196f40e648 readded .sq and .lo and .lopl, also .lopl will now explicitly avoid files with .jpg and .png extension (usually album images) 2017-07-02 19:00:25 +02:00
Master Kwoth
728aeab809 Fixes. .lq will say at the top if it's stopped. .lq will also default to the page current song is playing from 2017-07-02 17:15:34 +02:00
Master Kwoth
1d1b7de20a Fixed playing small songs 2017-07-02 16:54:09 +02:00
Master Kwoth
322424b0a1 .move fixed, but it will cancel current song when moving 2017-07-02 16:27:30 +02:00
Master Kwoth
b33e4bdd80 fixed .play 2017-07-02 16:20:25 +02:00
Master Kwoth
45e4816033 (Re)added shuffle, rpl, rcs and autoplay to the top of the .lq 2017-07-02 15:44:00 +02:00
Master Kwoth
8e1c20624d Fixed bugs, added .play command which acts as .n 1 when used without arguments or as .q command when used with serach query 2017-07-02 14:49:37 +02:00
Master Kwoth
5015b6ad95 cleanup 2017-07-02 13:53:09 +02:00
Master Kwoth
0e73372c23 buffer is now 50MB 2017-07-02 13:19:05 +02:00
Master Kwoth
7de15bf444 magic numbers 2017-07-02 10:58:04 +02:00
Master Kwoth
bbe3ac66e3 Try reading more from ffmpeg 2017-07-02 10:44:30 +02:00
Master Kwoth
4d52566250 woops 2017-07-02 10:35:46 +02:00
Master Kwoth
f2d1b821d0 Trying to pinpoint song skipping 2017-07-02 10:33:47 +02:00
Master Kwoth
e792e7b39e removed -nostdin ffmpeg argument 2017-07-02 10:22:47 +02:00
Master Kwoth
42658355b1 music debug stuff 2017-07-02 09:55:26 +02:00
Master Kwoth
9bb72d9976 Shuffle will now show in .lq at the top, and instead of shuffling playlist, it will randomly jump to a song in the playlist. " 2017-07-02 08:03:24 +02:00
Master Kwoth
3731994061 Lot more work, fixes, addition, untested new implementations... 2017-07-01 21:22:11 +02:00
Master Kwoth
9889baf8bd Poopy buffer is back ^_^ Music lag fixes... 2017-07-01 17:16:03 +02:00
Master Kwoth
f8ad6dda50 small changes 2017-07-01 08:16:06 +02:00
Master Kwoth
d242952d4a Huge amount of work on the music rework. Around 60% done. Fixed bot getting stuck when server region is changed. 2017-07-01 08:15:58 +02:00
Master Kwoth
8f5c63a057 fixed .ropl toggle response 2017-06-30 05:40:17 +02:00
Master Kwoth
cb5fdde6d0 Fixed .guide links 2017-06-29 18:40:13 +02:00
Master Kwoth
728539528f drastic nsfw and safebooru improvements 2017-06-29 17:58:16 +02:00
Master Kwoth
db1581f67d fixed public bot compilation issue for good 2017-06-29 06:10:56 +02:00
Master Kwoth
1df7e4d3d0 custom reaction responses are no longer lowercase? 2017-06-29 05:07:48 +02:00
Master Kwoth
5fc9c18d98 You can now use .warnlog on yourself 2017-06-28 07:05:08 +02:00
Master Kwoth
b08ad7cb77 .warnlogall command added 2017-06-28 04:59:32 +02:00
Master Kwoth
e9365b7753 Added module name under the
command help when using .h
\

q
2017-06-28 03:48:55 +02:00
Master Kwoth
cbd2de284f .hangmanstop command added, updated commandlist 2017-06-28 03:42:02 +02:00
Master Kwoth
36069d7552 remove user's message when they vote in the polls. close #1313 2017-06-28 03:29:33 +02:00
Master Kwoth
cedf08b128 normal quote responses now have replacements too, not only embeds 2017-06-28 03:19:16 +02:00
Master Kwoth
ed3ccbf6d9 version upped to 1.51 2017-06-28 02:46:26 +02:00
Master Kwoth
942f15cf05 WHEW. Added placeholders in embeds and quotes, added docs about it to explained features. Wrote a placeholder system and fixed some bugs 2017-06-28 02:44:30 +02:00
Master Kwoth
aa5b7f96c7 Bot no longer awards itself currency in flower events. closes #1266 2017-06-27 01:01:17 +02:00
Master Kwoth
85a07d1cdd fixed string key 2017-06-25 11:13:07 +02:00
Master Kwoth
721ad63add Removed semaphore 2017-06-25 08:00:52 +02:00
Master Kwoth
dca4bf39a0 Updated credentials_example.json 2017-06-25 07:11:27 +02:00
Master Kwoth
61a96d9c4f Merge branch 'shard-process' into 1.4 2017-06-25 07:06:46 +02:00
Master Kwoth
39e79843e1 Merge branch 'dev' into shard-process 2017-06-25 06:19:18 +02:00
Master Kwoth
ee8643bf29 You can now choose port
where shard communication is happening. JSON explanations with instructions on how to ed
it optional shard settings
2017-06-25 06:09:23 +02:00
Master Kwoth
902ddc70f6 triggered permissions are now translatable 2017-06-25 04:58:48 +02:00
Master Kwoth
ff56af3e73 .rar fixed, closes #1306 2017-06-25 03:56:23 +02:00
Master Kwoth
3f2eef5647 .ve now properly persists restarts 2017-06-25 02:39:31 +02:00
Master Kwoth
e1baa3942a .gc and stream follows should properly persist restarts 2017-06-25 02:35:37 +02:00
Master Kwoth
f11429b714 anilist api should work a bit better and is cleaner 2017-06-25 01:45:11 +02:00
Master Kwoth
e27e1005eb poll is now public poll, private poll removed 2017-06-24 07:23:59 +02:00
Master Kwoth
7ad5c5e02b Patreon rewards fix finished 2017-06-24 05:24:43 +02:00
Master Kwoth
a8f2ca60c2 Reenabled converter commands. Improved rewards reload on bots with multiple shards. 2017-06-24 01:41:24 +02:00
Master Kwoth
741538a982 Slightly faster startup and database access. Shard 0 will now report total guild count 2017-06-22 23:59:54 +02:00
Master Kwoth
bed3001ce1 Database should be faster, disabled unit converter temporarily 2017-06-22 22:16:58 +02:00
Master Kwoth
0aa65b2953 Fixes to remind and shardstats 2017-06-22 03:39:26 +02:00
Master Kwoth
2cad7f4475 small fixes 2017-06-22 00:47:29 +02:00
Master Kwoth
d3c598ae01 Command Timeout set to 60 2017-06-22 00:22:50 +02:00
Master Kwoth
ee72962ee5 Possible database lock fix 2017-06-22 00:12:29 +02:00
Master Kwoth
d2ea530c10 fix shard status nullrefs 2017-06-21 23:49:13 +02:00
Master Kwoth
f1bcbd91a3 Another one 2017-06-21 23:36:00 +02:00
Master Kwoth
4b57d874ba Fixed compile error 2017-06-21 23:34:29 +02:00
Master Kwoth
85e1839991 don't load owner channels 2017-06-21 23:31:47 +02:00