Skip to content

BlissSc/GDPSDiscordBotJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GDPSDiscordBotJS

Basic discord bot for GDPS (Cvolton)

After installing bot. (IMPORTANT)

  • In your GMDprivateServer-master or database, go to config > discord.php

Edit:

<?php
$discordEnabled = 1;
$secret = "CLIENT SECRET";
$bottoken = "BOT TOKEN";
?>
  • In tools/bot/discordLinkReq.php edit the $query = $db->prepare("INSERT INTO messages")
$query = $db->prepare("INSERT INTO messages (subject, body, accID, userID, userName, toAccountID, secret, timestamp)
VALUES ('CLIENT SECRET FROM BOT', :body, ACCOUNTID, USERID, 'YOUR_BOT_ACCOUNT (CREATE ONE IF YOU DONT HAVE)', :toAccountID, 'Automatic Message', :uploadDate)");

THANKS!

About

Basic discord bot for GDPS (cvolton)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published