Susannova / Discord_Bot

A configurable discord bot that can run on multiple servers simultaneously.
MIT License
2 stars 1 forks source link

Dont use a list here #112

Closed Susannova closed 5 months ago

Susannova commented 4 years ago

https://github.com/Susannova/Discord_Bot/blob/4c5dd64e05caeee7cfccf847fab642eb6694d708/core/config.py#L100

NickWittig commented 3 years ago

why not? can this be closed @Susannova

Susannova commented 3 years ago

Because usually only the first element of the list is used anyways. It is unneccesary complicated to have a list here. But some functions expect a list so you can't just replace the list with an int.

NickWittig commented 3 years ago

so there is no better way to solve this? then we can close this?

NickWittig commented 5 months ago

i dont see the issue