button says no active player in this guild

if click in any of button that time saying no active player in this guild
No description
6 Replies
d.js toolkit
d.js toolkit3mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
🥀!  𝘕𝘰𝘵𝘎𝘰𝘴𝘵 </>
const { Snake } = require('discord-gamecord');

module.exports = {
name: 'snake',
description: 'start a snake gane',
run: async ( message, args, client) => {
const Game = new Snake({
message: message,
isSlashGame: false,
embed: {
title: 'Snake Game',
overTitle: 'Game Over',
color: 'Blue',
},

emojis: {
board: ':black_large_square:',
food: ':apple:',
up: ':arrow_up:',
down: ':arrow_down:',
left: ':arrow_left:',
right: ':arrow_right:',

},
stopButton: 'stop',
timeoutTime: 60000,
snake: { head: ':green_circle:', body: ':green_square:', tail: ':green_circle:', over: ':skull:' },
food: [':apple:', ':grapes:', ':tangerine:', ':blueberries:', ':kiwi:', ':corn:', ':banana:'],
playerOnlyMessage: 'Only {player} can use these buttons.'
});

Game.startGame()
Game.on('gameOver', result => {
return;
})
}
}
const { Snake } = require('discord-gamecord');

module.exports = {
name: 'snake',
description: 'start a snake gane',
run: async ( message, args, client) => {
const Game = new Snake({
message: message,
isSlashGame: false,
embed: {
title: 'Snake Game',
overTitle: 'Game Over',
color: 'Blue',
},

emojis: {
board: ':black_large_square:',
food: ':apple:',
up: ':arrow_up:',
down: ':arrow_down:',
left: ':arrow_left:',
right: ':arrow_right:',

},
stopButton: 'stop',
timeoutTime: 60000,
snake: { head: ':green_circle:', body: ':green_square:', tail: ':green_circle:', over: ':skull:' },
food: [':apple:', ':grapes:', ':tangerine:', ':blueberries:', ':kiwi:', ':corn:', ':banana:'],
playerOnlyMessage: 'Only {player} can use these buttons.'
});

Game.startGame()
Game.on('gameOver', result => {
return;
})
}
}
this is the code
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
🥀!  𝘕𝘰𝘵𝘎𝘰𝘴𝘵 </>
ooh god :( i think thats not the error when i click in any button thats saying no active player in this guild noo its not with gamecord plz listen when i click in any button its saying no active player in this guild . ooh i see ok np :)
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server