const client = require('dapi.js');
let token = 'bot token'
client.login(token) // set bot status to online
client.createMessage({
message: 'something for test',
channelID: 'channel id',
token: token,
embed: { // embed
description: 'description for test',
title: 'title'
}
}); // sending message "something for test"
-
Notifications
You must be signed in to change notification settings - Fork 0
discord api library
License
DeepPG/dapi.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
discord api library
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published