#Error if issubclass(datatype, str): TypeError: issubclass() arg 1 must be a class

1 messages · Page 1 of 1 (latest)

slow nacelle
#

user = get(id=userId)

fervent gorge
fervent gorge
slow nacelle
#

im fixxing

gusty stratus
#

i would wrap code in backticks: ```

#

?tag helpgist

eternal lionBOT
#

When getting help, please make sure of the following:

  1. Did you Google or check the Pycord docs for your problem? Reading the error message may also be helpful

  2. Did you send a large portion of your code (the entire script, function, and/or other important variables)?

  3. If you are getting an error, did you send the entire error?

  4. Did you make sure to send code as text in code blocks, NOT AS IMAGES?

  5. Did you already take steps to solve the problem on your own? We can debug, but we will not write code for you.

  6. Are you posting in the #969574202413838426 channel?

For more info check out #how-to-get-help and #help-rules

gusty stratus
#

#4 code blocks, use back ticks

#

tho you provided code along with error which is really good, ive see a lot worse 💀

fair crag
#

?tag codeblock

eternal lionBOT
#

Please put your code in a code block:
```py
Here is your Code
```

That makes reading code in Discord a lot easier:

print("This is an example.")
gusty stratus
#

did it work

#

.close

sharp pierBOT
#

Done with your help thread?

Please close your own help thread by using </close:1009144375709814897> with @hollow pond.

formal cargo
#

@slow nacelle is this thread still relevant? If not, please close it with /close