samp.directory
← Scripts and libraries

bracesoftware/dppcord

:mouse: ¤ DPPcord is a library providing API you can develop Discord bots with.

Library★ 3updated Jul 2023No licencePawnArchived
Open on GitHub

The author has archived this repository, so it is no longer maintained.

This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

readme.md

Welcome to the DPPcord Wiki

D++ library for making Discord bots



How to start?


API: dppcord

  • Provides tools for Discord bot development.

Import the API using:

using.dppcord;

Form: discord_bot_send_message

  • Equivalent to DCC_SendChannelMessage in Pawn.
dppcord.discord_bot_send_message(1234567890,"Message");

Automated user form: discord_init

  • Called when the Discord bot loads.
using.dppcord;

extern&struct*public.discord_init;
{;
	dppcord.discord_bot_send_message(1234567890,"Message");
	return.int,1;
};

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

bracesoftware/dppcord: SA-MP Library | samp.directory