All Projects → mininmobile → discord.bat

mininmobile / discord.bat

Licence: other
🗑️ the BEST discord lib

Programming Languages

Batchfile
5799 projects

Projects that are alternatives of or similar to discord.bat

Dis-Snek
A Python API wrapper for Discord
Stars: ✭ 71 (+86.84%)
Mutual labels:  wrapper, discord-api, api-wrapper
arcscord
A Discord library written in typescript
Stars: ✭ 18 (-52.63%)
Mutual labels:  discordapp, discord-api
PowerSchool-API
A Node.js library for interacting with the PowerSchool SIS API.
Stars: ✭ 21 (-44.74%)
Mutual labels:  wrapper, api-wrapper
dbots.js
A stats poster and API wrapper for all botlists.
Stars: ✭ 18 (-52.63%)
Mutual labels:  wrapper, discordapp
nyxx
Wrapper around Discord API for Dart
Stars: ✭ 217 (+471.05%)
Mutual labels:  discord-api, api-wrapper
opensource-discordbots
Curated list of awesome open-source Discord Bots
Stars: ✭ 19 (-50%)
Mutual labels:  discord-api, discord-net
nanoleaf-aurora
A java wrapper for the Nanoleaf Aurora API
Stars: ✭ 19 (-50%)
Mutual labels:  wrapper, api-wrapper
DPP
C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
Stars: ✭ 560 (+1373.68%)
Mutual labels:  discord-api, api-wrapper
Discord-Rich-Presence-Party-Mode
Discord Rich Presence Tool. Party Mode | Cycle Mode integrated. The first to do it.
Stars: ✭ 18 (-52.63%)
Mutual labels:  discordapp, discord-api
discord-voice
⏲️ A complete framework to facilitate the tracking of user voice time using discord.js
Stars: ✭ 33 (-13.16%)
Mutual labels:  discordapp, discord-api
mass-dm-discord
A MassDM selfbot which is working in 2021. Only for educational purposes 🥱🚀
Stars: ✭ 87 (+128.95%)
Mutual labels:  discordapp, discord-api
HerePy
A library that provides a Python interface to the HERE APIs.
Stars: ✭ 73 (+92.11%)
Mutual labels:  wrapper, api-wrapper
lispcord
A client library for the discordapp bot api
Stars: ✭ 56 (+47.37%)
Mutual labels:  discordapp, discord-api
nextcord
A Python wrapper for the Discord API forked from discord.py
Stars: ✭ 956 (+2415.79%)
Mutual labels:  discord-api, api-wrapper
Volte
A free, robust, open-source Discord bot written in C# 8 using .NET Core 3.1 and a whole lotta Man Hours.
Stars: ✭ 78 (+105.26%)
Mutual labels:  discord-api, discord-net
Clamor
The Python Discord API Framework
Stars: ✭ 14 (-63.16%)
Mutual labels:  wrapper, discord-api
wumpy
Discord API Wrapper - Easy enough for Wumpus, and fast enough for Clyde!
Stars: ✭ 25 (-34.21%)
Mutual labels:  wrapper, discord-api
Karuma
Karuma is a Discord Bot including Nukes, Raids, Mass DM and other features. Only for educational purposes 🥱🚀
Stars: ✭ 132 (+247.37%)
Mutual labels:  discordapp, discord-api
acord
An API wrapper for discord, built using aiohttp and pydantic.
Stars: ✭ 25 (-34.21%)
Mutual labels:  discord-api, api-wrapper
framework
✨ A framework for creating discord bots build with discord.js. Modular | Flexible | Powerful | Development | Interactions
Stars: ✭ 41 (+7.89%)
Mutual labels:  discordapp, discord-api

discord.bat

the BEST discord lib


Examples

Config/config.bat

:: Bot Config
set bot.token=token_here
set bot.id=123456789012345678
set bot.prefix=$
set bot.playing=Hello World!

:: Event Config
set events.message.notification=1

Currently bot.playing and bot.id aren't used for anything, however, they are considered global variables.

Config/commands.bat

if %1 neq "" call:%~1
goto exit

:help
call s.bat dmAuthor "Commands: $help, $ping, $info"
goto:eof

:ping
call s.bat sendMessage "Pong"
goto:eof

:info
call s.bat sendMessage "Made using `discord.bat` (Yes, it's real)"
goto:eof

:exit

Do NOT modify the first 2 or last line.

How?

The way discord.bat works is you "code" in batch and it connects in discord.net, when it recieves a message/evemt it sends it to eventManager.bat with 2 arguments, the type of event and info about the event, so a message event would be eventManager.bat message "$ping" then it sends the event info into the message event function which checks for the prefix, then if it finds the prefix, removes it and sends it forward to commands.bat which you code in the Config folder and has all the code that you'll be writing. It just calls the function blindly like call:ping which (if you have it written in) calls the ping function, in the function, you have call s.bat sendMessage "Pong!" which calls the sendMessage function in the s.bat file, and it writes an interaction command into update.dat, so basically, it just makes the file and adds sendPong to it, while in the .net script, it waits 100ms for the file to exist and checks if it exists, if it does it checks what the command is, so, because we made it say sendPong it will remove the send as it knows that it will be sending the other characters and sends Pong to the same channel as the original message.

Links

Get references and tutorials from our wiki.

Start making a bot in discord.bat with the tutorial.

Talk with us and get help with making your own bot in discord.bat in our Discord (dead link) server.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].