DiamondDAO / discord-bot

A friendly bot to inject Discord data for community analysis
MIT License
1 stars 0 forks source link

Kicked from server bug #4

Closed nathankoerschner closed 2 years ago

nathankoerschner commented 2 years ago

Kicking the bot from a server currently crashes the program with the following error:

if (typeof this.banner === ‘undefined’) throw new Error(‘USER_BANNER_NOT_FETCHED’); Error [USER_BANNER_NOT_FETCHED]: You must fetch this user’s banner before trying to generate its URL!

This should be resolved.

nathankoerschner commented 2 years ago

Fixed with two commits, one handling the error being generated so that the error no longer crashes the program, and one addressing the error itself.

nathankoerschner commented 2 years ago

@clemp this issue is ready for review.

nathankoerschner commented 2 years ago

@