Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
248d55b428
@ -42,14 +42,14 @@ module.exports = {
|
||||
const channel = client.channels.cache.get(interaction.channel.id);
|
||||
channel.send({ content: 'Select a story', components: [row], fetchMessage: true });
|
||||
client.on(Events.InteractionCreate, interaction => {
|
||||
interaction.deferUpdate();
|
||||
//interaction.deferUpdate();
|
||||
if (!interaction.isStringSelectMenu()) return;
|
||||
selectedStory = interaction.values[0];
|
||||
console.log("User selected: " +selectedStory);
|
||||
initGame(interaction.channel.id, client, interaction, selectedStory);
|
||||
//storySelectMessage.delete();
|
||||
console.log(interaction);
|
||||
interaction.channel.send("Started game!");
|
||||
//console.log(interaction);
|
||||
//interaction.channel.send("Started game!");
|
||||
//interaction.deleteReply();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user