evaera / RoVer

This repo is RoVer V1, which is now deprecated and will no longer work. Get Rover V2 now: https://rover.link
https://rover.link
Apache License 2.0
145 stars 201 forks source link

Allow users to update self with update command #356

Closed Regalijan closed 3 years ago

Regalijan commented 3 years ago

When no argument or the the user's own mention is passed, they will update themselves instead of being told they don't have permission.

Regalijan commented 3 years ago

Yes i can update that when i get on pc


From: PhoenixShay @.> Sent: Sunday, September 19, 2021 11:23:54 AM To: evaera/RoVer @.> Cc: Wolftallemo @.>; Author @.> Subject: Re: [evaera/RoVer] Allow users to update self with update command (#356)

@PhoenixShay commented on this pull request.


In src/commands/rover/UpdateCommand.jshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fevaera%2FRoVer%2Fpull%2F356%23discussion_r711761141&data=04%7C01%7C%7C4583508ec4bd4574d81708d97b817e9c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637676618363330713%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mW3fSrxPhdgHjlK5oAd0yYo9HwabsLkjT5nAOanYe%2BI%3D&reserved=0:

}

async fn (msg, args) { const target = args.user DiscordServer.clearMemberCache(target.id)

 const server = await this.discordBot.getServer(msg.guild.id)

can we update this comment since it was updated to use instanceof

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fevaera%2FRoVer%2Fpull%2F356%23pullrequestreview-758160667&data=04%7C01%7C%7C4583508ec4bd4574d81708d97b817e9c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637676618363335694%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uz9r61lWoL8T%2BlfnCrf6WEhTEbanWuXiQJp8P8htkck%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARJWZCHDUFSFMTIDGWD2T2LUCX6AVANCNFSM5EKAILIA&data=04%7C01%7C%7C4583508ec4bd4574d81708d97b817e9c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637676618363340674%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ctP8m8SzuMDmKWa2oiZUdAl8yCIWhUYtiB6l1Nxrx1Y%3D&reserved=0.