bwmarrin / discordgo

(Golang) Go bindings for Discord
BSD 3-Clause "New" or "Revised" License
5.08k stars 808 forks source link

Use Discord API version 9 #1082

Closed lucianonooijen closed 2 years ago

lucianonooijen commented 2 years ago

It looks like the package is using Discord API version 8.

For some features (including the creation of threads in channels) the Discord API version 9 is required.

jameswritescode commented 2 years ago

v10 is coming and v8 is being deprecated: https://github.com/discord/discord-api-docs/discussions/4510

lucianonooijen commented 2 years ago

I see! There is a MR open for adding threads (https://github.com/bwmarrin/discordgo/pull/1058/files) but indeed upgrading to version 10 might be required soon as well to keep this package up to date (preferably before the April 30th deprecation date for v9).

FedorLap2006 commented 2 years ago

Thank you for the issue! Upgrade to v10 will follow after the threads PR merge, which will happen soon. So, no worries about the older API version.