Skip to content

Commit

Permalink
fix: allow the bot token to not include 'Bot '
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky authored May 15, 2024
1 parent 68f5ffc commit cd1d761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func providerConfigure(version string) func(ctx context.Context, d *schema.Resou
return nil, diags
}
config := Config{
Token: token,
Token: "Bot " + token,
ClientID: d.Get("client_id").(string),
Secret: d.Get("secret").(string),
}
Expand Down

0 comments on commit cd1d761

Please sign in to comment.