5HT2 / taro-bot

A fast, scalable and easily expandable Discord bot
https://frogg.ie/invite-taro-bot
ISC License
10 stars 1 forks source link

Optimize `c.GuildConfigs` usage #6

Open 5HT2 opened 2 years ago

5HT2 commented 2 years ago

Now that Go 1.18 has been released, it's fixed my previous issues with mutexes in maps. This means I can get rid of the for loop in GuildContext (which is used everywhere).