#π Mute Command
18 messages Β· Page 1 of 1 (latest)
@pure forum
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
What error? A error pop up isn't specific
Especially we also don't know your code
Ao
!traceback
Please provide the full traceback for your exception in order to help us identify your issue.
While the last line of the error message tells us what kind of error you got,
the full traceback will tell us which line, and other critical information to solve your problem.
Please avoid screenshots so we can copy and paste parts of the message.
A full traceback could look like:
Traceback (most recent call last):
File "my_file.py", line 5, in <module>
add_three("6")
File "my_file.py", line 2, in add_three
a = num + 3
~~~~^~~
TypeError: can only concatenate str (not "int") to str
If the traceback is long, use our pastebin.
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
!source mute
Timeout a user for the given reason and duration.
@pure forum you can look at our mute command for inspiration.
remember to never ever say that you got an error without showing the whole entire error message.
if you say "I got an error", but you don't show the error message, go back in time and fix it so that you show the whole error message.
saying "I got an error" without showing the whole error message is like clipping an angel's wings.
Thanks, that's my bad
I forgot to mention, I need it in slash commands and not in prefix cmds
please never forget what I just said and always show the whole error message every time for the rest of your life.
ππ»
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.