bwmarrin / discordgo

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

Poll example #1558

Open Rpi-Dude opened 1 month ago

Rpi-Dude commented 1 month ago

This PR adds an example showcasing how a poll can be created using the latest poll resource. (#1553)

The syncCommands function has been taken from https://github.com/bwmarrin/discordgo/issues/1518#issuecomment-2076083061. Thanks @Sharrnah