mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Only check roles on main server.
This commit is contained in:
parent
1d8c89e72e
commit
a93fb14701
@ -73,7 +73,9 @@ export default {
|
|||||||
interaction.reply({embeds: [embed2]})
|
interaction.reply({embeds: [embed2]})
|
||||||
},
|
},
|
||||||
url: async()=>{
|
url: async()=>{
|
||||||
if (!interaction.member.roles.cache.has(client.config.mainServer.roles.mpmanager) && !interaction.member.roles.cache.has(client.config.mainServer.roles.bottech) && !interaction.member.roles.cache.has(client.config.mainServer.roles.admin)) return client.youNeedRole(interaction, 'mpmanager');
|
if (client.config.mainServer.id == interaction.guildId) {
|
||||||
|
if (!interaction.member.roles.cache.has(client.config.mainServer.roles.mpmanager) && !interaction.member.roles.cache.has(client.config.mainServer.roles.bottech) && !interaction.member.roles.cache.has(client.config.mainServer.roles.admin)) return client.youNeedRole(interaction, 'mpmanager');
|
||||||
|
}
|
||||||
const address = interaction.options.getString('address');
|
const address = interaction.options.getString('address');
|
||||||
if (!address){
|
if (!address){
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user