github.com/annwntech/go-micro/v2@v2.9.5/agent/input/discord/README.md (about)

     1  # Discord input for micro-bot
     2  [Discord](https://discordapp.com) support for micro bot based on [discordgo](github.com/bwmarrin/discordgo).
     3  
     4  This was originally written by Aleksandr Tihomirov (@zet4) and can be found at https://github.com/zet4/micro-misc/.
     5  
     6  ## Options
     7  ### discord_token
     8  
     9  You have to supply an application token via `--discord_token`.
    10  
    11  Head over to Discord's [developer introduction](https://discordapp.com/developers/docs/intro)
    12  to learn how to create applications and how the API works.
    13  
    14  ### discord_prefix
    15  
    16  Set a command prefix with `--discord_prefix`. The default prefix is `Micro `.
    17  You can mention the bot or use the prefix to run a command.
    18  
    19  ### discord_whitelist
    20  
    21  Pass a list of comma-separated user IDs with `--discord_whitelist`. Only allow
    22  these users to use the bot.