Commit Graph

109 Commits

Author SHA1 Message Date
ekzyis 7cb2cf8eb6 Add 'Run image' instructions 2021-09-25 23:01:16 +02:00
ekzyis 9843eacd57 Don't handle YOUTUBE_COOKIES different in Dockerfile 2021-09-25 22:48:16 +02:00
ekzyis d04783e2b3 Add Makefile 2021-09-25 22:46:45 +02:00
Ramdip Gill 9f34e0d774 Merge branch '7-docker' into 'develop'
Create Dockerfile

Closes #7

See merge request ekzyis/musicube!10
2021-09-25 20:12:52 +00:00
ekzyis 4f4e693df1 Create Dockerfile 2021-09-25 22:11:37 +02:00
Ramdip Gill a0ac98f796 Merge branch '10-embeds' into 'develop'
Resolve "Use embeds"

Closes #10

See merge request ekzyis/musicube!9
2021-09-25 20:09:11 +00:00
ekzyis fbb51bb0e1 Improve error messages 2021-09-25 21:34:46 +02:00
ekzyis 4bc1cdaae2 Use embeds 2021-09-25 21:30:52 +02:00
Ramdip Gill 9c32b3d8a0 Merge branch '9-skip' into 'develop'
Resolve "Implement !skip command"

Closes #9

See merge request ekzyis/musicube!8
2021-09-25 19:10:30 +00:00
ekzyis a2a84d5e33 Add comments 2021-09-25 21:06:20 +02:00
ekzyis 645e6556a4 Add skip test 2021-09-25 21:02:35 +02:00
ekzyis 57fbd247da Better test assertion 2021-09-25 20:41:33 +02:00
ekzyis 01cc686520 Fix AttributeError if no voice client 2021-09-25 20:36:15 +02:00
ekzyis c6ea351fa5 Add debug configuration 2021-09-25 20:30:44 +02:00
ekzyis b0a885fca1 Add skip command 2021-09-25 20:30:38 +02:00
Ramdip Gill 80041b22ef Merge branch '8-video-inappropriate' into 'develop'
Fix age-restricted songs not playable

Closes #8

See merge request ekzyis/musicube!7
2021-09-25 18:11:49 +00:00
ekzyis 737173dcd6 Add cookies.txt 2021-09-25 20:09:32 +02:00
ekzyis 9e75fd5cbe Use cookies 2021-09-25 20:02:51 +02:00
Ramdip Gill 9cce0f9f91 Merge branch '1-queue' into 'develop'
Resolve "Implement queue"

Closes #1

See merge request ekzyis/musicube!6
2021-09-25 16:08:59 +00:00
ekzyis e7de722d24 Add assertion message 2021-09-25 18:06:01 +02:00
ekzyis 068e65f468 Improve queue test 2021-09-25 18:05:46 +02:00
ekzyis 247fb5a6d4 Proper cleanup after tests 2021-09-25 16:48:33 +02:00
ekzyis ac6b8783ba Add cog_unload and before_loop 2021-09-25 16:04:41 +02:00
ekzyis f6ee8ff63f Move mbot creation into fixture 2021-09-25 04:03:50 +02:00
ekzyis d96108119e Update tests 2021-09-25 04:03:37 +02:00
ekzyis 8ee2fc2682 Rename url to query 2021-09-25 03:23:08 +02:00
ekzyis b55b3a3f0d Make properties private 2021-09-25 03:23:08 +02:00
ekzyis a27733675e Reply with stringified CommandError on CommandError 2021-09-25 03:23:08 +02:00
ekzyis d14b40d9f7 Only send 'Queued:' if currently playing 2021-09-25 03:23:08 +02:00
ekzyis 002111df8e Implement queue 2021-09-25 03:23:07 +02:00
ekzyis 07f8f3e524 Rename stream to play 2021-09-24 23:48:12 +02:00
Ramdip Gill 514c6c15c2 Merge branch '4-ci' into 'develop'
Resolve "CI (Continuous Integration)"

Closes #3 and #4

See merge request ekzyis/musicube!5
2021-09-24 21:43:53 +00:00
ekzyis ecdbc2fa45 Add test for stream 2021-09-24 23:37:46 +02:00
ekzyis d8dfc7119e Add test for ensure_voice 2021-09-24 23:07:32 +02:00
ekzyis e036835bf4 Remove unnecessary comments 2021-09-24 22:36:25 +02:00
ekzyis 98ecfaa875 Add placeholder test to make CI happy 2021-09-24 22:34:44 +02:00
ekzyis 273eb21d2c Fix unnecesssary elif after return 2021-09-24 22:33:27 +02:00
ekzyis 65ddea7f27 Add ErrorHandler cog 2021-09-24 22:26:49 +02:00
ekzyis d88ab63c2b Remove unnecessary code 2021-09-24 22:22:47 +02:00
ekzyis 737919557a Fix typo 2021-09-24 22:03:28 +02:00
ekzyis 406556e8cf Add if __name__ == "__main__" 2021-09-24 22:03:04 +02:00
ekzyis bf82306cf0 Add test folder 2021-09-24 22:02:13 +02:00
ekzyis a3d440ad75 pip install pytest-cov 2021-09-24 22:02:13 +02:00
ekzyis c2fefc4362 Add .gitlab-ci.yml 2021-09-24 22:02:13 +02:00
ekzyis 6c37d49bbf pip install pytest 2021-09-24 22:02:13 +02:00
ekzyis 31b9b1b717 Add .vscode 2021-09-24 22:02:13 +02:00
ekzyis 085e4459b9 Fix pylint issues 2021-09-24 22:02:13 +02:00
ekzyis 602a53dde4 Add __pycache__ to .gitignore 2021-09-24 22:02:13 +02:00
ekzyis d238ca6632 Fix imports in yt.py 2021-09-24 22:02:13 +02:00
Ramdip Gill 05113c9e23 Merge branch 'no-issue-fix-token-variable-usage' into 'develop'
Fix token variable usage

See merge request ekzyis/musicube!4
2021-09-24 20:01:05 +00:00