mirror of
https://github.com/LBRYFoundation/curate.git
synced 2025-08-23 17:37:25 +00:00
Merge branch 'master' of https://github.com/lbryfoundation/curate into master
This commit is contained in:
commit
9b70207ec4
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module.exports = class Abaondon extends Command {
|
||||||
}; }
|
}; }
|
||||||
|
|
||||||
async exec(message, { args }) {
|
async exec(message, { args }) {
|
||||||
const givenClaim = args[0];
|
const givenClaim = args[0];
|
||||||
if (!/^[a-f0-9]{40}$/.test(givenClaim))
|
if (!/^[a-f0-9]{40}$/.test(givenClaim))
|
||||||
// @TODO use claim_search for invalid claim ids
|
// @TODO use claim_search for invalid claim ids
|
||||||
return message.channel.createMessage('That Claim ID isn\'t valid.');
|
return message.channel.createMessage('That Claim ID isn\'t valid.');
|
||||||
|
|
Loading…
Add table
Reference in a new issue