All Projects → lispcord → lispcord

lispcord / lispcord

Licence: other
A client library for the discordapp bot api

Programming Languages

common lisp
692 projects

Projects that are alternatives of or similar to lispcord

Luki
[Deprecated] The official repository for Luki the Discord bot
Stars: ✭ 21 (-62.5%)
Mutual labels:  discordapp, discord-api, discord-app
LenoxBot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 218 (+289.29%)
Mutual labels:  discordapp, discord-api
discord-voice
⏲️ A complete framework to facilitate the tracking of user voice time using discord.js
Stars: ✭ 33 (-41.07%)
Mutual labels:  discordapp, discord-api
Discord-Selfbot
Discord.js selfbot
Stars: ✭ 24 (-57.14%)
Mutual labels:  discordapp, discord-api
arcscord
A Discord library written in typescript
Stars: ✭ 18 (-67.86%)
Mutual labels:  discordapp, discord-api
Discord-Rich-Presence-Party-Mode
Discord Rich Presence Tool. Party Mode | Cycle Mode integrated. The first to do it.
Stars: ✭ 18 (-67.86%)
Mutual labels:  discordapp, discord-api
discord.bat
🗑️ the BEST discord lib
Stars: ✭ 38 (-32.14%)
Mutual labels:  discordapp, discord-api
framework
✨ A framework for creating discord bots build with discord.js. Modular | Flexible | Powerful | Development | Interactions
Stars: ✭ 41 (-26.79%)
Mutual labels:  discordapp, discord-api
Deadcord
💀 The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client. https://t.me/deadcordofficial
Stars: ✭ 144 (+157.14%)
Mutual labels:  discordapp, discord-api
Rubicon
Dead yo!
Stars: ✭ 14 (-75%)
Mutual labels:  discordapp, discord-api
Discord.js-V12-Bot-Tutorial
An Discord bot build in Discord.js V12. Features :- Anime, Chatbot, Fun, Info, Moderation, Music, Developer commands and many more coming soon.
Stars: ✭ 46 (-17.86%)
Mutual labels:  discordapp, discord-api
Karuma
Karuma is a Discord Bot including Nukes, Raids, Mass DM and other features. Only for educational purposes 🥱🚀
Stars: ✭ 132 (+135.71%)
Mutual labels:  discordapp, discord-api
mass-dm-discord
A MassDM selfbot which is working in 2021. Only for educational purposes 🥱🚀
Stars: ✭ 87 (+55.36%)
Mutual labels:  discordapp, discord-api
Discord-Reposter
Bot for reposting Discord messages (work in progress)
Stars: ✭ 62 (+10.71%)
Mutual labels:  discordapp, discord-api
Discord Api Docs
Official Discord API Documentation
Stars: ✭ 3,855 (+6783.93%)
Mutual labels:  discordapp, discord-api
Aometry
An awesome multipurpose discord bot build using discord.js v13 with support for slash commands and context menus
Stars: ✭ 51 (-8.93%)
Mutual labels:  discordapp, discord-api
disml
Pure OCaml bindings to the Discord API. Mirror of Gitlab repo.
Stars: ✭ 36 (-35.71%)
Mutual labels:  discord-api
discord-account-generator
An hcaptcha-solving discord account generator; capable of generating unlocked discord accounts.
Stars: ✭ 61 (+8.93%)
Mutual labels:  discord-api
library
🐍 A Python library for Discord.
Stars: ✭ 648 (+1057.14%)
Mutual labels:  discord-api
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 (+39.29%)
Mutual labels:  discord-api

Lispcord -- A wrapper for the DiscordApp WEB-API

Lispcord aims to make it freakishly easy to build bots for Discord.

The examples folder contains some more ideas on how to get started :)

NOTE: this is not even an alpha quality software

A lot of the api is changing rapidly, use at own risk!

NOTE: recently we axed the Pipe system

Please re-adjust your bots to use the new API going forwards. As it turned out, the pipes worked well for small bots but had the penchant to bloat in complexity rather quickly, and weren't particularly fast :D

Ping bot

This assumes that :lispcord has been loaded in your image. If not, try running

(ql:quickload :lispcord)

after cloning the repo to your ~/common-lisp or ~/quicklisp/local-projects folder.

(defpackage :ping-bot
  (:use :cl :lispcord))
(in-package :ping-bot)

(setf (v:repl-level) :info)

(defbot *ping-bot* "<Your Token Here>")
(connect *ping-bot*) ; Yes, you can register handlers after connect

(add-event-handler :on-message-create
  (lambda (msg) (if (string= (lc:content msg) "ping!") (reply msg "pong!"))))

Unlike many other libraries, lispcord is capable of running an arbitrary amount of client-instances at the same time.
Every (non-cache related) function takes an optional "bot" parameter, either via keyword or as an anonymous optional, with which you can specify what instance should execute the action.

For convenience, however, lispcord also defines a dynamic *CLIENT* which gets automatically bound to the last instance defined via DEFBOT. This allows you to:

  • drop having to specifiy the bot for 1-instance scripts
  • use LET to override the global, and create local 1-instance spaces
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].