I'm getting a certain error on my TEMPMUTE command
问题 I have made a tempmute code or we can say I found one on stackoverflow. I copied the code but it doesn't seem to work. If anyone of you now and can help me thanks! The code is; @commands.has_permissions(kick_members=True) async def tempmute(ctx, member: discord.Member, time=0, reason=None): if not member or time == 0: return elif reason == None: reason = 'No reason' try: if time_list[2] == "s": time_in_s = int(time_list[1]) if time_list[2] == "min": time_in_s = int(time_list[1]) * 60 if time