#(risingveng) Errors

30 messages · Page 1 of 1 (latest)

urban ferry
#

I'm not sure how to really fix this error. Any help would be greatly appreciated.

11.09 17:27:03 [Server] [INFO] [ERROR] in script 'bot_connect' in queue 'BOT_CONNECT_1_LobbyCrucial' while executing command 'discordconnect' in file 'scripts/Bot_Main_Handler.dsc' on line '5'! 11.09 17:27:03 [Server] [INFO] Error Message: dDiscordBot used to recommend 'tokenfile' for 'discordconnect', however it is now recommended that you use a SecretTag and the 'secrets.secret' file for the token. ... Enable debug on the script for more information.

patent rampartBOT
#

(risingveng) Errors

patent rampartBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

tribal crystalBOT
# warm fern !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

urban ferry
warm fern
quick ember
#

That will prevent leaking your bot token accidentally

#

If you did that you can return it via <secret[token]> if you placed it in the file in:

token: rijri2jirj12rtj2ot12iot12oith21i

format

urban ferry
#

I put it in the secrets.secret file and uploaded it again, restarted the server and it's still saying the same thing.

quick ember
#

You have to modify the script line

#

In your Bot_Main_Handler.dsc file

#

!c discordconnect

tribal crystalBOT
# quick ember !c discordconnect
Required Plugins or Platforms

dDiscordBot

Group

external

Syntax

discordconnect [id:<id>] [token:<secret>] (intents:<intent>|...)

Short Description

Connects to Discord.

Description

Connects to Discord.

The connection will automatically specify the following gateway intents:
GUILD_MEMBERS, GUILD_EMOJIS_AND_STICKERS, GUILD_MESSAGES, GUILD_MESSAGE_REACTIONS, DIRECT_MESSAGES, DIRECT_MESSAGE_REACTIONS, MESSAGE_CONTENT
Optionally specify additional Gateway Intents to use as a list of any of:
GUILD_BANS, GUILD_WEBHOOKS, GUILD_INVITES, GUILD_VOICE_STATES, GUILD_PRESENCES, GUILD_MESSAGE_TYPING, DIRECT_MESSAGE_TYPING

use "intents:clear|SOME_INTENT|etc" (ie the first entry as "clea...

quick ember
#

Instead of tokenfile:data/bot_token.txt you do: token:<secret[token]>

urban ferry
#

do i put the token in the [token] spot or just copy and paste exactly how you have it there?

quick ember
#

that way

urban ferry
#

I put my token there

quick ember
#

nice, does it work? @urban ferry if so you can close the thread

hot marshBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@urban ferry

urban ferry
#

No it’s still not working. Idk if maybe I did it wrong?

quick ember
#

Wanna post the script again

#

also did you restart your server afterwards?

#

or ran /ex reload

hot marshBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@urban ferry