Post a question of the day every day at 3pm UTC in a channel I choose, drawn from a category set in settings (gaming, philosophy, icebreaker) with twenty questions each in the code, open a thread for the answers, and never repeat a question until all have been asked Make questions and their category editable through list settings, retaining the existing question bank as defaults.
Posts an engaging question every day at 3pm UTC in your chosen channel, automatically opens a discussion thread for answers, and cycles through 20 questions per category without repeating until all have been asked.
How to use:
/qotd setup to start the daily schedule/qotd now to post a question immediately (great for testing!)/qotd stop to cancel the daily scheduleEach question gets its own discussion thread so conversations stay organized.
Made by MEE6. Remix it to get a copy of your own and change anything you like.
What's the hardest boss fight you've ever beaten?
If you could erase your memory of one game to experience it fresh, which one?
Posted in #general!
// Daily Question of the Day — posts at 3pm UTC with a discussion thread
// 20 questions per category
const QUESTIONS = {
gaming: [
'What game world would you most want to live in?',
"What's your most memorable gaming moment?",
'If you could only play one game for the rest of your life, what would it be?',
'What game soundtrack do you listen to outside of gaming?',
"What's a game you thought you'd hate but ended up loving?",
'Which video game character would be your best friend in real life?',
"What's the hardest boss fight you've ever beaten?",
'If you could remaster one old game, which would you choose?',
'What game made you cry or feel the most emotion?',
"What's your unpopular gaming opinion?",
'What game did you spend the most hours on?',
'If you could have one item from a game in real life, what would it be?',
"What's the scariest game you've ever played?",
'Which game has the best story?',
'What multiplayer game brings out your competitive side the most?',
'If you could erase your memory of one game to experience it fresh, which one?',
"What's a game mechanic you wish more games would adopt?",
'Which game villain did you actually agree with?',
"What's the funniest glitch you've encountered in a game?",
'If you could work on any game franchise, which would it be?',
],
philosophy: [
'If you could know the absolute truth to one question, what would you ask?',
'Is it better to be loved or respected?',
'Do we have free will, or is everything predetermined?',
'What does it mean to live a good life?',
'Is happiness the ultimate goal, or is there something more important?',
'If no one remembers your actions, do they still matter?',
'Is it possible to be truly selfless?',
'What makes something right or wrong?',
'Is ignorance ever truly bliss?',
"Would you rather know when you'll die or how you'll die?",
'Can something be real if it only exists in your mind?',
'Is it better to be a big fish in a small pond or a small fish in a big pond?',
'Does suffering give life meaning?',
'If you could live forever but everyone you love dies, would you?',
'Is change always good, or is tradition worth preserving?',
"What's more important: the journey or the destination?",
'Can you separate the art from the artist?',
'Is there a difference between being alive and truly living?',
'Would you rather be wise or happy?',
'If a tree falls in a forest and no one hears it, does it make a sound?',
],
icebreaker: [
"What's a skill you'd love to master instantly?",
'If you could have dinner with any three people, dead or alive, who would they be?',
"What's the best advice you've ever received?",
"If you won the lottery tomorrow, what's the first thing you'd do?",
"What's something about you that surprises people?",
"What's your go-to comfort food?",
'If you could teleport anywhere right now, where would you go?',
"What's a movie you can watch over and over without getting tired of it?",
"What's the most adventurous thing you've ever done?",
'If you could swap lives with someone for a day, who would it be?',
"What's a hobby you've always wanted to try but haven't yet?",
"What's your favorite way to spend a weekend?",
'If you could be an expert in any field, what would you choose?',
"What's the weirdest food combination you actually enjoy?",
'If you had a time machine, would you go to the past or the future?',
"What's something small that always makes your day better?",
'If you could only listen to one music genre for the rest of your life, what would it be?',
"What's a talent you have that most people don't know about?",
'If you could invent something, what would it be?',
"What's the best compliment you've ever received?",
],
};
mee6.settings({
channel: {
type: 'channel',
label: 'Question channel',
required: true,
sample: 'general',
},
category: {
type: 'string',
label: 'Question category',
choices: ['gaming', 'philosophy', 'icebreaker'],
default: 'gaming',
},
questions: {
type: 'list',
label: 'Questions',
maxItems: 100,
fields: {
question: { type: 'string', label: 'Question', required: true },
category: {
type: 'string',
label: 'Category',
required: true,
choices: ['gaming', 'philosophy', 'icebreaker'],
default: 'gaming',
},
},
default: Object.entries(QUESTIONS).flatMap(([category, questions]) =>
questions.map((question) => ({ category, question }))
),
},
});
// Track which questions have been asked
async function pickQuestion(
category: string,
questions: { category: string; question: string }[]
): Promise<string | null> {
const asked = await mee6.store.get<number[]>(`asked_${category}`, []);
const pool = questions.filter((row) => row.category === category).map((row) => row.question);
if (!pool.length) return null;
// Reset if all questions have been asked
let available = pool.map((_, i) => i).filter((i) => !asked.includes(i));
if (available.length === 0) {
available = pool.map((_, i) => i);
await mee6.store.set(`asked_${category}`, []);
}
// Pick random from available
const idx = available[Math.floor(Math.random() * available.length)];
await mee6.store.set(`asked_${category}`, [...(await mee6.store.get<number[]>(`asked_${category}`, [])), idx]);
return pool[idx];
}
// Every day at 3pm UTC
mee6.schedule.cron('daily_question', '0 15 * * *');
// The same question, on demand
mee6.command('qotd now', { description: 'Post a question right now' }, async (ctx) => {
const channelId = ctx.settings.channel;
if (!channelId) {
await ctx.reply('Please set the question channel in the dashboard first.');
return;
}
const category = ctx.settings.category;
const question = await pickQuestion(category, ctx.settings.questions);
if (!question) {
await ctx.reply('No questions configured for this category.');
return;
}
const msg = await ctx.send(channelId, {
embed: {
title: `📝 Question of the Day`,
description: question,
color: '#5865F2',
footer: { text: `Category: ${category.charAt(0).toUpperCase() + category.slice(1)}` },
},
});
const thread = await mee6.createThread(msg.channelId, 'Discuss this question', {
messageId: msg.messageId,
});
await ctx.reply({ content: `Posted in <#${channelId}>!`, ephemeral: true });
});
// The scheduled event handler
mee6.on('scheduled', async (ctx) => {
if (ctx.scheduleKey !== 'daily_question') return;
const channelId = ctx.settings.channel;
if (!channelId) {
mee6.log('Question channel not configured');
return;
}
const category = ctx.settings.category;
const question = await pickQuestion(category, ctx.settings.questions);
if (!question) {
mee6.log('No questions configured for this category');
return;
}
const msg = await ctx.send(channelId, {
embed: {
title: `📝 Question of the Day`,
description: question,
color: '#5865F2',
footer: { text: `Category: ${category.charAt(0).toUpperCase() + category.slice(1)}` },
},
});
await mee6.createThread(msg.channelId, 'Discuss this question', {
messageId: msg.messageId,
});
});