github.com/meowstercatel/discordgo@v0.0.0-20250615204139-29b43d676735/examples/scheduled_events/README.md (about) 1 <img align="right" alt="DiscordGo logo" src="/docs/img/discordgo.svg" width="200"> 2 3 ## DiscordGo Scheduled Events Example 4 5 This example demonstrates how to utilize DiscordGo to manage scheduled events 6 in a guild. 7 8 **Join [Discord Gophers](https://discord.gg/0f1SbxBZjYoCtNPP) 9 Discord chat channel for support.** 10 11 ### Build 12 13 This assumes you already have a working Go environment setup and that 14 DiscordGo is correctly installed on your system. 15 16 From within the scheduled_events example folder, run the below command to compile the 17 example. 18 19 ```sh 20 go build 21 ``` 22 23 ### Usage 24 25 ``` 26 Usage of scheduled_events: 27 -guild string 28 Test guild ID 29 -token string 30 Bot token 31 -voice string 32 Test voice channel ID 33 ``` 34 35 The below example shows how to start the bot from the scheduled_events example folder. 36 37 ```sh 38 ./scheduled_events -guild YOUR_TESTING_GUILD -token YOUR_BOT_TOKEN -voice YOUR_TESTING_CHANNEL 39 ```