Sheldan / abstracto

Discord Bot Base
MIT License
5 stars 1 forks source link

List twitch streamer fails if no post target has been set #100

Closed Sheldan closed 1 year ago

Sheldan commented 1 year ago

General Troubleshooting

Description

If you have set up some streamers using no special channel with the twitch plugin, but have not yet set a post target, the command to show the current streamers fail with a nullpointer, because there no channel available.

Steps to reproduce

Enable twitch module without setting up the post target Add a streamer with only setting the name, no custom channel Execute the command to list twitch streamers

Expected behaviour

Render that no channel has been set for the streamer

Actual behaviour

Command response fails to render, because no channel is available and therefore null