DiscordBot w/ DB Integration

08/12/2019 16:39 Devsome#16
Quote:
Originally Posted by esteve458 View Post
error

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
Check your token in the config.json
08/12/2019 16:41 XxGhostSpiriTxX#17
Quote:
Originally Posted by Devsome View Post
Check your token in the config.json
the token is correct I check it many times before posting
08/12/2019 16:44 Devsome#18
Quote:
Originally Posted by esteve458 View Post
the token is correct I check it many times before posting
Try to put it in quotation marks
08/12/2019 16:47 XxGhostSpiriTxX#19
Quote:
Originally Posted by Devsome View Post
Try to put it in quotation marks

is in quotes

[Only registered and activated users can see links. Click Here To Register...]
08/12/2019 17:12 NorseGodTyr#20
Work fine thx scripting the procedure for global and unique and last sox drop log next step is auto event :D
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
08/13/2019 01:10 ILowe#21
How do closed stream mode?

only privately discarded messages come from MessageLog.

messages thrown from the channel do not receive MessageLog. :(
08/13/2019 08:17 Devsome#22
Doing every 500ms two sql queries. Not the best Idea.
08/13/2019 09:03 zuleidy1201#23
Video Tutorial please
08/13/2019 09:23 AceSpace#24
Quote:
Originally Posted by Devsome View Post
Doing every 500ms two sql queries. Not the best Idea.
You can change "handlerInterval" in config.json to whatever you like. I personally had set it as 500 ms for testing purpose

Quote:
Originally Posted by ILowe View Post
How do closed stream mode?

only privately discarded messages come from MessageLog.

messages thrown from the channel do not receive MessageLog. :(
Change "enableActivity" in config.json to "false"

For messages issue, please put the right server name in config.json

Quote:
Originally Posted by esteve458 View Post
is in quotes

[Only registered and activated users can see links. Click Here To Register...]
Make sure you are using the Token not Client Secret
08/14/2019 06:50 ILowe#25
Quote:
Originally Posted by AceSpace View Post
Change "enableActivity" in config.json to "false"

For messages issue, please put the right server name in config.json
PHP Code:
{
    
"activity""Ace",
    
"token""XXXX",
    
"server""DEV",
    
"enableRoleAssign"false,
    
"role""Member",
    
"handlerInterval"500,
    
"sqlConfig": {
        
"server""192.168.1.5",
        
"user""sa",
        
"password""123456",
        
"database""DiscordBot"
    
}



enableActivity dont have :(
08/14/2019 13:39 AceSpace#26
Quote:
Originally Posted by ILowe View Post
PHP Code:
{
    
"activity""Ace",
    
"token""XXXX",
    
"server""DEV",
    
"enableRoleAssign"false,
    
"role""Member",
    
"handlerInterval"500,
    
"sqlConfig": {
        
"server""192.168.1.5",
        
"user""sa",
        
"password""123456",
        
"database""DiscordBot"
    
}



enableActivity dont have :(
in bot.js, delete the following code (you will find it under 'client.on('ready', () -> {' :
Code:
client.user.setPresence({
            game: {
                name: config.activity,
                type: "STREAMING",
                url: "https://www.twitch.tv/directory/game/Silkroad%20Online"
            }
        })
08/14/2019 22:21 ILowe#27
Quote:
Originally Posted by AceSpace View Post
in bot.js, delete the following code (you will find it under 'client.on('ready', () -> {' :
Code:
client.user.setPresence({
            game: {
                name: config.activity,
                type: "STREAMING",
                url: "https://www.twitch.tv/directory/game/Silkroad%20Online"
            }
        })
thank you.

only privately discarded messages come from MessageLog.
messages thrown from the channel do not receive MessageLog.
09/13/2019 03:28 Raymond*#28
thanks for sharing it bro.
11/14/2019 14:18 mtm567#29
hello not working with sql 2014 any solution?

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
11/14/2019 18:07 @Grayson#30
nice work