GMDprivateServer icon indicating copy to clipboard operation
GMDprivateServer copied to clipboard

How to setup a bot using discord.php

Open CattoDev opened this issue 5 years ago • 9 comments

Hey i was wondering how to setup a bot for my GDPS and what can it do?

CattoDev avatar Nov 19 '19 11:11 CattoDev

Bot in this emulator can link your gdps account with discord account. You can understand what discord.php need by variables names

bit0r1n avatar Nov 19 '19 11:11 bit0r1n

Bot in this emulator can link your gdps account with discord account. You can understand what discord.php need by variables names

https://imgur.com/di2YYF7 Ok so I basically change the "$discordEnabled = 0" to "$discordEnabled = 1" but can you tell me how do i code the discord bot like is there any other package i need to install?

CattoDev avatar Nov 21 '19 11:11 CattoDev

is there any other package i need to install?

There are already coded bots like UltimateGDBot that are open source and have instructions, so you don't need to code your own.

TaromaruYuki avatar Nov 21 '19 11:11 TaromaruYuki

you no need to install any packages, simple(or example) methods are located in ~/incl/lib/mainLib.php (getDiscordAcc, sendDiscordPM)

bit0r1n avatar Nov 21 '19 11:11 bit0r1n

@Cvolton is discord code works now? If yes, can you provide "How To" to wiki?

EMREOYUN avatar Jan 05 '20 19:01 EMREOYUN

it was always in a semi-functional state, it's meant to be used in conjunction with this https://github.com/Cvolton/pythonCvoltonBot (or a custom bot implementation)

Cvolton avatar Jan 07 '20 00:01 Cvolton

it was always in a semi-functional state, it's meant to be used in conjunction with this https://github.com/Cvolton/pythonCvoltonBot (or a custom bot implementation)

Still we need a wiki or "How to Do" to setup properly.

EMREOYUN avatar Jan 07 '20 06:01 EMREOYUN

it was always in a semi-functional state, it's meant to be used in conjunction with this https://github.com/Cvolton/pythonCvoltonBot (or a custom bot implementation)

@Cvolton I cannot run it on heroku

RxNationGaming avatar Jun 04 '21 15:06 RxNationGaming

it was always in a semi-functional state, it's meant to be used in conjunction with this https://github.com/Cvolton/pythonCvoltonBot (or a custom bot implementation)

@Cvolton I cannot run it on heroku

you problaby runned it wrong lol (idk how to host that bot on heroku i just know you prob runned it wrong)

a-newusername avatar Jul 26 '21 01:07 a-newusername