Commit Graph

28 Commits

Author SHA1 Message Date
ekzyis 45244896c8 Refactor code with self._next() 2021-09-26 01:56:07 +02:00
ekzyis 94d018246c Skip song if voice_client is None 2021-09-26 01:51:59 +02:00
ekzyis abe268391f Add try/except 2021-09-26 01:43:49 +02: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
ekzyis 01cc686520 Fix AttributeError if no voice client 2021-09-25 20:36:15 +02:00
ekzyis b0a885fca1 Add skip command 2021-09-25 20:30:38 +02:00
ekzyis 9e75fd5cbe Use cookies 2021-09-25 20:02:51 +02:00
ekzyis ac6b8783ba Add cog_unload and before_loop 2021-09-25 16:04:41 +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
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 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 085e4459b9 Fix pylint issues 2021-09-24 22:02:13 +02:00
ekzyis d238ca6632 Fix imports in yt.py 2021-09-24 22:02:13 +02:00
ekzyis 6da59a68b9 Fix token variable usage 2021-09-24 22:00:19 +02:00
ekzyis b6ab2b52ec Move youtube code into own file 2021-09-24 21:17:56 +02:00
ekzyis 6c9c601372 Implement loading token from ENV 2021-09-24 21:05:41 +02:00
ekzyis 2d4a34347b Copy code from basic_voice example as skeleton
https://github.com/Rapptz/discord.py/blob/v1.7.3/examples/basic_voice.py
2021-09-24 20:58:42 +02:00