#source code errors please help
1 messages · Page 1 of 1 (latest)
https://github.com/tandemdude/hikari-lightbulb/blob/master/examples/basic_bot_example.py
here is an example to get started.
all of the methods your calling, do not exist. its telling you that. lightbulb.listener isnt a method, same with client.error. You need to use the documentation to find out what the alternatives are for those methods. Use the GatewayBot for listeners, and .error() I have never heard of as a method, so would have no clue as to where it ends up.
also, you really shouldn't run a webserver in a single python file, you should separate them into two different projects, with a connection between the two.