Hey glowstik !! u actually helped me to make a bot and I would like a part 2 of logs with nextcord, for the logs idea I would like to have roles logs ( when someone change a role permissions / someone create a role )
I did everything like you but I get this error message Ignoring the exception in the mute command: Traceback (last call): File "C:\Users\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages extcord\ext\commands\core.py", line 168, in wrapped ret = await coro(*args, **kwargs) file "c:\user\justin\extcord\extcommands\core.py", line 16, in mute await member.edit(timeout=nextcord.utils.utcnow()+datetime.timedelta(seconds=time)) TypeError: member.edit() received an unexpected keyword argument 'timeout'. The above exception was the direct cause of the following exception: Traceback (last call): File "C:\User\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages extcord\ext\commands\bot.py", line 1024, in invoke await ctx.command.invoke(ctx) file "C:\user\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages extcord\ext\commands\core.py", line 933, in invoke await injected(*ctx.args, **ctx.kwargs) File "C:\User\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages extcord\ext\commands\core.py", line 177, in wrapped raise CommandInvokeError(exc) from exc nextcord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: Member.edit() has received an unexpected keyword argument 'timeout'.
pip install -U git+github.com/nextcord/nextcord.git#master < command to install nextcord with timeouts
Hey glowstik !! u actually helped me to make a bot and I would like a part 2 of logs with nextcord, for the logs idea I would like to have roles logs ( when someone change a role permissions / someone create a role )
How do I install human friendly on ubuntu/mac?
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH? How to fix
Install git and add to path. To install you have to go to git’s website.
@@Thescp049 thx
brotti... mute is when a member is muted and cant type and DOESNT show the timeout message, not a timeout function
epic! also i got banned on epikhost due to "alt account", but i dont have one
It wont let me import human friendly, help lol
early
epic!!
'humanfriendly' has no attribute 'parse_time'
it should be parse_timespan
@@glowstik its still giving me errira when i use it tho
@@glowstik i cant even read them
is there a on timeout end event
just set timeout to None
what is ur github?
github.com/Glowstik-YT
glowstik pls update video with slash command
7:07
thonks boi
I did everything like you but I get this error message
Ignoring the exception in the mute command:
Traceback (last call):
File "C:\Users\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages
extcord\ext\commands\core.py", line 168, in wrapped
ret = await coro(*args, **kwargs)
file "c:\user\justin\extcord\extcommands\core.py", line 16, in mute
await member.edit(timeout=nextcord.utils.utcnow()+datetime.timedelta(seconds=time))
TypeError: member.edit() received an unexpected keyword argument 'timeout'.
The above exception was the direct cause of the following exception:
Traceback (last call):
File "C:\User\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages
extcord\ext\commands\bot.py", line 1024, in invoke
await ctx.command.invoke(ctx)
file "C:\user\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages
extcord\ext\commands\core.py", line 933, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\User\Justin\AppData\Local\Programs\Python\Python310\lib\site-packages
extcord\ext\commands\core.py", line 177, in wrapped
raise CommandInvokeError(exc) from exc
nextcord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError:
Member.edit() has received an unexpected keyword argument 'timeout'.
you have to install the newest version of nextcord
Haha ur late i made it early
:/
lol same
ERROR: CommandInvokeError: Command raised an exception: InvalidTimespan: Failed to parse timespan! (input '' was tokenized as [''])
you're passing in the wrong value
@@glowstik nvm, i already fixed it, forgot to put a "self" in a cog
@@glowstik thank you tho
nextcord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Member' object has no attribute 'member'