Giter Club home page Giter Club logo

welcome-bot's People

Contributors

lackypal avatar techguy940 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

welcome-bot's Issues

problem

bru think I broke something
image

Just a Question

image
Hello
I am a beginner to the coding world, so please excuse me if this is a silly question, but when using this script I have filled all the gaps in and am faced with this error, can I have input as to what I should do? Thanks

I get This error

Traceback (most recent call last):
File "/home/runner/Scratch-Central-Welcome-Bot/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 441, in _run_event
await coro(*args, **kwargs)
File "/home/runner/Scratch-Central-Welcome-Bot/main.py", line 46, in on_member_remove
raise e
File "/home/runner/Scratch-Central-Welcome-Bot/main.py", line 44, in on_member_remove
raise e
File "/home/runner/Scratch-Central-Welcome-Bot/main.py", line 39, in on_member_remove
embed.set_author(name=member.name, icon_url=member.avatar_url)
AttributeError: 'Member' object has no attribute 'avatar_url'

Error Code

{
"resource": "/C:/Users/Indra Constantine/Discord Bot/bot.py",
"owner": "generated_diagnostic_collection_name#0",
"severity": 8,
"message": "Expected ")"",
"source": "Pylance",
"startLineNumber": 22,
"startColumn": 34,
"endLineNumber": 22,
"endColumn": 43
}

{
"resource": "/C:/Users/Indra Constantine/Discord Bot/bot.py",
"owner": "generated_diagnostic_collection_name#0",
"code": {
"value": "reportUndefinedVariable",
"target": {
"$mid": 1,
"external": "https://github.com/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md#diagnostic-severity-rules",
"path": "/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md",
"scheme": "https",
"authority": "github.com",
"fragment": "diagnostic-severity-rules"
}
},
"severity": 4,
"message": ""name" is not defined",
"source": "Pylance",
"startLineNumber": 22,
"startColumn": 29,
"endLineNumber": 22,
"endColumn": 33
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.