Commit Graph

102 Commits

Author SHA1 Message Date
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
ekzyis 6da59a68b9 Fix token variable usage 2021-09-24 22:00:19 +02:00
Ramdip Gill be8af5f81e Merge branch 'no-issue-refactor' into 'develop'
[REFACTOR] Move youtube code into own file

See merge request ekzyis/musicube!3
2021-09-24 19:19:51 +00:00
ekzyis b6ab2b52ec Move youtube code into own file 2021-09-24 21:17:56 +02:00
Ramdip Gill 706048c100 Merge branch '6-readme' into 'develop'
Add README

Closes #6

See merge request ekzyis/musicube!2
2021-09-24 19:14:15 +00:00
ekzyis 72c44aad27 Add README 2021-09-24 21:13:12 +02:00
Ramdip Gill 2a31fa6059 Merge branch '2-load-token-from-env' into 'develop'
Implement loading token from ENV

Closes #2

See merge request ekzyis/musicube!1
2021-09-24 19:08:19 +00:00
ekzyis 6c9c601372 Implement loading token from ENV 2021-09-24 21:05:41 +02:00