Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord bot error V7.02 #763

Closed
Veno2uw opened this issue Aug 2, 2023 · 4 comments
Closed

Discord bot error V7.02 #763

Veno2uw opened this issue Aug 2, 2023 · 4 comments
Labels

Comments

@Veno2uw
Copy link

Veno2uw commented Aug 2, 2023

Describe the issue

A clear and concise description of what the issue is.
says
[ script:EasyAdmin] Logged in as EasyAdmin#1547!
[ script:EasyAdmin] Error: Failed to log message, please make sure you gave the bot permission to write in the log channel!
[ script:EasyAdmin]
[ script:EasyAdmin]
[ script:EasyAdmin] Error: DiscordAPIError[50001]: Missing Access
[ script:EasyAdmin] at SequentialHandler.runRequest (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/@discordjs/rest/dist/index.js:933:15)
[ script:EasyAdmin] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[ script:EasyAdmin] at async SequentialHandler.queueRequest (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/@discordjs/rest/dist/index.js:712:14)
[ script:EasyAdmin] at async REST.request (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/@discordjs/rest/dist/index.js:1321:22)
[ script:EasyAdmin] at async TextChannel.send (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:162:15)
[ script:EasyAdmin] Error: Failed to configure server status channel, please make sure you gave the bot permission to write in the channel!
[ script:EasyAdmin]
[ script:EasyAdmin]
[ script:EasyAdmin] Error: DiscordAPIError[50001]: Missing Access
[ script:EasyAdmin] at SequentialHandler.runRequest (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/@discordjs/rest/dist/index.js:933:15)
[ script:EasyAdmin] at processTicksAndRejections (node:internal/process/task_queues:96:5)
[ script:EasyAdmin] at async SequentialHandler.queueRequest (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/@discordjs/rest/dist/index.js:712:14)
[ script:EasyAdmin] at async REST.request (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/@discordjs/rest/dist/index.js:1321:22)
[ script:EasyAdmin] at async GuildMessageManager._fetchMany (/home/zap1096890/g573678/gta5-fivem-txadmin/ESXLegacy_BA643D.base/resources/EasyAdmin/node_modules/discord.js/src/managers/MessageManager.js:108:18)
[ script:EasyAdmin] at async updateServerStatus (@EasyAdmin/server/bot/server_status.js:98:18)
[ script:EasyAdmin] Caught exception: TypeError: Cannot read properties of undefined (reading 'values')
[ script:EasyAdmin] at updateServerStatus (@EasyAdmin/server/bot/server_status.js:103:32)
[ script:EasyAdmin] at processTicksAndRejections (node:internal/process/task_queues:96:5)

Attempted Solutions

Describe what you have done to attempt to fix it.
updated EasyAdmin to 7.02

Screenshots/Logs

If applicable, attach screenshots or log files here to help explain your problem.
no

Server Infos (please complete the following information):

  • OS: [e.g. Windows Server 2019, Debian 10..] Zap Hosting txAdmin server
  • FXServer Version [e.g. 5123] 6594
  • EasyAdmin Version 7.02

Additional context

Add any other context about the problem here.
nah

@Veno2uw Veno2uw added the support label Aug 2, 2023
@Blumlaut
Copy link
Owner

Blumlaut commented Aug 2, 2023

read the error easyadmin gives you..

Error: Failed to log message, please make sure you gave the bot permission to write in the log channel!
Error: DiscordAPIError[50001]: Missing Access

@Veno2uw
Copy link
Author

Veno2uw commented Aug 2, 2023

read the error easyadmin gives you..

Error: Failed to log message, please make sure you gave the bot permission to write in the log channel!
Error: DiscordAPIError[50001]: Missing Access

so do i check perms in the channel

@13LuckyBack
Copy link

Error: Failed to log message, please make sure you gave the bot permission to write in the log channel!
Error: Failed to configure server status channel, please make sure you gave the bot permission to write in the channel!

Those two lines
I think thay explain it self.

@Blumlaut
Copy link
Owner

Blumlaut commented Aug 2, 2023

do you? read the error, it tells you exactly what to do, I won't spoonfeed you a step by step because it's obvious.

@Blumlaut Blumlaut closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants