bwmarrin / discordgo

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

Poll example #1558

Open Rpi-Dude opened 3 months ago

Rpi-Dude commented 3 months 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