// BotAuthorizeURL creates a URL that can be used to invite this bot to a guild/server.
// Note that it depends on the bot ID to be after the Discord update where the Client ID
// is the same as the Bot ID.
//
// By default the permissions will be 0, as in none. If you want to add/set the minimum required permissions
// for your bot to run successfully, you should utilise
//  Client.
BotAuthorizeURL creates a URL that can be used to invite this bot to a guild/server.
Note that it depends on the bot ID to be after the Discord update where the Client ID
is the same as the Bot ID.

By default the permissions will be 0, as in none. If you want to add/set the minimum required permissions
for your bot to run successfully, you should utilise
Client.
// BotAuthorizeURL creates a URL that can be used to invite this bot to a guild / server . // Note that it depends on the bot ID to be after the Discord update where the Client ID // is the same as the Bot ID . // // By default the permissions will be 0 as in none . If you want to add / set the minimum required permissions // for your bot to run successfully you should utilise // Client .
func (c clientQueryBuilder) BotAuthorizeURL() (*url.URL, error) {
	format := "https://discord.com/oauth2/authorize?scope=bot&client_id=%s&permissions=%d"
	u := fmt.Sprintf(format, c.client.botID.String(), c.client.permissions)
	return url.Parse(u)
}
func ( c clientQueryBuilder ) BotAuthorizeURL ( ) ( * url . URL , error ) { format := " " u := fmt . Sprintf ( format , c . client . botID . String ( ) , c . client . permissions ) return url . Parse ( u ) }
BotAuthorizeURL creates a URL that can be used to invite this bot to a guild/server.
BotAuthorizeURL creates a URL that can be used to invite this bot to a guild / server .