add dc img proxy and enable it for welcome bot
This commit is contained in:
parent
717f3d1bf5
commit
f9268f31e9
3 changed files with 83 additions and 1 deletions
|
@ -30,7 +30,8 @@ func JoinEvent(event *events.GuildMemberJoin) {
|
|||
SetEmbeds(discord.NewEmbedBuilder().
|
||||
SetColor(16068661).
|
||||
SetTimestamp(time.Now()).
|
||||
SetThumbnail(user.EffectiveAvatarURL(discord.WithSize(1024))).
|
||||
//SetThumbnail(user.EffectiveAvatarURL(discord.WithSize(1024))).
|
||||
SetThumbnail(fmt.Sprintf("https://app11.rvo.one/api/v1/discord/avatar/%s", user.ID.String())).
|
||||
AddField(
|
||||
fmt.Sprintf("Welcome to the %v Server", guild.Name),
|
||||
fmt.Sprintf("Welcome %v (`%v`) on %v 🍎", user.Mention(), user.Username, guild.Name), false).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue