100 Commits

Author SHA1 Message Date
Irdumb
ce6dd852c4 you call it refactoring right? 2016-04-11 13:21:31 +10:00
Eslyium
918f20c9c4 make the skip uses actual majority
skip uses actual majority
2016-04-10 22:30:13 -04:00
Irdumb
d39c1baf92 display only server-specific settings if available
assumes server-specific settings are stored uhhhhh shoot, lemme just give an example.

{
    "MAX_CACHE": 50,
    "SERVER_SFX_ON": {
        "server1_id_here":True,
        "server2_id_here":False
    }
}
2016-04-10 20:12:45 +10:00
Irdumb
162916db18 behavior + is_done + bug fix
!play behavior
put is_done in EmptyPlayer so bot stops complaining
fixed !queue > !sfx > !mix bug
2016-04-10 10:50:55 +10:00
Irdumb
54dc976f3a some behaviors & multiword sfx
added some of the music control behaviors

quotes now not needed for multiword sfx
2016-04-10 08:32:14 +10:00
Irdumb
607cde76f4 support for sfx list >2k characters
didn't add paging to the other list commands as per request be Twentysix?? I may have misunderstood.

Doesn't account for sfx with emoji in their names. I'm not sure if that's even possible.
2016-04-08 16:45:47 +10:00
Irdumb
3cb7ea02ad no_pm for sfx toggle 2016-04-06 23:19:18 +10:00
Irdumb
7259ae0fcc correctly stops sfx
and minor formatting
2016-04-06 22:37:07 +10:00
Irdumb
aa4afc3255 added sound effects support
!sfx - plays the specified sound file from the data/audio/sfx directory
!audioset sfx - toggles sfx for server
!list sfx - lists sound effects

Gives responsibility of `!stop`ping a stuck player to the user, like the other audio commands do
2016-04-06 00:53:38 +10:00
Irdumb
8bb306ac06 removed message that doesn't make sense
when user does !queue link/search when not in a voice channel, the bot says
"I'm already playing music for other people." then
"That link is now allowed."

2nd message doesn't make sense and causes confusion
2016-04-05 22:18:58 +10:00
Twentysix
4be9757404 Better unloading of background tasks 2016-03-29 15:41:46 +02:00
Twentysix
e9c7e32176 Typo 2016-03-25 18:52:13 +01:00
Twentysix
951d43b939 Fixed error when issuing audio commands on diff servers 2016-03-16 05:23:55 +01:00
Twentysix
6775255bff Message in case of inexistent playlist 2016-03-16 05:06:33 +01:00
Twentysix
6f26f39d46 Prevents no process found errors on unix
Probably.
2016-03-16 05:00:03 +01:00
Twentysix
7cf0107877 Typo 2016-03-16 02:36:21 +01:00
Twentysix
a43b972dc3 !play and !queue now accept search terms 2016-03-13 05:28:05 +01:00
Twentysix
f5e343b0e3 Added sc playlist parsing and !local help 2016-03-13 01:29:50 +01:00
Twentysix
f142477634 Added !delplaylist 2016-03-13 01:04:06 +01:00
Twentysix
72fa9c2166 Added bitness error checking for opus 2016-03-13 00:17:13 +01:00
Twentysix
1620ff2979 Fixed audioset permissions check not correctly set 2016-03-10 20:52:10 +01:00
Twentysix
3cde88e56d Fixed !local not being able to !loop 2016-03-03 21:47:10 +01:00
Twentysix
22514af4d9 Polish 2016-02-29 13:53:09 +01:00
Will Tekulve
1d9888a456 fix PR-found issues with red"s settings and audio 2016-02-28 16:20:47 -05:00
Will Tekulve
43413a4e26 add else case for opus check 2016-02-27 21:15:49 -05:00
Will Tekulve
563d7bb395 initial working update 2016-02-27 04:02:32 -05:00
Twentysix
b1511984ec Improved youtube playlist parsing, added !set avatar
Now it actually parse the whole playlist
2016-02-26 18:56:15 +01:00
Twentysix
dc3cedcd5f Polish and more checks during configuration 2016-02-24 18:14:09 +01:00
Twentysix
1936635758 Added !set status and way to disable songs' titles as status 2016-02-21 14:32:26 +01:00
Twentysix
b753a26a77 Switches to other channel if in different voice channel 2016-02-20 01:31:08 +01:00
Twentysix
7bcb439b67 Added !pause !resume
Thanks Asu for reminding me that those exists
2016-02-19 00:44:51 +01:00
Twentysix
5cc8135fc8 Made queue list cleaner, !queue with no link shows list 2016-02-18 10:13:34 +01:00
Twentysix
7e4bd4ef8f Minor adjustment x2 2016-02-16 18:21:56 +01:00
Twentysix
0443a95c99 Minor adjustments 2016-02-16 18:09:46 +01:00
Twentysix
bb4e8aa376 Merge pull request #60 from sedders123/develop
Added !list queue command
2016-02-16 17:54:55 +01:00
Twentysix
e9852d96fe Play fix 2016-02-16 17:06:11 +01:00
James Seden Smith
1ba777c697 Added missing line to allow the !queue command to give more information 2016-02-15 16:16:31 +00:00
James Seden Smith
af373901df Added !list queue command. Added !audioset soundlcoud command to go with
this
2016-02-15 16:07:54 +00:00
Twentysix
e54b80b3c9 Cleanup cache fix 2016-02-15 09:37:04 +01:00
Twentysix
3b04a82519 Added cache auto cleanup
!cache
!cache empty
!audioset maxcache
2016-02-15 00:11:12 +01:00
Twentysix
dc0bf207b8 Added !server, !join and some general improvements
Audio's task now properly checks if the audio module is still loaded
Added !server to cogs.general for server info
Added !join <invite> (owner only) to make Red join other servers
settings.json now gets deleted if login fails
2016-02-13 14:52:26 +01:00
Twentysix
6518c6b8d8 No comment
I don't want to talk about this
2016-02-11 14:37:32 +01:00
Twentysix
533c59de97 Hotfix for loop, minor typos 2016-02-11 10:32:01 +01:00
Twentysix
1e592cb795 Small fixes 2016-02-11 07:46:35 +01:00
Twentysix
6385c3614f Fixed !loop, added title to !song
Audio now recognizes owner
2016-02-11 07:36:50 +01:00
Twentysix
2f516ae313 Persistent audio settings 2016-02-11 04:17:49 +01:00
Twentysix
b9bd25ebde Fixed local playlists 2016-02-09 23:48:37 +01:00
Twentysix
00d098d6ee Removed debug message 2016-02-07 23:42:50 +01:00
Twentysix
e738c8a40f Typo 2016-02-07 23:23:14 +01:00
Twentysix
a3fcbe944d First commit 2016-02-07 18:47:24 +01:00