|
|
@ -32,6 +32,7 @@ var changeTrust = enforceDM(memberFilter(true, enforceArgumentCount(
|
|
|
|
config.ErrorChangeTrustSelf,
|
|
|
|
config.ErrorChangeTrustSelf,
|
|
|
|
config.ErrorColour,
|
|
|
|
config.ErrorColour,
|
|
|
|
).Send(s, m.ChannelID)
|
|
|
|
).Send(s, m.ChannelID)
|
|
|
|
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
isMember := false
|
|
|
|
isMember := false
|
|
|
@ -46,6 +47,7 @@ var changeTrust = enforceDM(memberFilter(true, enforceArgumentCount(
|
|
|
|
config.ErrorChangeTrustNotMember,
|
|
|
|
config.ErrorChangeTrustNotMember,
|
|
|
|
config.ErrorColour,
|
|
|
|
config.ErrorColour,
|
|
|
|
).Send(s, m.ChannelID)
|
|
|
|
).Send(s, m.ChannelID)
|
|
|
|
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
embed := message.NewEmbed().
|
|
|
|
embed := message.NewEmbed().
|
|
|
|