Adding reset command, some variable to config

This commit is contained in:
Rafael Vargas
2022-01-06 13:21:18 -04:00
parent a391ab1720
commit 06a00e227d
3 changed files with 15 additions and 1 deletions

View File

@@ -1,6 +1,14 @@
import re
def is_connected(ctx):
try:
voice_channel = ctx.guild.voice_client.channel
return voice_channel
except:
return None
def format_time(duration):
if not duration:
return "00:00"