radio: minor/misc_util: add coffee 'Kopi luwak'
This commit is contained in:
		| @@ -62,7 +62,7 @@ class Util: | ||||
|                         'a chocolate frappuccino', 'a butter pecan coffee', 'a maple pecan latte', | ||||
|                         'a sea salt caramel mocha', 'a nitro cold brew', 'a pumpkin cold brew', | ||||
|                         'a honey almond flat white', 'a sweet cream cold brew', 'a matcha latte', | ||||
|                         'a golden latte', 'a turmeric latte', 'a beetroot latte',]     | ||||
|                         'a golden latte', 'a turmeric latte', 'a beetroot latte', 'a Kopi luwak']     | ||||
|         self.LAST_5_COFFEES: list = [] | ||||
|          | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,7 @@ import logging | ||||
| import traceback | ||||
| from typing import Optional | ||||
| from discord.ext import bridge, commands, tasks | ||||
| from util.radio_util import get_now_playing | ||||
| from util.radio_util import get_now_playing, skip | ||||
| import discord | ||||
| from disc_havoc import Havoc | ||||
|  | ||||
| @@ -115,6 +115,21 @@ class Radio(commands.Cog): | ||||
|             #         await vc.channel.set_status(f"Now playing: {np_track}") | ||||
|         except: | ||||
|             traceback.print_exc() | ||||
|              | ||||
|     @bridge.bridge_command() | ||||
|     @commands.is_owner() | ||||
|     async def skip(self, ctx) -> None: | ||||
|         """ | ||||
|         Skip - Convenience Command | ||||
|         Args: | ||||
|             ctx (Any) | ||||
|         Returns: | ||||
|             None | ||||
|         """ | ||||
|          | ||||
|         await skip() | ||||
|         return await ctx.respond("OK", ephemeral=True) | ||||
|              | ||||
|          | ||||
|     def cog_unload(self) -> None: | ||||
|         """Run on Cog Unload"""           | ||||
|   | ||||
		Reference in New Issue
	
	Block a user