#invalid literal for int() with base 10 '%mention tach minjung'

1 messages · Page 1 of 1 (latest)

obsidian marlin
#

read the error

alpine tundra
#

come[0] would be msg

#

I think you should be doing come[1]

#

You can try printing come to make sure

alpine tundra
obsidian marlin
#

learn python holy shit

#
come['msg'] # will provide you the msg object
come['channelID'] # will provide you the channel id
#

yes so use those instead of index

#

a list uses index

#

a dict does not

#

move those there

#

and remove the no-named variables

merry condor
#

Literally learn python

#

No one here should be teaching you Python.

obsidian marlin
#

im not gonna hold your hand for every error you can possibly find, sorry

#
  1. read the rules
  2. nobody is going to type everything out from a screenshot and fix your issues for you
  3. we don't have nor particularly want your entire code to troubleshoot appropriately
  4. you're not gonna learn anything from us providing every solution to your issues