mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 13:34:40 +00:00
safe
This commit is contained in:
@@ -161,6 +161,7 @@ class Transcriber(commands.Cog):
|
||||
self.logger = logging.getLogger("discord")
|
||||
|
||||
@commands.hybrid_command(name="transcribe")
|
||||
@commands.has_any_role('Nocna Zmiana', 'Jarl', 'Thane' , 'Bartender')
|
||||
async def test(self, ctx):
|
||||
if self.vc:
|
||||
vc = self.vc # to juz powinien byc voice channel z funkcja conenct
|
||||
@@ -231,6 +232,7 @@ class Transcriber(commands.Cog):
|
||||
self.logger.debug("After %s", after)
|
||||
|
||||
@commands.command(name="stop_transcribe")
|
||||
@commands.has_any_role('Nocna Zmiana', 'Jarl', 'Thane' , 'Bartender')
|
||||
async def stop(self, ctx):
|
||||
self.check_data.stop()
|
||||
stop_token = CommunicationObject("STOP", None, None)
|
||||
|
||||
Reference in New Issue
Block a user