if(!message.member.permissions.has("ADMINISTRATOR")){returnmessage.channel.send("You must have administrator permissions in order to edit these settings.");}
if(gl&&gl.admin&&!message.member.permissions.has("ADMINISTRATOR")){returnmessage.channel.send("You must be a server administrator in order to make new lists!");}
if(gl&&gl.lists.length==15){returnmessage.channel.send("Your server has reached the checklist maximum of 15!");}
constname=awaitask(message,"What would you like to call this checklist?",60000);if(!name){return;}
if(name.length>50){returnmessage.channel.send("Your list's name is too long!");}
constdesc=awaitask(message,"What is the main purpose of this list?",120000);if(!desc){return;}
if(desc.length>400){returnmessage.channel.send("Please shorten that description a little!");}
letimage=null;
letconf=awaitask(message,"Would you like to add an image to your list?",60000);if(!conf){return;}
.setDescription("Tasks are a subset of checklists (`checklist`). They are based server-wide and are locked to the server. Only task or checklist assignees can mark a task as complete.")
let savess = await Saves.findOne({name: 'lfm'}) ? await Saves.findOne({name: 'lfm'}) : new Saves({name: 'lfm'});
let saves = savess.saves;
let user = mention || message.author;
if (!saves.get(user.id)) {return message.channel.send(`${mention ? "That person's" : "Your"} last.fm username isn't set! ${mention ? "They" : "You"} can set it with \`${prefix}lfm set <username>\``);}
let found = false;
try {
const glfm = function() {return new Promise(resolve => {
let timeout = setTimeout(() => {return resolve(undefined);}, 3000);
let stream = client.lfm.stream(saves.get(user.id));
.setDescription(`<@${user.id}> is currently listening to **${t.name}** by **${t.artist['#text']}**.\nView the song [here](${t.url}).`)
.setColor("c375f0")
.setThumbnail(t.image[3]['#text'])
.setTimestamp()
]})
found = true;
stream.stop();
return resolve(undefined);
});
stream.start();
});}
await glfm().catch((e) => {console.error(e);});
} catch (e) {console.error(e);}
if (!found) {return message.channel.send(`I couldn't find what \"${saves.get(user.id)}\" is listening to. Perhaps ${!mention ? "you" : "they"}'re not listening to anything, or you got ${!mention ? "your" : "their"} name wrong?`);}
"Ohhhhhh Saviiiii you busy? No? Wanna fix that? (it's LHT time)","LHT time~~","u translating rn qt? i smell slacker. stinky",
"You already know why I'm here lol","Are you ignoring these DMs yet?","Time to translate some Farming Life :3","It's ~~your worst nightmare~~Natsuki here~ you ready to do ~~slavery~~TL work?",
"hi i was told im supposed to bully u, dont shoot the messenger","FBI open up! (i've run out of creative ways to tell you to do your job)","TL time lol",
"ベリグットツランスレエタタイム","knock knock, it's your TL work at the door, it wants child support","bully bully bully bully bully time do your worky worky worky worky work time",
"if you leave LHT i'll leave with you slavery sucks ||just kidding time to do your job (it's unpaid)||","\\> be you\n\\> be a TL\n\\> realize it's 10am\n\\>ihatemyjob.png","hi"