The lispcord Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The lispcord Reference Manual

This is the lispcord Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Wed Mar 25 18:37:10 2020 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

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:


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 lispcord

Maintainer

spreadLink

Author

MegaLoler, spreadLink

License

MIT

Description

A client library for the discordapp bot api

Dependencies
Source

lispcord.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 lispcord/src

Parent

lispcord (system)

Location

src/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.2 lispcord/src/classes

Dependency

util.lisp (file)

Parent

src (module)

Location

src/classes/

Components

Previous: , Up: Modules   [Contents][Index]

3.3 lispcord/src/http

Dependency

pipes.lisp (file)

Parent

src (module)

Location

src/http/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 lispcord.asd

Location

lispcord.asd

Systems

lispcord (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 lispcord/src/util.lisp

Parent

src (module)

Location

src/util.lisp

Packages

lispcord.util

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 lispcord/src/classes/package.lisp

Parent

classes (module)

Location

src/classes/package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 lispcord/src/classes/core.lisp

Dependency

package.lisp (file)

Parent

classes (module)

Location

src/classes/core.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 lispcord/src/classes/permissions.lisp

Dependency

core.lisp (file)

Parent

classes (module)

Location

src/classes/permissions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 lispcord/src/classes/cache.lisp

Dependency

permissions.lisp (file)

Parent

classes (module)

Location

src/classes/cache.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 lispcord/src/classes/emoji.lisp

Dependency

cache.lisp (file)

Parent

classes (module)

Location

src/classes/emoji.lisp

Exported Definitions
Internal Definitions

update (method)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 lispcord/src/classes/user.lisp

Dependency

emoji.lisp (file)

Parent

classes (module)

Location

src/classes/user.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 lispcord/src/classes/integration.lisp

Dependency

user.lisp (file)

Parent

classes (module)

Location

src/classes/integration.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 lispcord/src/classes/channel.lisp

Dependency

integration.lisp (file)

Parent

classes (module)

Location

src/classes/channel.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 lispcord/src/classes/guild.lisp

Dependency

channel.lisp (file)

Parent

classes (module)

Location

src/classes/guild.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 lispcord/src/classes/embed.lisp

Dependency

guild.lisp (file)

Parent

classes (module)

Location

src/classes/embed.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 lispcord/src/classes/message.lisp

Dependency

embed.lisp (file)

Parent

classes (module)

Location

src/classes/message.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.14 lispcord/src/package.lisp

Dependency

classes (module)

Parent

src (module)

Location

src/package.lisp

Packages

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.15 lispcord/src/ratelimits.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/ratelimits.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.16 lispcord/src/constants.lisp

Dependency

ratelimits.lisp (file)

Parent

src (module)

Location

src/constants.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.17 lispcord/src/core.lisp

Dependency

constants.lisp (file)

Parent

src (module)

Location

src/core.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.18 lispcord/src/pipes.lisp

Dependency

core.lisp (file)

Parent

src (module)

Location

src/pipes.lisp

Exported Definitions
Internal Definitions

function-designator (type)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.19 lispcord/src/http/core.lisp

Parent

http (module)

Location

src/http/core.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.20 lispcord/src/http/channel.lisp

Dependency

core.lisp (file)

Parent

http (module)

Location

src/http/channel.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.21 lispcord/src/http/emoji.lisp

Dependency

channel.lisp (file)

Parent

http (module)

Location

src/http/emoji.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.22 lispcord/src/http/guild.lisp

Dependency

emoji.lisp (file)

Parent

http (module)

Location

src/http/guild.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.23 lispcord/src/http/user.lisp

Dependency

guild.lisp (file)

Parent

http (module)

Location

src/http/user.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.24 lispcord/src/gateway.lisp

Dependency

http (module)

Parent

src (module)

Location

src/gateway.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.25 lispcord/src/lispcord.lisp

Dependency

gateway.lisp (file)

Parent

src (module)

Location

src/lispcord.lisp

Exported Definitions
Internal Definitions

*cmd-prefix-table* (special variable)


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 lispcord.util

Source

util.lisp (file)

Use List
Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 lispcord.classes.pub

Source

package.lisp (file)

Nickname

lc

Use List

lispcord.classes


Next: , Previous: , Up: Packages   [Contents][Index]

5.3 lispcord.classes

Source

package.lisp (file)

Use List
Used By List

lispcord.classes.pub

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.4 lispcord.http

Source

package.lisp (file)

Use List
Used By List

lispcord

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.5 lispcord.gateway

Source

package.lisp (file)

Use List
Used By List

lispcord

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.6 lispcord.core

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.7 lispcord.constants

Source

package.lisp (file)

Use List
Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.8 lispcord

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

*cmd-prefix-table* (special variable)


Next: , Previous: , Up: Packages   [Contents][Index]

5.9 lispcord.pipes

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

function-designator (type)


Previous: , Up: Packages   [Contents][Index]

5.10 lispcord.ratelimits

Source

package.lisp (file)

Use List
Used By List

lispcord.core

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *client*

This is an empty dummy var to allow for implicits. It may be set by make-bot!

Package

lispcord.core

Source

core.lisp (file)

Special Variable: *unix-epoch*

Seconds since until 1970

Package

lispcord.util

Source

util.lisp (file)

Special Variable: +api-suffix+

The api suffix. See +BASE-URL+ on why this is a constant

Package

lispcord.constants

Source

constants.lisp (file)

Special Variable: +base-url+

The api path the library targets.
This is made constant because the library implementation won’t be able to adjust to the various apis anyways

Package

lispcord.constants

Source

constants.lisp (file)

Special Variable: +gw-rate-limit+

The gateway gives no warning whatsoever about ratelimit violations. Instead, we have to track the amount of calls manually

Package

lispcord.constants

Source

constants.lisp (file)

Special Variable: +gw-rate-limit-connection+

Discord also limits the connections/second

Package

lispcord.constants

Source

constants.lisp (file)

Special Variable: +gw-rate-limit-game-status+

As well as the game status updates/minute

Package

lispcord.constants

Source

constants.lisp (file)

Special Variable: +lib+

This library

Package

lispcord.constants

Source

constants.lisp (file)

Special Variable: +os+

The Operating system the library was compiled on

Package

lispcord.constants

Source

constants.lisp (file)

Special Variable: optimal-id-compare
Package

lispcord.util

Source

util.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: defbot SYMBOL TOKEN &key PREFIX BOT VERSION
Package

lispcord

Source

lispcord.lisp (file)

Macro: doit &rest FORMS
Package

lispcord.util

Source

util.lisp (file)

Macro: instance-from-table (TABLE CLASS) &body PAIRS
Package

lispcord.util

Source

util.lisp (file)

Macro: mapf LIST ARGS &body BODY
Package

lispcord.util

Source

util.lisp (file)

Macro: recur NAME &rest ARGS
Package

lispcord.util

Source

util.lisp (file)

Macro: with-table (TABLE &rest PAIRS) &body BODY
Package

lispcord.util

Source

util.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: add-event-handler EVENT-KEY EVENT-HANDLER &optional BOT
Package

lispcord.pipes

Source

pipes.lisp (file)

Function: ban USER GUILD &optional DELETE BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: bot-afk-since INSTANCE
Function: (setf bot-afk-since) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-auth BOT
Package

lispcord.core

Source

core.lisp (file)

Function: bot-auth-as-bot INSTANCE
Function: (setf bot-auth-as-bot) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-conn INSTANCE
Function: (setf bot-conn) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-event-handlers INSTANCE
Function: (setf bot-event-handlers) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-heartbeat-ack INSTANCE
Function: (setf bot-heartbeat-ack) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-heartbeat-thread INSTANCE
Function: (setf bot-heartbeat-thread) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-running INSTANCE
Function: (setf bot-running) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-seq INSTANCE
Function: (setf bot-seq) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-session-id INSTANCE
Function: (setf bot-session-id) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-token INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-url URL
Package

lispcord.core

Source

core.lisp (file)

Function: bot-user INSTANCE
Function: (setf bot-user) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: bot-version INSTANCE
Function: (setf bot-version) VALUE INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: cache KEY TABLE
Package

lispcord.classes

Source

cache.lisp (file)

Function: cache-update ID KEY TABLE
Package

lispcord.classes

Source

cache.lisp (file)

Function: commandp MSG &optional BOT
Package

lispcord

Source

lispcord.lisp (file)

Function: connect BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: decache-id ID KEY
Package

lispcord.classes

Source

cache.lisp (file)

Function: demention STRING &aux LEN

Parse a mentionable from the string and convert it to a mentionable object

Package

lispcord

Source

lispcord.lisp (file)

Function: disconnect BOT &optional REASON CODE
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: dispatch-event EVENT-KEY ARGS &optional BOT
Package

lispcord.pipes

Source

pipes.lisp (file)

Function: erase-emoji EMOJI GUILD &optional BOT
Package

lispcord.http

Source

emoji.lisp (file)

Function: erase-messages ARRAY-OF-IDS CHANNEL &optional BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: erase-overwrite OVERWRITE CHANNEL &optional BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: erase-reaction EMOJI MESSAGE &optional USER BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: erase-role ROLE MEMBER &optional BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: get-bans GUILD &optional BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: get-channels GUILD &optional BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: get-emojis GUILD &optional BOT
Package

lispcord.http

Source

emoji.lisp (file)

Function: get-members GUILD &key LIMIT AFTER BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: get-messages CHANNEL &key AROUND BEFORE AFTER LIMIT BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: get-pinned CHANNEL &optional BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: get-roles GUILD &optional BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: get-rq ENDPOINT &optional BOT
Package

lispcord.core

Source

core.lisp (file)

Function: getcache-id ID KEY
Package

lispcord.classes

Source

cache.lisp (file)

Function: jmake ALIST
Package

lispcord.util

Source

util.lisp (file)

Function: jparse PAYLOAD
Package

lispcord.util

Source

util.lisp (file)

Function: leave GUILD &optional BOT
Package

lispcord.http

Source

user.lisp (file)

Function: make-bot TOKEN &key VERSION BOT
Package

lispcord

Source

lispcord.lisp (file)

Function: make-channel &key NAME POSITION TOPIC NSFW BITRATE USER-LIMIT OVERWRITES PARENT-ID TYPE
Package

lispcord.classes

Source

channel.lisp (file)

Function: make-embed &key TITLE TYPE DESCRIPTION URL TIMESTAMP COLOR FOOTER IMAGE THUMBNAIL VIDEO PROVIDER AUTHOR FIELDS
Package

lispcord.classes

Source

embed.lisp (file)

Function: make-embed-generic &key URL
Package

lispcord.classes

Source

embed.lisp (file)

Function: make-emoji NAME IMAGE &optional ROLES
Package

lispcord.classes

Source

emoji.lisp (file)

Function: make-event-table ()

Returns a fresh empty hash-table

Package

lispcord.pipes

Source

pipes.lisp (file)

Function: make-game GAME-NAME &optional TYPE URL
Package

lispcord.classes

Source

user.lisp (file)

Function: make-message CONTENT &key TTS FILE EMBED
Package

lispcord.classes

Source

message.lisp (file)

Function: make-nonce ()
Package

lispcord.util

Source

util.lisp (file)

Function: make-prefix CHARACTER &rest GUILDS
Package

lispcord

Source

lispcord.lisp (file)

Function: mapvec CONVERSION-FUN SEQ
Package

lispcord.util

Source

util.lisp (file)

Function: me &optional BOT
Package

lispcord

Source

lispcord.lisp (file)

Function: mention MENTIONABLE

Convert a mentionable object to the format used in Discord messages

Package

lispcord

Source

lispcord.lisp (file)

Function: move-member MEMBER CHANNEL &optional BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: parse-snowflake SNOWFLAKE-STRING

Parses a snowflake string to fixnum or returns nil if snowflake is invalid.

Package

lispcord.util

Source

util.lisp (file)

Function: pin MESSAGE &optional BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: post-rq ENDPOINT &optional BOT CONTENT
Package

lispcord.core

Source

core.lisp (file)

Function: primitive-make-bot &key (TOKEN TOKEN) (USER USER) (VERSION VERSION) (SEQ SEQ) (SESSION-ID SESSION-ID) (AFK-SINCE AFK-SINCE) (EVENT-HANDLERS EVENT-HANDLERS) (CONN CONN) (RUNNING RUNNING) (HEARTBEAT-ACK HEARTBEAT-ACK) (AUTH-AS-BOT AUTH-AS-BOT) (HEARTBEAT-THREAD HEARTBEAT-THREAD)
Package

lispcord.core

Source

core.lisp (file)

Function: remove-mention USER MSG
Package

lispcord

Source

lispcord.lisp (file)

Function: remove-substring STRING MSG
Package

lispcord

Source

lispcord.lisp (file)

Function: reply MSG CONTENT &optional BOT
Package

lispcord

Source

lispcord.lisp (file)

Function: rl-buffer ENDPOINT

Checks if the requested endpoint is hitting a ratelimit, and waits if so

Package

lispcord.ratelimits

Source

ratelimits.lisp (file)

Function: rl-parse FINAL HEADERS
Package

lispcord.ratelimits

Source

ratelimits.lisp (file)

Function: sanitize-content CONTENT
Package

lispcord

Source

lispcord.lisp (file)

Function: set-nick NICK GUILD &optional BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: sethash KEY HASH VAL
Package

lispcord.util

Source

util.lisp (file)

Function: since-unix-epoch ()
Package

lispcord.util

Source

util.lisp (file)

Function: start-typing CHANNEL &optional BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: str-concat &rest STRINGS
Package

lispcord.util

Source

util.lisp (file)

Function: to-string OBJ
Package

lispcord.util

Source

util.lisp (file)

Function: unban USER GUILD &optional BOT
Package

lispcord.http

Source

guild.lisp (file)

Function: unpin MESSAGE &optional BOT
Package

lispcord.http

Source

channel.lisp (file)

Function: vec-extend OBJ VEC
Package

lispcord.util

Source

util.lisp (file)

Function: vecrem PREDICATE SEQ
Package

lispcord.util

Source

util.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: account OBJECT
Generic Function: (setf account) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: account (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf account) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Generic Function: afk-id OBJECT
Generic Function: (setf afk-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: afk-id (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf afk-id) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: afk-to OBJECT
Generic Function: (setf afk-to) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: afk-to (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf afk-to) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: allow OBJECT
Generic Function: (setf allow) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: allow (OVERWRITE overwrite)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf allow) NEW-VALUE (OVERWRITE overwrite)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: animatedp OBJECT
Generic Function: (setf animatedp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: animatedp (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf animatedp) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: app-id OBJECT
Generic Function: (setf app-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: app-id (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf app-id) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: attachements OBJECT
Generic Function: (setf attachements) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: attachements (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf attachements) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: author OBJECT
Generic Function: (setf author) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: author (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf author) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Method: author (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf author) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: availablep OBJECT
Generic Function: (setf availablep) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: availablep (GUILD guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf availablep) NEW-VALUE (GUILD guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: avatar OBJECT
Generic Function: (setf avatar) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: avatar (WEBHOOK webhook)

automatically generated reader method

Source

user.lisp (file)

Method: (setf avatar) NEW-VALUE (WEBHOOK webhook)

automatically generated writer method

Source

user.lisp (file)

Method: avatar (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf avatar) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: bitrate OBJECT
Generic Function: (setf bitrate) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: bitrate (VOICE-CHANNEL voice-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf bitrate) NEW-VALUE (VOICE-CHANNEL voice-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: bitrate (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf bitrate) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: botp OBJECT
Generic Function: (setf botp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: botp (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf botp) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: channel OBJECT

Returns the cached channel object corresponding to the channel-id of object

Package

lispcord.classes

Source

core.lisp (file)

Methods
Method: channel (M message)
Source

message.lisp (file)

Generic Function: channel-id OBJECT
Generic Function: (setf channel-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: channel-id (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf channel-id) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: channels OBJECT
Generic Function: (setf channels) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: channels (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf channels) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Method: channels (CAT category)
Source

channel.lisp (file)

Method: channels (READY ready)

automatically generated reader method

Source

user.lisp (file)

Method: (setf channels) NEW-VALUE (READY ready)

automatically generated writer method

Source

user.lisp (file)

Generic Function: colonsp OBJECT
Generic Function: (setf colonsp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: colonsp (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf colonsp) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: color OBJECT
Generic Function: (setf color) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: color (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf color) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Method: color (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf color) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: color (PARTIAL-ROLE partial-role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf color) NEW-VALUE (PARTIAL-ROLE partial-role)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: content OBJECT
Generic Function: (setf content) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: content (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf content) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Method: content (PARTIAL-MESSAGE partial-message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf content) NEW-VALUE (PARTIAL-MESSAGE partial-message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: content-filter OBJECT
Generic Function: (setf content-filter) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: content-filter (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf content-filter) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: create CONTENT DESTINATION &optional BOT

Sends a POST-request to create the given object.

Package

lispcord.http

Source

core.lisp (file)

Methods
Method: create (S partial-message) (U user) &optional BOT
Source

user.lisp (file)

Method: create (S string) (U user) &optional BOT
Source

user.lisp (file)

Method: create (R partial-role) (G guild) &optional BOT
Source

guild.lisp (file)

Method: create (R role) (M member) &optional BOT
Source

guild.lisp (file)

Method: create (C partial-channel) (G guild) &optional BOT
Source

guild.lisp (file)

Method: create (E partial-emoji) (G guild) &optional BOT
Source

emoji.lisp (file)

Method: create (E emoji) (M message) &optional BOT
Source

channel.lisp (file)

Method: create (C character) (M message) &optional BOT
Source

channel.lisp (file)

Method: create (S string) (C channel) &optional BOT
Source

channel.lisp (file)

Method: create (M partial-message) (C channel) &optional BOT
Source

channel.lisp (file)

Generic Function: deafp OBJECT
Generic Function: (setf deafp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: deafp (MEMBER member)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf deafp) NEW-VALUE (MEMBER member)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: deny OBJECT
Generic Function: (setf deny) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: deny (OVERWRITE overwrite)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf deny) NEW-VALUE (OVERWRITE overwrite)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: description OBJECT
Generic Function: (setf description) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: description (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf description) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: discord-req ENDPOINT &key BOT CONTENT CONTENT-TYPE TYPE PARAMETERS
Package

lispcord.core

Methods
Method: discord-req ENDPOINT &key BOT CONTENT CONTENT-TYPE TYPE PARAMETERS &aux URL FINAL
Source

core.lisp (file)

Generic Function: discrim OBJECT
Generic Function: (setf discrim) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: discrim (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf discrim) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: edit CONTENT DESTINATION &optional BOT

Sends a PUT or PATCH request to modify the given object

Package

lispcord.http

Source

core.lisp (file)

Methods
Method: edit (U user) (USER user) &optional BOT
Source

user.lisp (file)

Method: edit (R role) (ROLE role) &optional BOT
Source

guild.lisp (file)

Method: edit (R partial-role) (ROLE role) &optional BOT
Source

guild.lisp (file)

Method: edit (M member) (G guild) &optional BOT
Source

guild.lisp (file)

Method: edit (E emoji) (G guild) &optional BOT
Source

emoji.lisp (file)

Method: edit (E partial-emoji) (G guild) &optional BOT
Source

emoji.lisp (file)

Method: edit (O overwrite) (C channel) &optional BOT
Source

channel.lisp (file)

Method: edit (E embed) (M message) &optional BOT
Source

channel.lisp (file)

Method: edit (S string) (M message) &optional BOT
Source

channel.lisp (file)

Method: edit (C channel) (CHAN channel) &optional BOT
Source

channel.lisp (file)

Method: edit (C partial-channel) (CHAN channel) &optional BOT
Source

channel.lisp (file)

Generic Function: editedp OBJECT
Generic Function: (setf editedp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: editedp (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf editedp) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: emailp OBJECT
Generic Function: (setf emailp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: emailp (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf emailp) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: embed OBJECT
Generic Function: (setf embed) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: embed (PARTIAL-MESSAGE partial-message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf embed) NEW-VALUE (PARTIAL-MESSAGE partial-message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: embed-id OBJECT
Generic Function: (setf embed-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: embed-id (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf embed-id) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: embedp OBJECT
Generic Function: (setf embedp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: embedp (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf embedp) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: embeds OBJECT
Generic Function: (setf embeds) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: embeds (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf embeds) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: emoji OBJECT
Generic Function: (setf emoji) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: emoji (REACTION reaction)

automatically generated reader method

Source

message.lisp (file)

Method: (setf emoji) NEW-VALUE (REACTION reaction)

automatically generated writer method

Source

message.lisp (file)

Generic Function: emojis OBJECT
Generic Function: (setf emojis) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: emojis (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf emojis) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: enabledp OBJECT
Generic Function: (setf enabledp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: enabledp (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf enabledp) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Generic Function: erase OBJECT &optional BOT

Sends a DELETE request to remove the given object

Package

lispcord.http

Source

core.lisp (file)

Methods
Method: erase (R role) &optional BOT
Source

guild.lisp (file)

Method: erase (M member) &optional BOT
Source

guild.lisp (file)

Method: erase (G guild) &optional BOT
Source

guild.lisp (file)

Method: erase (M message) &optional BOT
Source

channel.lisp (file)

Method: erase (C channel) &optional BOT
Source

channel.lisp (file)

Method: erase (N null) &optional BOT
Generic Function: expire-behaviour OBJECT
Generic Function: (setf expire-behaviour) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: expire-behaviour (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf expire-behaviour) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Generic Function: expire-grace OBJECT
Generic Function: (setf expire-grace) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: expire-grace (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf expire-grace) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Generic Function: features OBJECT
Generic Function: (setf features) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: features (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf features) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: fields OBJECT
Generic Function: (setf fields) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: fields (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf fields) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: file OBJECT
Generic Function: (setf file) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: file (PARTIAL-MESSAGE partial-message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf file) NEW-VALUE (PARTIAL-MESSAGE partial-message)

automatically generated writer method

Source

message.lisp (file)

Method: file (ATTACHEMENT attachement)

automatically generated reader method

Source

message.lisp (file)

Method: (setf file) NEW-VALUE (ATTACHEMENT attachement)

automatically generated writer method

Source

message.lisp (file)

Package

lispcord.classes

Methods

automatically generated reader method

Source

embed.lisp (file)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: from-id SNOWFLAKE FROM &optional BOT

Retrieves the given object via ID, either from the cache or through a REST call. FROM can be one of :CHANNEL, :GUILD, :USER, :EMOJI, :ROLE or a discord-place like a channel, a guild and so on

Package

lispcord.http

Source

core.lisp (file)

Methods
Method: from-id ID (C (eql user)) &optional BOT
Source

user.lisp (file)

Method: from-id ID (C (eql role)) &optional BOT
Source

guild.lisp (file)

Method: from-id (U user) (G guild) &optional BOT
Source

guild.lisp (file)

Method: from-id ID (G (eql guild)) &optional BOT
Source

guild.lisp (file)

Method: from-id ID (G guild) &optional BOT
Source

emoji.lisp (file)

Method: from-id MESSAGE-ID (C channel) &optional BOT
Source

channel.lisp (file)

Method: from-id ID (C (eql channel)) &optional BOT &aux THIS
Source

channel.lisp (file)

Generic Function: from-json CLASS-SYMBOL OBJ

Converts a json object to the specified class

Package

lispcord.classes

Source

core.lisp (file)

Methods
Method: from-json (C (eql message)) (TABLE hash-table)
Source

message.lisp (file)

Method: from-json (C (eql reaction)) (TABLE hash-table)
Source

message.lisp (file)

Method: from-json (C (eql attachement)) (TABLE hash-table)
Source

message.lisp (file)

Method: from-json (C (eql embed)) (TABLE hash-table)
Source

embed.lisp (file)

Method: from-json (C (eql e-field)) (TABLE hash-table)
Source

embed.lisp (file)

Method: from-json (C (eql e-author)) (TABLE hash-table)
Source

embed.lisp (file)

Method: from-json (C (eql e-provider)) (TABLE hash-table)
Source

embed.lisp (file)

Method: from-json (C (eql e-video)) (TABLE hash-table)
Source

embed.lisp (file)

Method: from-json (C (eql e-generic)) (TABLE hash-table)
Source

embed.lisp (file)

Method: from-json (C (eql e-footer)) (TABLE hash-table)
Source

embed.lisp (file)

Method: from-json (C (eql guild)) (TABLE hash-table)
Source

guild.lisp (file)

Method: from-json (C (eql presence)) (TABLE hash-table)
Source

guild.lisp (file)

Method: from-json (C (eql g-member)) (TABLE hash-table)
Source

guild.lisp (file)

Method: from-json (C (eql role)) (TABLE hash-table)
Source

guild.lisp (file)

Method: from-json (C (eql channel)) (TABLE hash-table)
Source

channel.lisp (file)

Method: from-json (C (eql overwrite)) (TABLE hash-table)
Source

channel.lisp (file)

Method: from-json (C (eql integration)) (TABLE hash-table)
Source

integration.lisp (file)

Method: from-json (C (eql account)) (TABLE hash-table)
Source

integration.lisp (file)

Method: from-json (C (eql ready)) (TABLE hash-table)
Source

user.lisp (file)

Method: from-json (C (eql webhook)) (TABLE hash-table)
Source

user.lisp (file)

Method: from-json (C (eql user)) (TABLE hash-table)
Source

user.lisp (file)

Method: from-json (C (eql game)) (TABLE hash-table)
Source

user.lisp (file)

Method: from-json (C (eql emoji)) (TABLE hash-table)
Source

emoji.lisp (file)

Method: from-json EH (N null)
Generic Function: game OBJECT
Generic Function: (setf game) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: game (PRESENCE presence)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf game) NEW-VALUE (PRESENCE presence)

automatically generated writer method

Source

guild.lisp (file)

Method: game (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf game) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: guild OBJECT

Returns the cached guild object corresponding to the guild-id of object

Package

lispcord.classes

Source

core.lisp (file)

Methods
Method: guild (M message)
Source

message.lisp (file)

Method: guild (M member)
Source

guild.lisp (file)

Method: guild (R role)
Source

guild.lisp (file)

Method: guild (C guild-channel)
Source

channel.lisp (file)

Method: guild (E emoji)
Source

emoji.lisp (file)

Generic Function: guild-id OBJECT
Generic Function: (setf guild-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: guild-id (PRESENCE presence)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf guild-id) NEW-VALUE (PRESENCE presence)

automatically generated writer method

Source

guild.lisp (file)

Method: guild-id (MEMBER member)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf guild-id) NEW-VALUE (MEMBER member)

automatically generated writer method

Source

guild.lisp (file)

Method: guild-id (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf guild-id) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: guild-id (GUILD-CHANNEL guild-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf guild-id) NEW-VALUE (GUILD-CHANNEL guild-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: guild-id (WEBHOOK webhook)

automatically generated reader method

Source

user.lisp (file)

Method: (setf guild-id) NEW-VALUE (WEBHOOK webhook)

automatically generated writer method

Source

user.lisp (file)

Method: guild-id (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf guild-id) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: guilds OBJECT
Generic Function: (setf guilds) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: guilds (READY ready)

automatically generated reader method

Source

user.lisp (file)

Method: (setf guilds) NEW-VALUE (READY ready)

automatically generated writer method

Source

user.lisp (file)

Generic Function: has-permission OBJ KEY &optional CHANNEL
Package

lispcord.classes

Source

permissions.lisp (file)

Methods
Method: has-permission (U user) KEY &optional CHANNEL
Source

guild.lisp (file)

Method: has-permission (M member) KEY &optional CHANNEL
Source

guild.lisp (file)

Method: has-permission (P permissions) KEY &optional CHANNEL

Returns if permissions object has ‘key‘ permission

Generic Function: height OBJECT
Generic Function: (setf height) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: height (ATTACHEMENT attachement)

automatically generated reader method

Source

message.lisp (file)

Method: (setf height) NEW-VALUE (ATTACHEMENT attachement)

automatically generated writer method

Source

message.lisp (file)

Method: height (EMBED-VIDEO embed-video)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf height) NEW-VALUE (EMBED-VIDEO embed-video)

automatically generated writer method

Source

embed.lisp (file)

Method: height (EMBED-GENERIC embed-generic)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf height) NEW-VALUE (EMBED-GENERIC embed-generic)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: hoistp OBJECT
Generic Function: (setf hoistp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: hoistp (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf hoistp) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: hoistp (PARTIAL-ROLE partial-role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf hoistp) NEW-VALUE (PARTIAL-ROLE partial-role)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: icon OBJECT
Generic Function: (setf icon) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: icon (EMBED-FOOTER embed-footer)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf icon) NEW-VALUE (EMBED-FOOTER embed-footer)

automatically generated writer method

Source

embed.lisp (file)

Method: icon (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf icon) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Method: icon (GROUP-DM group-dm)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf icon) NEW-VALUE (GROUP-DM group-dm)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: icon-proxy OBJECT
Generic Function: (setf icon-proxy) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: icon-proxy (EMBED-FOOTER embed-footer)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf icon-proxy) NEW-VALUE (EMBED-FOOTER embed-footer)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: id OBJECT
Generic Function: (setf id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: id (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf id) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Method: id (ATTACHEMENT attachement)

automatically generated reader method

Source

message.lisp (file)

Method: (setf id) NEW-VALUE (ATTACHEMENT attachement)

automatically generated writer method

Source

message.lisp (file)

Method: id (GUILD guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf id) NEW-VALUE (GUILD guild)

automatically generated writer method

Source

guild.lisp (file)

Method: id (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf id) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: id (CHANNEL channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf id) NEW-VALUE (CHANNEL channel)

automatically generated writer method

Source

channel.lisp (file)

Method: id (OVERWRITE overwrite)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf id) NEW-VALUE (OVERWRITE overwrite)

automatically generated writer method

Source

channel.lisp (file)

Method: id (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf id) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Method: id (ACCOUNT account)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf id) NEW-VALUE (ACCOUNT account)

automatically generated writer method

Source

integration.lisp (file)

Method: id (WEBHOOK webhook)

automatically generated reader method

Source

user.lisp (file)

Method: (setf id) NEW-VALUE (WEBHOOK webhook)

automatically generated writer method

Source

user.lisp (file)

Method: id (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf id) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Method: id (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf id) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: image OBJECT
Generic Function: (setf image) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: image (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf image) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Method: image (PARTIAL-EMOJI partial-emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf image) NEW-VALUE (PARTIAL-EMOJI partial-emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: inline OBJECT
Generic Function: (setf inline) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: inline (EMBED-FIELD embed-field)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf inline) NEW-VALUE (EMBED-FIELD embed-field)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: largep OBJECT
Generic Function: (setf largep) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: largep (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf largep) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: last-message OBJECT
Generic Function: (setf last-message) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: last-message (NEWS-CHANNEL news-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf last-message) NEW-VALUE (NEWS-CHANNEL news-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: last-message (DM-CHANNEL dm-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf last-message) NEW-VALUE (DM-CHANNEL dm-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: last-message (TEXT-CHANNEL text-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf last-message) NEW-VALUE (TEXT-CHANNEL text-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: last-pinned OBJECT
Generic Function: (setf last-pinned) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: last-pinned (NEWS-CHANNEL news-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf last-pinned) NEW-VALUE (NEWS-CHANNEL news-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: last-pinned (DM-CHANNEL dm-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf last-pinned) NEW-VALUE (DM-CHANNEL dm-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: last-pinned (TEXT-CHANNEL text-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf last-pinned) NEW-VALUE (TEXT-CHANNEL text-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: make-role &key NAME COLOR HOIST PERMISSIONS MENTIONABLE
Package

lispcord.classes

Methods
Method: make-role &key NAME COLOR HOIST PERMISSIONS MENTIONABLE
Source

guild.lisp (file)

Generic Function: managedp OBJECT
Generic Function: (setf managedp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: managedp (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf managedp) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: managedp (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf managedp) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: me-p OBJECT
Generic Function: (setf me-p) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: me-p (REACTION reaction)

automatically generated reader method

Source

message.lisp (file)

Method: (setf me-p) NEW-VALUE (REACTION reaction)

automatically generated writer method

Source

message.lisp (file)

Generic Function: member U G
Package

lispcord.classes

Methods
Method: member (U user) (G guild)
Source

guild.lisp (file)

Generic Function: member-count OBJECT
Generic Function: (setf member-count) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: member-count (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf member-count) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: members OBJECT
Generic Function: (setf members) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: members (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf members) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: mention-all-p OBJECT
Generic Function: (setf mention-all-p) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: mention-all-p (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf mention-all-p) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: mention-roles OBJECT
Generic Function: (setf mention-roles) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: mention-roles (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf mention-roles) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: mentionablep OBJECT
Generic Function: (setf mentionablep) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: mentionablep (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf mentionablep) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: mentionablep (PARTIAL-ROLE partial-role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf mentionablep) NEW-VALUE (PARTIAL-ROLE partial-role)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: mentions OBJECT
Generic Function: (setf mentions) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: mentions (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf mentions) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: mfa-level OBJECT
Generic Function: (setf mfa-level) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: mfa-level (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf mfa-level) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: mfa-p OBJECT
Generic Function: (setf mfa-p) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: mfa-p (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf mfa-p) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: mutep OBJECT
Generic Function: (setf mutep) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: mutep (MEMBER member)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf mutep) NEW-VALUE (MEMBER member)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: name OBJECT
Generic Function: (setf name) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: name (EMBED-FIELD embed-field)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf name) NEW-VALUE (EMBED-FIELD embed-field)

automatically generated writer method

Source

embed.lisp (file)

Method: name (EMBED-AUTHOR embed-author)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf name) NEW-VALUE (EMBED-AUTHOR embed-author)

automatically generated writer method

Source

embed.lisp (file)

Method: name (EMBED-PROVIDER embed-provider)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf name) NEW-VALUE (EMBED-PROVIDER embed-provider)

automatically generated writer method

Source

embed.lisp (file)

Method: name (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf name) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Method: name (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf name) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: name (PARTIAL-ROLE partial-role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf name) NEW-VALUE (PARTIAL-ROLE partial-role)

automatically generated writer method

Source

guild.lisp (file)

Method: name (GROUP-DM group-dm)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf name) NEW-VALUE (GROUP-DM group-dm)

automatically generated writer method

Source

channel.lisp (file)

Method: name (GUILD-CHANNEL guild-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf name) NEW-VALUE (GUILD-CHANNEL guild-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: name (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf name) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: name (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf name) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Method: name (ACCOUNT account)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf name) NEW-VALUE (ACCOUNT account)

automatically generated writer method

Source

integration.lisp (file)

Method: name (WEBHOOK webhook)

automatically generated reader method

Source

user.lisp (file)

Method: (setf name) NEW-VALUE (WEBHOOK webhook)

automatically generated writer method

Source

user.lisp (file)

Method: name (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf name) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Method: name (GAME game)

automatically generated reader method

Source

user.lisp (file)

Method: (setf name) NEW-VALUE (GAME game)

automatically generated writer method

Source

user.lisp (file)

Method: name (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf name) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Method: name (PARTIAL-EMOJI partial-emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf name) NEW-VALUE (PARTIAL-EMOJI partial-emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: nick OBJECT
Generic Function: (setf nick) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: nick (MEMBER member)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf nick) NEW-VALUE (MEMBER member)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: nick-or-name U G
Package

lispcord.classes

Methods
Method: nick-or-name (U user) (M message)

Member u of the guild with message m

Source

message.lisp (file)

Method: nick-or-name (U user) (G guild)

Member u of the guild g

Source

guild.lisp (file)

Generic Function: nonce OBJECT
Generic Function: (setf nonce) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: nonce (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf nonce) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Method: nonce (PARTIAL-MESSAGE partial-message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf nonce) NEW-VALUE (PARTIAL-MESSAGE partial-message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: notify-level OBJECT
Generic Function: (setf notify-level) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: notify-level (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf notify-level) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: nsfw-p OBJECT
Generic Function: (setf nsfw-p) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: nsfw-p (STORE-CHANNEL store-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf nsfw-p) NEW-VALUE (STORE-CHANNEL store-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: nsfw-p (NEWS-CHANNEL news-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf nsfw-p) NEW-VALUE (NEWS-CHANNEL news-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: nsfw-p (TEXT-CHANNEL text-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf nsfw-p) NEW-VALUE (TEXT-CHANNEL text-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: nsfw-p (CATEGORY category)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf nsfw-p) NEW-VALUE (CATEGORY category)

automatically generated writer method

Source

channel.lisp (file)

Method: nsfw-p (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf nsfw-p) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: overwrite C _
Package

lispcord.classes

Methods
Method: overwrite (C channel) (M member)

Returns permission overwrite for member in channel

Source

guild.lisp (file)

Method: overwrite (C channel) (M role)

Returns permission overwrite for role in channel

Source

guild.lisp (file)

Method: overwrite (C channel) (_ (eql everyone))
Source

channel.lisp (file)

Generic Function: overwrites OBJECT
Generic Function: (setf overwrites) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: overwrites (GUILD-CHANNEL guild-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf overwrites) NEW-VALUE (GUILD-CHANNEL guild-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: overwrites (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf overwrites) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: owner OBJECT

Returns the cached user object corresponding to the owner-id of object

Package

lispcord.classes

Source

core.lisp (file)

Methods
Method: owner (G guild)
Source

guild.lisp (file)

Method: owner (C group-dm)
Source

channel.lisp (file)

Generic Function: owner-id OBJECT
Generic Function: (setf owner-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: owner-id (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf owner-id) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Method: owner-id (GROUP-DM group-dm)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf owner-id) NEW-VALUE (GROUP-DM group-dm)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: parent OBJECT

Returns the cached parent object corresponding to th e parrent-id of object

Package

lispcord.classes

Source

core.lisp (file)

Methods
Method: parent (C guild-channel)
Source

channel.lisp (file)

Generic Function: parent-id OBJECT
Generic Function: (setf parent-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: parent-id (GUILD-CHANNEL guild-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf parent-id) NEW-VALUE (GUILD-CHANNEL guild-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: parent-id (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf parent-id) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: permissions OBJECT
Generic Function: (setf permissions) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: permissions (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf permissions) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: permissions (PARTIAL-ROLE partial-role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf permissions) NEW-VALUE (PARTIAL-ROLE partial-role)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: pinnedp OBJECT
Generic Function: (setf pinnedp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: pinnedp (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf pinnedp) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: position OBJECT
Generic Function: (setf position) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: position (ROLE role)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf position) NEW-VALUE (ROLE role)

automatically generated writer method

Source

guild.lisp (file)

Method: position (GUILD-CHANNEL guild-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf position) NEW-VALUE (GUILD-CHANNEL guild-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: position (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf position) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: presences OBJECT
Generic Function: (setf presences) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: presences (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf presences) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: provider OBJECT
Generic Function: (setf provider) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: provider (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf provider) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: proxy-url OBJECT
Generic Function: (setf proxy-url) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: proxy-url (ATTACHEMENT attachement)

automatically generated reader method

Source

message.lisp (file)

Method: (setf proxy-url) NEW-VALUE (ATTACHEMENT attachement)

automatically generated writer method

Source

message.lisp (file)

Method: proxy-url (EMBED-GENERIC embed-generic)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf proxy-url) NEW-VALUE (EMBED-GENERIC embed-generic)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: reactions OBJECT
Generic Function: (setf reactions) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: reactions (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf reactions) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: recipients OBJECT
Generic Function: (setf recipients) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: recipients (DM-CHANNEL dm-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf recipients) NEW-VALUE (DM-CHANNEL dm-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: region OBJECT
Generic Function: (setf region) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: region (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf region) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: role I
Package

lispcord.classes

Methods
Method: role (I integration)
Source

integration.lisp (file)

Generic Function: role-id OBJECT
Generic Function: (setf role-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: role-id (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf role-id) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Generic Function: roles OBJECT
Generic Function: (setf roles) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: roles (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf roles) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Method: roles (PRESENCE presence)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf roles) NEW-VALUE (PRESENCE presence)

automatically generated writer method

Source

guild.lisp (file)

Method: roles (MEMBER member)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf roles) NEW-VALUE (MEMBER member)

automatically generated writer method

Source

guild.lisp (file)

Method: roles (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf roles) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Method: roles (PARTIAL-EMOJI partial-emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf roles) NEW-VALUE (PARTIAL-EMOJI partial-emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: session-id OBJECT
Generic Function: (setf session-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: session-id (READY ready)

automatically generated reader method

Source

user.lisp (file)

Method: (setf session-id) NEW-VALUE (READY ready)

automatically generated writer method

Source

user.lisp (file)

Generic Function: size OBJECT
Generic Function: (setf size) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: size (ATTACHEMENT attachement)

automatically generated reader method

Source

message.lisp (file)

Method: (setf size) NEW-VALUE (ATTACHEMENT attachement)

automatically generated writer method

Source

message.lisp (file)

Generic Function: splash OBJECT
Generic Function: (setf splash) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: splash (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf splash) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: status OBJECT
Generic Function: (setf status) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: status (PRESENCE presence)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf status) NEW-VALUE (PRESENCE presence)

automatically generated writer method

Source

guild.lisp (file)

Method: status (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf status) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: synced-at OBJECT
Generic Function: (setf synced-at) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: synced-at (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf synced-at) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Generic Function: syncingp OBJECT
Generic Function: (setf syncingp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: syncingp (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf syncingp) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Generic Function: system-channel-id OBJECT
Generic Function: (setf system-channel-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: system-channel-id (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf system-channel-id) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: text OBJECT
Generic Function: (setf text) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: text (EMBED-FOOTER embed-footer)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf text) NEW-VALUE (EMBED-FOOTER embed-footer)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: thumbnail OBJECT
Generic Function: (setf thumbnail) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: thumbnail (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf thumbnail) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: timestamp OBJECT
Generic Function: (setf timestamp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: timestamp (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf timestamp) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Method: timestamp (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf timestamp) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: title OBJECT
Generic Function: (setf title) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: title (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf title) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: topic OBJECT
Generic Function: (setf topic) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: topic (NEWS-CHANNEL news-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf topic) NEW-VALUE (NEWS-CHANNEL news-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: topic (TEXT-CHANNEL text-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf topic) NEW-VALUE (TEXT-CHANNEL text-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: topic (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf topic) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: tts-p OBJECT
Generic Function: (setf tts-p) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: tts-p (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf tts-p) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Method: tts-p (PARTIAL-MESSAGE partial-message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf tts-p) NEW-VALUE (PARTIAL-MESSAGE partial-message)

automatically generated writer method

Source

message.lisp (file)

Generic Function: type OBJECT
Generic Function: (setf type) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: type (MESSAGE message)

automatically generated reader method

Source

message.lisp (file)

Method: (setf type) NEW-VALUE (MESSAGE message)

automatically generated writer method

Source

message.lisp (file)

Method: type (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf type) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Method: type (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf type) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: type (OVERWRITE overwrite)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf type) NEW-VALUE (OVERWRITE overwrite)

automatically generated writer method

Source

channel.lisp (file)

Method: type (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf type) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Method: type (GAME game)

automatically generated reader method

Source

user.lisp (file)

Method: (setf type) NEW-VALUE (GAME game)

automatically generated writer method

Source

user.lisp (file)

Generic Function: url OBJECT
Generic Function: (setf url) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: url (ATTACHEMENT attachement)

automatically generated reader method

Source

message.lisp (file)

Method: (setf url) NEW-VALUE (ATTACHEMENT attachement)

automatically generated writer method

Source

message.lisp (file)

Method: url (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf url) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Method: url (EMBED-AUTHOR embed-author)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf url) NEW-VALUE (EMBED-AUTHOR embed-author)

automatically generated writer method

Source

embed.lisp (file)

Method: url (EMBED-PROVIDER embed-provider)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf url) NEW-VALUE (EMBED-PROVIDER embed-provider)

automatically generated writer method

Source

embed.lisp (file)

Method: url (EMBED-VIDEO embed-video)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf url) NEW-VALUE (EMBED-VIDEO embed-video)

automatically generated writer method

Source

embed.lisp (file)

Method: url (EMBED-GENERIC embed-generic)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf url) NEW-VALUE (EMBED-GENERIC embed-generic)

automatically generated writer method

Source

embed.lisp (file)

Method: url (GAME game)

automatically generated reader method

Source

user.lisp (file)

Method: (setf url) NEW-VALUE (GAME game)

automatically generated writer method

Source

user.lisp (file)

Generic Function: user OBJECT
Generic Function: (setf user) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: user (P presence)
Source

guild.lisp (file)

Method: user (MEMBER member)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf user) NEW-VALUE (MEMBER member)

automatically generated writer method

Source

guild.lisp (file)

Method: user (INTEGRATION integration)

automatically generated reader method

Source

integration.lisp (file)

Method: (setf user) NEW-VALUE (INTEGRATION integration)

automatically generated writer method

Source

integration.lisp (file)

Method: user (READY ready)

automatically generated reader method

Source

user.lisp (file)

Method: (setf user) NEW-VALUE (READY ready)

automatically generated writer method

Source

user.lisp (file)

Method: user (WEBHOOK webhook)

automatically generated reader method

Source

user.lisp (file)

Method: (setf user) NEW-VALUE (WEBHOOK webhook)

automatically generated writer method

Source

user.lisp (file)

Method: user (EMOJI emoji)

automatically generated reader method

Source

emoji.lisp (file)

Method: (setf user) NEW-VALUE (EMOJI emoji)

automatically generated writer method

Source

emoji.lisp (file)

Generic Function: user-id OBJECT
Generic Function: (setf user-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: user-id (PRESENCE presence)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf user-id) NEW-VALUE (PRESENCE presence)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: user-limit OBJECT
Generic Function: (setf user-limit) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: user-limit (VOICE-CHANNEL voice-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf user-limit) NEW-VALUE (VOICE-CHANNEL voice-channel)

automatically generated writer method

Source

channel.lisp (file)

Method: user-limit (PARTIAL-CHANNEL partial-channel)

automatically generated reader method

Source

channel.lisp (file)

Method: (setf user-limit) NEW-VALUE (PARTIAL-CHANNEL partial-channel)

automatically generated writer method

Source

channel.lisp (file)

Generic Function: value OBJECT
Generic Function: (setf value) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: value (EMBED-FIELD embed-field)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf value) NEW-VALUE (EMBED-FIELD embed-field)

automatically generated writer method

Source

embed.lisp (file)

Method: value (PERMISSIONS permissions)

automatically generated reader method

Source

permissions.lisp (file)

Method: (setf value) NEW-VALUE (PERMISSIONS permissions)

automatically generated writer method

Source

permissions.lisp (file)

Generic Function: verifiedp OBJECT
Generic Function: (setf verifiedp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: verifiedp (USER user)

automatically generated reader method

Source

user.lisp (file)

Method: (setf verifiedp) NEW-VALUE (USER user)

automatically generated writer method

Source

user.lisp (file)

Generic Function: verify-level OBJECT
Generic Function: (setf verify-level) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: verify-level (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf verify-level) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: version OBJECT
Generic Function: (setf version) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: version (READY ready)

automatically generated reader method

Source

user.lisp (file)

Method: (setf version) NEW-VALUE (READY ready)

automatically generated writer method

Source

user.lisp (file)

Generic Function: video OBJECT
Generic Function: (setf video) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: video (EMBED embed)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf video) NEW-VALUE (EMBED embed)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: widget-id OBJECT
Generic Function: (setf widget-id) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: widget-id (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf widget-id) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: widgetp OBJECT
Generic Function: (setf widgetp) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: widgetp (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf widgetp) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: width OBJECT
Generic Function: (setf width) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: width (ATTACHEMENT attachement)

automatically generated reader method

Source

message.lisp (file)

Method: (setf width) NEW-VALUE (ATTACHEMENT attachement)

automatically generated writer method

Source

message.lisp (file)

Method: width (EMBED-VIDEO embed-video)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf width) NEW-VALUE (EMBED-VIDEO embed-video)

automatically generated writer method

Source

embed.lisp (file)

Method: width (EMBED-GENERIC embed-generic)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf width) NEW-VALUE (EMBED-GENERIC embed-generic)

automatically generated writer method

Source

embed.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Structures

Structure: bot ()
Package

lispcord.core

Source

core.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: token
Type

string

Initform

""

Readers

bot-token (function)

Writers

(setf bot-token) (function)

Slot: user
Type

(or null lispcord.classes:user)

Readers

bot-user (function)

Writers

(setf bot-user) (function)

Slot: version
Type

string

Initform

"0.0.1"

Readers

bot-version (function)

Writers

(setf bot-version) (function)

Slot: seq
Type

fixnum

Initform

0

Readers

bot-seq (function)

Writers

(setf bot-seq) (function)

Slot: session-id
Type

(or null string)

Readers

bot-session-id (function)

Writers

(setf bot-session-id) (function)

Slot: afk-since
Type

(or null fixnum)

Readers

bot-afk-since (function)

Writers

(setf bot-afk-since) (function)

Slot: event-handlers
Type

hash-table

Initform

(make-hash-table)

Readers

bot-event-handlers (function)

Writers

(setf bot-event-handlers) (function)

Slot: conn
Readers

bot-conn (function)

Writers

(setf bot-conn) (function)

Slot: running
Type

boolean

Readers

bot-running (function)

Writers

(setf bot-running) (function)

Slot: heartbeat-ack
Type

boolean

Initform

t

Readers

bot-heartbeat-ack (function)

Writers

(setf bot-heartbeat-ack) (function)

Slot: auth-as-bot
Type

boolean

Initform

t

Readers

bot-auth-as-bot (function)

Writers

(setf bot-auth-as-bot) (function)

Slot: heartbeat-thread
Readers

bot-heartbeat-thread (function)

Writers

(setf bot-heartbeat-thread) (function)

Structure: cache ()
Package

lispcord.classes

Source

cache.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: data
Readers

cache-data (function)

Writers

(setf cache-data) (function)

Slot: lock
Initform

(bordeaux-threads:make-recursive-lock "lispcord.classes cache")

Readers

cache-lock (function)

Writers

(setf cache-lock) (function)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

Class: account ()
Package

lispcord.classes

Source

integration.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • name (method)
  • name (method)
  • id (method)
  • id (method)
Direct slots
Slot: id
Type

string

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Class: attachement ()
Package

lispcord.classes

Source

message.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • width (method)
  • width (method)
  • height (method)
  • height (method)
  • proxy-url (method)
  • proxy-url (method)
  • url (method)
  • url (method)
  • size (method)
  • size (method)
  • file (method)
  • file (method)
  • id (method)
  • id (method)
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: filename
Type

string

Initargs

:file

Readers

file (generic function)

Writers

(setf file) (generic function)

Slot: size
Type

fixnum

Initargs

:size

Readers

size (generic function)

Writers

(setf size) (generic function)

Slot: url
Type

string

Initargs

:url

Readers

url (generic function)

Writers

(setf url) (generic function)

Slot: proxy-url
Type

string

Initargs

:proxy

Readers

proxy-url (generic function)

Writers

(setf proxy-url) (generic function)

Slot: height
Type

(or null fixnum)

Initargs

:height

Readers

height (generic function)

Writers

(setf height) (generic function)

Slot: width
Type

(or null fixnum)

Initargs

:width

Readers

width (generic function)

Writers

(setf width) (generic function)

Class: category ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

guild-channel (class)

Direct methods
Direct slots
Slot: nsfw
Initargs

:nsfw

Readers

nsfw-p (generic function)

Writers

(setf nsfw-p) (generic function)

Class: channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

chnl (class)

Direct subclasses
Direct methods
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Class: dm-channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

channel (class)

Direct subclasses

group-dm (class)

Direct methods
Direct slots
Slot: last-message
Type

(or null lispcord.util:snowflake)

Initargs

:last-message

Readers

last-message (generic function)

Writers

(setf last-message) (generic function)

Slot: recipients
Type

(vector lispcord.classes:user)

Initargs

:recipients

Readers

recipients (generic function)

Writers

(setf recipients) (generic function)

Slot: last-pinned
Type

string

Initargs

:last-pinned

Readers

last-pinned (generic function)

Writers

(setf last-pinned) (generic function)

Class: embed ()
Package

lispcord.classes

Source

embed.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • edit (method)
  • %to-json (method)
  • fields (method)
  • fields (method)
  • author (method)
  • author (method)
  • provider (method)
  • provider (method)
  • video (method)
  • video (method)
  • thumbnail (method)
  • thumbnail (method)
  • image (method)
  • image (method)
  • footer (method)
  • footer (method)
  • color (method)
  • color (method)
  • timestamp (method)
  • timestamp (method)
  • url (method)
  • url (method)
  • description (method)
  • description (method)
  • type (method)
  • type (method)
  • title (method)
  • title (method)
Direct slots
Slot: title
Type

string

Initargs

:title

Readers

title (generic function)

Writers

(setf title) (generic function)

Slot: type
Type

string

Initargs

:type

Readers

type (generic function)

Writers

(setf type) (generic function)

Slot: description
Type

string

Initargs

:description

Readers

description (generic function)

Writers

(setf description) (generic function)

Slot: url
Type

string

Initargs

:url

Readers

url (generic function)

Writers

(setf url) (generic function)

Slot: timestamp
Type

(or null string)

Initargs

:timestamp

Readers

timestamp (generic function)

Writers

(setf timestamp) (generic function)

Slot: color
Type

fixnum

Initargs

:color

Readers

color (generic function)

Writers

(setf color) (generic function)

Type

(or null lispcord.classes:embed-footer)

Initargs

:footer

Readers

footer (generic function)

Writers

(setf footer) (generic function)

Slot: image
Type

(or null lispcord.classes:embed-image)

Initargs

:image

Readers

image (generic function)

Writers

(setf image) (generic function)

Slot: thumbnail
Type

(or null lispcord.classes:embed-thumbnail)

Initargs

:thumbnail

Readers

thumbnail (generic function)

Writers

(setf thumbnail) (generic function)

Slot: video
Type

(or null lispcord.classes:embed-video)

Initargs

:video

Readers

video (generic function)

Writers

(setf video) (generic function)

Slot: provider
Type

(or null lispcord.classes:embed-provider)

Initargs

:provider

Readers

provider (generic function)

Writers

(setf provider) (generic function)

Slot: author
Type

(or null lispcord.classes:embed-author)

Initargs

:author

Readers

author (generic function)

Writers

(setf author) (generic function)

Slot: fields
Type

(vector lispcord.classes:embed-field)

Initargs

:fields

Readers

fields (generic function)

Writers

(setf fields) (generic function)

Class: embed-author ()
Package

lispcord.classes

Source

embed.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • proxy-icon (method)
  • proxy-icon (method)
  • icon-url (method)
  • icon-url (method)
  • url (method)
  • url (method)
  • name (method)
  • name (method)
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: url
Type

(or null string)

Initargs

:url

Readers

url (generic function)

Writers

(setf url) (generic function)

Slot: icon-url
Type

(or null string)

Initargs

:icon

Readers

icon-url (generic function)

Writers

(setf icon-url) (generic function)

Slot: proxy-icon-url
Type

(or null string)

Initargs

:proxy-icon-url

Readers

proxy-icon (generic function)

Writers

(setf proxy-icon) (generic function)

Class: embed-field ()
Package

lispcord.classes

Source

embed.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • inline (method)
  • inline (method)
  • value (method)
  • value (method)
  • name (method)
  • name (method)
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: value
Type

string

Initargs

:value

Readers

value (generic function)

Writers

(setf value) (generic function)

Slot: inline
Initargs

:inline

Readers

inline (generic function)

Writers

(setf inline) (generic function)

Class: embed-footer ()
Package

lispcord.classes

Source

embed.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • icon-proxy (method)
  • icon-proxy (method)
  • icon (method)
  • icon (method)
  • text (method)
  • text (method)
Direct slots
Slot: text
Type

string

Initargs

:text

Readers

text (generic function)

Writers

(setf text) (generic function)

Slot: icon
Type

string

Initargs

:icon

Readers

icon (generic function)

Writers

(setf icon) (generic function)

Slot: icon-proxy-url
Type

string

Initargs

:icon-proxy-url

Readers

icon-proxy (generic function)

Writers

(setf icon-proxy) (generic function)

Class: embed-generic ()
Package

lispcord.classes

Source

embed.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • width (method)
  • width (method)
  • height (method)
  • height (method)
  • proxy-url (method)
  • proxy-url (method)
  • url (method)
  • url (method)
Direct slots
Slot: url
Type

string

Initargs

:url

Readers

url (generic function)

Writers

(setf url) (generic function)

Slot: proxy-url
Type

string

Initargs

:proxy

Readers

proxy-url (generic function)

Writers

(setf proxy-url) (generic function)

Slot: height
Type

fixnum

Initargs

:height

Readers

height (generic function)

Writers

(setf height) (generic function)

Slot: width
Type

fixnum

Initargs

:width

Readers

width (generic function)

Writers

(setf width) (generic function)

Class: embed-provider ()
Package

lispcord.classes

Source

embed.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • url (method)
  • url (method)
  • name (method)
  • name (method)
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: url
Type

(or null string)

Initargs

:url

Readers

url (generic function)

Writers

(setf url) (generic function)

Class: embed-video ()
Package

lispcord.classes

Source

embed.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • width (method)
  • width (method)
  • height (method)
  • height (method)
  • url (method)
  • url (method)
Direct slots
Slot: url
Type

string

Initargs

:url

Readers

url (generic function)

Writers

(setf url) (generic function)

Slot: height
Type

fixnum

Initargs

:height

Readers

height (generic function)

Writers

(setf height) (generic function)

Slot: width
Type

fixnum

Initargs

:width

Readers

width (generic function)

Writers

(setf width) (generic function)

Class: emoji ()
Package

lispcord.classes

Source

emoji.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: roles
Type

(vector lispcord.util:snowflake)

Initargs

:roles

Readers

roles (generic function)

Writers

(setf roles) (generic function)

Slot: user
Type

(or null lispcord.classes:user)

Initargs

:user

Readers

user (generic function)

Writers

(setf user) (generic function)

Slot: colons?
Initargs

:colons?

Readers

colonsp (generic function)

Writers

(setf colonsp) (generic function)

Slot: managed
Initargs

:managed

Readers

managedp (generic function)

Writers

(setf managedp) (generic function)

Slot: animated
Type

boolean

Initargs

:animated

Readers

animatedp (generic function)

Writers

(setf animatedp) (generic function)

Slot: guild-id
Type

(or null lispcord.util:snowflake)

Initargs

:gid

Readers

guild-id (generic function)

Writers

(setf guild-id) (generic function)

Class: game ()
Package

lispcord.classes

Source

user.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • url (method)
  • url (method)
  • type (method)
  • type (method)
  • name (method)
  • name (method)
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: type
Type

(member 0 1 2 4)

Initargs

:type

Readers

type (generic function)

Writers

(setf type) (generic function)

Slot: url
Type

(or null string)

Initargs

:url

Readers

url (generic function)

Writers

(setf url) (generic function)

Class: group-dm ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

dm-channel (class)

Direct methods
  • %to-json (method)
  • owner (method)
  • owner-id (method)
  • owner-id (method)
  • icon (method)
  • icon (method)
  • name (method)
  • name (method)
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: icon
Type

(or null string)

Initargs

:icon

Readers

icon (generic function)

Writers

(setf icon) (generic function)

Slot: owner-id
Type

lispcord.util:snowflake

Initargs

:owner

Readers

owner-id (generic function)

Writers

(setf owner-id) (generic function)

Class: guild ()
Package

lispcord.classes

Source

guild.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

available-guild (class)

Direct methods
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: available
Initargs

:available

Readers

availablep (generic function)

Writers

(setf availablep) (generic function)

Class: guild-channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

channel (class)

Direct subclasses
Direct methods
Direct slots
Slot: guild-id
Type

(or null lispcord.util:snowflake)

Initargs

:g-id

Readers

guild-id (generic function)

Writers

(setf guild-id) (generic function)

Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: position
Type

fixnum

Initargs

:pos

Readers

position (generic function)

Writers

(setf position) (generic function)

Slot: overwrites
Type

(vector lispcord.classes:overwrite)

Initargs

:overwrites

Readers

overwrites (generic function)

Writers

(setf overwrites) (generic function)

Slot: parent-id
Type

(or null lispcord.util:snowflake)

Initargs

:parent-id

Readers

parent-id (generic function)

Writers

(setf parent-id) (generic function)

Class: integration ()
Package

lispcord.classes

Source

integration.lisp (file)

Direct superclasses

integration-object (class)

Direct methods
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: type
Type

string

Initargs

:type

Readers

type (generic function)

Writers

(setf type) (generic function)

Slot: enabled
Initargs

:enabled

Readers

enabledp (generic function)

Writers

(setf enabledp) (generic function)

Slot: syncing
Initargs

:syncing

Readers

syncingp (generic function)

Writers

(setf syncingp) (generic function)

Slot: role-id
Type

lispcord.util:snowflake

Initargs

:role-id

Readers

role-id (generic function)

Writers

(setf role-id) (generic function)

Slot: expire-behavior
Type

fixnum

Initargs

:e-behavior

Readers

expire-behaviour (generic function)

Writers

(setf expire-behaviour) (generic function)

Slot: expire-grace
Type

fixnum

Initargs

:e-grace

Readers

expire-grace (generic function)

Writers

(setf expire-grace) (generic function)

Slot: user
Type

lispcord.classes:user

Initargs

:user

Readers

user (generic function)

Writers

(setf user) (generic function)

Slot: account
Type

lispcord.classes:account

Initargs

:account

Readers

account (generic function)

Writers

(setf account) (generic function)

Slot: synced-at
Type

string

Initargs

:synced-at

Readers

synced-at (generic function)

Writers

(setf synced-at) (generic function)

Class: member ()
Package

lispcord.classes

Source

guild.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: user
Type

lispcord.classes:user

Initargs

:user

Readers

user (generic function)

Writers

(setf user) (generic function)

Slot: nick
Type

(or null string)

Initargs

:nick

Readers

nick (generic function)

Writers

(setf nick) (generic function)

Slot: roles
Type

(vector lispcord.classes:role)

Initargs

:roles

Readers

roles (generic function)

Writers

(setf roles) (generic function)

Slot: joined-at
Type

(or null string)

Initargs

:joined-at

Readers

joined-at (generic function)

Writers

(setf joined-at) (generic function)

Slot: deaf
Initargs

:deaf

Readers

deafp (generic function)

Writers

(setf deafp) (generic function)

Slot: mute
Initargs

:mute

Readers

mutep (generic function)

Writers

(setf mutep) (generic function)

Slot: guild-id
Type

(or null lispcord.util:snowflake)

Initargs

:gid

Readers

guild-id (generic function)

Writers

(setf guild-id) (generic function)

Class: message ()
Package

lispcord.classes

Source

message.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: channel-id
Type

lispcord.util:snowflake

Initargs

:channel-id

Readers

channel-id (generic function)

Writers

(setf channel-id) (generic function)

Slot: author
Type

(or lispcord.classes::webhook lispcord.classes:user)

Initargs

:author

Readers

author (generic function)

Writers

(setf author) (generic function)

Slot: content
Type

string

Initargs

:content

Readers

content (generic function)

Writers

(setf content) (generic function)

Slot: timestamp
Type

string

Initargs

:timestamp

Readers

timestamp (generic function)

Writers

(setf timestamp) (generic function)

Slot: edited-at
Type

(or null string)

Initargs

:edited-at

Readers

editedp (generic function)

Writers

(setf editedp) (generic function)

Slot: tts
Initargs

:tts

Readers

tts-p (generic function)

Writers

(setf tts-p) (generic function)

Slot: mention-all
Initargs

:mention-all

Readers

mention-all-p (generic function)

Writers

(setf mention-all-p) (generic function)

Slot: mentions
Type

(vector lispcord.classes:user)

Initargs

:mentions

Readers

mentions (generic function)

Writers

(setf mentions) (generic function)

Slot: mention-roles
Type

(vector lispcord.classes:role)

Initargs

:mention-roles

Readers

mention-roles (generic function)

Writers

(setf mention-roles) (generic function)

Slot: attachements
Type

(vector lispcord.classes:attachement)

Initargs

:attachements

Readers

attachements (generic function)

Writers

(setf attachements) (generic function)

Slot: embeds
Type

(vector lispcord.classes:embed)

Initargs

:embeds

Readers

embeds (generic function)

Writers

(setf embeds) (generic function)

Slot: reactions
Type

(vector lispcord.classes:reaction)

Initargs

:reactions

Readers

reactions (generic function)

Writers

(setf reactions) (generic function)

Slot: nonce
Type

(or null lispcord.util:snowflake)

Initargs

:nonce

Readers

nonce (generic function)

Writers

(setf nonce) (generic function)

Slot: pinned
Initargs

:pinned

Readers

pinnedp (generic function)

Writers

(setf pinnedp) (generic function)

Slot: type
Type

lispcord.classes::message-type

Initargs

:type

Readers

type (generic function)

Writers

(setf type) (generic function)

Class: news-channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

guild-channel (class)

Direct methods
Direct slots
Slot: nsfw
Initargs

:nsfw

Readers

nsfw-p (generic function)

Writers

(setf nsfw-p) (generic function)

Slot: topic
Type

(or null string)

Initargs

:topic

Readers

topic (generic function)

Writers

(setf topic) (generic function)

Slot: last-message
Type

(or null lispcord.util:snowflake)

Initargs

:last-message

Readers

last-message (generic function)

Writers

(setf last-message) (generic function)

Slot: last-pinned
Type

(or null string)

Initargs

:last-pinned

Readers

last-pinned (generic function)

Writers

(setf last-pinned) (generic function)

Class: overwrite ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • edit (method)
  • %to-json (method)
  • deny (method)
  • deny (method)
  • allow (method)
  • allow (method)
  • type (method)
  • type (method)
  • id (method)
  • id (method)
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: type
Type

string

Initargs

:type

Readers

type (generic function)

Writers

(setf type) (generic function)

Slot: allow
Type

lispcord.classes:permissions

Initargs

:allow

Readers

allow (generic function)

Writers

(setf allow) (generic function)

Slot: deny
Type

lispcord.classes:permissions

Initargs

:deny

Readers

deny (generic function)

Writers

(setf deny) (generic function)

Class: partial-channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

chnl (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: position
Initargs

:pos

Readers

position (generic function)

Writers

(setf position) (generic function)

Slot: topic
Initargs

:topic

Readers

topic (generic function)

Writers

(setf topic) (generic function)

Slot: nsfw
Initargs

:nsfw

Readers

nsfw-p (generic function)

Writers

(setf nsfw-p) (generic function)

Slot: bitrate
Initargs

:bitrate

Readers

bitrate (generic function)

Writers

(setf bitrate) (generic function)

Slot: user-lim
Initargs

:user-lim

Readers

user-limit (generic function)

Writers

(setf user-limit) (generic function)

Slot: overwrites
Initargs

:overwrites

Readers

overwrites (generic function)

Writers

(setf overwrites) (generic function)

Slot: parent-id
Initargs

:parent

Readers

parent-id (generic function)

Writers

(setf parent-id) (generic function)

Slot: type
Initargs

:type

Readers

type (generic function)

Writers

(setf type) (generic function)

Class: partial-emoji ()
Package

lispcord.classes

Source

emoji.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • edit (method)
  • create (method)
  • %to-json (method)
  • roles (method)
  • roles (method)
  • image (method)
  • image (method)
  • name (method)
  • name (method)
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: image
Initargs

:image

Readers

image (generic function)

Writers

(setf image) (generic function)

Slot: roles
Initargs

:roles

Readers

roles (generic function)

Writers

(setf roles) (generic function)

Class: partial-message ()
Package

lispcord.classes

Source

message.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • create (method)
  • create (method)
  • %to-json (method)
  • embed (method)
  • embed (method)
  • file (method)
  • file (method)
  • tts-p (method)
  • tts-p (method)
  • nonce (method)
  • nonce (method)
  • content (method)
  • content (method)
Direct slots
Slot: content
Initargs

:content

Readers

content (generic function)

Writers

(setf content) (generic function)

Slot: nonce
Initform

(lispcord.util:make-nonce)

Readers

nonce (generic function)

Writers

(setf nonce) (generic function)

Slot: tts
Initargs

:tts

Readers

tts-p (generic function)

Writers

(setf tts-p) (generic function)

Slot: file
Initargs

:file

Readers

file (generic function)

Writers

(setf file) (generic function)

Slot: embed
Initargs

:embed

Readers

embed (generic function)

Writers

(setf embed) (generic function)

Class: partial-role ()
Package

lispcord.classes

Source

guild.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: color
Initargs

:color

Readers

color (generic function)

Writers

(setf color) (generic function)

Slot: hoist
Initargs

:hoist

Readers

hoistp (generic function)

Writers

(setf hoistp) (generic function)

Slot: permissions
Initargs

:perms

Readers

permissions (generic function)

Writers

(setf permissions) (generic function)

Slot: mentionable
Initargs

:mention

Readers

mentionablep (generic function)

Writers

(setf mentionablep) (generic function)

Class: permissions ()
Package

lispcord.classes

Source

permissions.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: value
Type

fixnum

Initargs

:value

Initform

0

Readers

value (generic function)

Writers

(setf value) (generic function)

Class: presence ()
Package

lispcord.classes

Source

guild.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • %to-json (method)
  • user (method)
  • status (method)
  • status (method)
  • guild-id (method)
  • guild-id (method)
  • game (method)
  • game (method)
  • roles (method)
  • roles (method)
  • user-id (method)
  • user-id (method)
Direct slots
Slot: user
Type

lispcord.util:snowflake

Initargs

:user

Readers

user-id (generic function)

Writers

(setf user-id) (generic function)

Slot: roles
Type

(or null (simple-vector 0) (vector lispcord.util:snowflake))

Initargs

:roles

Readers

roles (generic function)

Writers

(setf roles) (generic function)

Slot: game
Type

(or null lispcord.classes:game)

Initargs

:game

Readers

game (generic function)

Writers

(setf game) (generic function)

Slot: guild-id
Type

(or null lispcord.util:snowflake)

Initargs

:guild-id

Readers

guild-id (generic function)

Writers

(setf guild-id) (generic function)

Slot: status
Type

(or null string)

Initargs

:status

Readers

status (generic function)

Writers

(setf status) (generic function)

Class: reaction ()
Package

lispcord.classes

Source

message.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • emoji (method)
  • emoji (method)
  • me-p (method)
  • me-p (method)
  • count (method)
  • count (method)
Direct slots
Slot: count
Type

(or null fixnum)

Initargs

:count

Readers

count (generic function)

Writers

(setf count) (generic function)

Slot: me
Type

boolean

Initargs

:me

Readers

me-p (generic function)

Writers

(setf me-p) (generic function)

Slot: emoji
Type

(or null lispcord.classes:emoji)

Initargs

:emoji

Readers

emoji (generic function)

Writers

(setf emoji) (generic function)

Class: ready ()
Package

lispcord.classes

Source

user.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: version
Type

fixnum

Initargs

:v

Readers

version (generic function)

Writers

(setf version) (generic function)

Slot: user
Type

lispcord.classes:user

Initargs

:me

Readers

user (generic function)

Writers

(setf user) (generic function)

Slot: dm-channels
Type

array

Initargs

:channels

Readers

channels (generic function)

Writers

(setf channels) (generic function)

Slot: guilds
Type

array

Initargs

:guilds

Readers

guilds (generic function)

Writers

(setf guilds) (generic function)

Slot: session-id
Type

string

Initargs

:session

Readers

session-id (generic function)

Writers

(setf session-id) (generic function)

Class: role ()
Package

lispcord.classes

Source

guild.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: color
Type

fixnum

Initargs

:color

Readers

color (generic function)

Writers

(setf color) (generic function)

Slot: hoist
Initargs

:hoist

Readers

hoistp (generic function)

Writers

(setf hoistp) (generic function)

Slot: position
Type

fixnum

Initargs

:pos

Readers

position (generic function)

Writers

(setf position) (generic function)

Slot: permissions
Type

lispcord.classes:permissions

Initargs

:perms

Readers

permissions (generic function)

Writers

(setf permissions) (generic function)

Slot: managed
Initargs

:managed

Readers

managedp (generic function)

Writers

(setf managedp) (generic function)

Slot: mentionable
Initargs

:mentionable

Readers

mentionablep (generic function)

Writers

(setf mentionablep) (generic function)

Slot: guild-id
Type

(or null lispcord.util:snowflake)

Initargs

:gid

Readers

guild-id (generic function)

Writers

(setf guild-id) (generic function)

Class: store-channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

guild-channel (class)

Direct methods
  • %to-json (method)
  • nsfw-p (method)
  • nsfw-p (method)
Direct slots
Slot: nsfw
Initargs

:nsfw

Readers

nsfw-p (generic function)

Writers

(setf nsfw-p) (generic function)

Class: text-channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

guild-channel (class)

Direct methods
Direct slots
Slot: nsfw
Initargs

:nsfw

Readers

nsfw-p (generic function)

Writers

(setf nsfw-p) (generic function)

Slot: topic
Type

(or null string)

Initargs

:topic

Readers

topic (generic function)

Writers

(setf topic) (generic function)

Slot: last-message
Type

(or null lispcord.util:snowflake)

Initargs

:last-message

Readers

last-message (generic function)

Writers

(setf last-message) (generic function)

Slot: last-pinned
Type

(or null string)

Initargs

:last-pinned

Readers

last-pinned (generic function)

Writers

(setf last-pinned) (generic function)

Class: user ()
Package

lispcord.classes

Source

user.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: id
Type

lispcord.util:snowflake

Initargs

:id

Readers

id (generic function)

Writers

(setf id) (generic function)

Slot: username
Type

string

Initargs

:username

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: discriminator
Type

string

Initargs

:discrim

Readers

discrim (generic function)

Writers

(setf discrim) (generic function)

Slot: avatar
Type

(or null string)

Initargs

:avatar

Readers

avatar (generic function)

Writers

(setf avatar) (generic function)

Slot: bot
Initargs

:bot

Readers

botp (generic function)

Writers

(setf botp) (generic function)

Slot: mfa
Initargs

:mfa

Readers

mfa-p (generic function)

Writers

(setf mfa-p) (generic function)

Slot: verified
Initargs

:verified

Readers

verifiedp (generic function)

Writers

(setf verifiedp) (generic function)

Slot: email
Initargs

:email

Readers

emailp (generic function)

Writers

(setf emailp) (generic function)

Slot: status
Type

(or null string)

Readers

status (generic function)

Writers

(setf status) (generic function)

Slot: game
Type

(or null lispcord.classes:game)

Readers

game (generic function)

Writers

(setf game) (generic function)

Class: voice-channel ()
Package

lispcord.classes

Source

channel.lisp (file)

Direct superclasses

guild-channel (class)

Direct methods
  • %to-json (method)
  • user-limit (method)
  • user-limit (method)
  • bitrate (method)
  • bitrate (method)
Direct slots
Slot: bitrate
Type

fixnum

Initargs

:bitrate

Readers

bitrate (generic function)

Writers

(setf bitrate) (generic function)

Slot: user-limit
Type

fixnum

Initargs

:user-limit

Readers

user-limit (generic function)

Writers

(setf user-limit) (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.7 Types

Type: embed-image ()
Package

lispcord.classes

Source

embed.lisp (file)

Type: embed-thumbnail ()
Package

lispcord.classes

Source

embed.lisp (file)

Type: snowflake ()
Package

lispcord.util

Source

util.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *all-permissions*
Package

lispcord.classes

Source

permissions.lisp (file)

Special Variable: *bot-url*
Package

lispcord.core

Source

core.lisp (file)

Special Variable: *channels*
Package

lispcord.classes

Source

cache.lisp (file)

Special Variable: *cmd-prefix-table*
Package

lispcord

Source

lispcord.lisp (file)

Special Variable: *emojis*
Package

lispcord.classes

Source

cache.lisp (file)

Special Variable: *gateway-url*
Package

lispcord.gateway

Source

gateway.lisp (file)

Special Variable: *guilds*
Package

lispcord.classes

Source

cache.lisp (file)

Special Variable: *permission-values*
Package

lispcord.classes

Source

permissions.lisp (file)

Special Variable: *ratelimitlimits*

Am i taking the piss on discord with those names? Yes

Package

lispcord.ratelimits

Source

ratelimits.lisp (file)

Special Variable: *ratelimitsrems*

The keys are the routes

Package

lispcord.ratelimits

Source

ratelimits.lisp (file)

Special Variable: *ratelimitsresets*
Package

lispcord.ratelimits

Source

ratelimits.lisp (file)

Special Variable: *roles*
Package

lispcord.classes

Source

cache.lisp (file)

Special Variable: *users*
Package

lispcord.classes

Source

cache.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Macros

Macro: from-table-update (TABLE VAR) &body CLAUSES
Package

lispcord.classes

Source

core.lisp (file)

Macro: with-network-retry (&key DELAY REFRESH-GATEWAY RETRIES) &body BODY
Package

lispcord.gateway

Source

gateway.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Functions

Function: %available-from-json TABLE
Package

lispcord.classes

Source

guild.lisp (file)

Function: %dm-fj TABLE
Package

lispcord.classes

Source

channel.lisp (file)

Function: %group-dm-fj TABLE
Package

lispcord.classes

Source

channel.lisp (file)

Function: %guild-category-fj TABLE
Package

lispcord.classes

Source

channel.lisp (file)

Function: %guild-news-fj TABLE
Package

lispcord.classes

Source

channel.lisp (file)

Function: %guild-store-fj TABLE
Package

lispcord.classes

Source

channel.lisp (file)

Function: %guild-text-fj TABLE
Package

lispcord.classes

Source

channel.lisp (file)

Function: %guild-voice-fj TABLE
Package

lispcord.classes

Source

channel.lisp (file)

Function: %maybe-sf STRING

only parses the string if it’s there :D

Package

lispcord.classes

Source

core.lisp (file)

Function: %unavailable-from-json TABLE
Package

lispcord.classes

Source

guild.lisp (file)

Function: base-permissions MEMBER
Package

lispcord.classes

Source

permissions.lisp (file)

Function: bot-p OBJECT
Package

lispcord.core

Source

core.lisp (file)

Function: cache-data INSTANCE
Function: (setf cache-data) VALUE INSTANCE
Package

lispcord.classes

Source

cache.lisp (file)

Function: cache-lock INSTANCE
Function: (setf cache-lock) VALUE INSTANCE
Package

lispcord.classes

Source

cache.lisp (file)

Function: cache-p OBJECT
Package

lispcord.classes

Source

cache.lisp (file)

Function: clear FINAL
Package

lispcord.ratelimits

Source

ratelimits.lisp (file)

Function: compute-overwrites PERMISSIONS MEMBER CHANNEL
Package

lispcord.classes

Source

permissions.lisp (file)

Function: copy-bot INSTANCE
Package

lispcord.core

Source

core.lisp (file)

Function: copy-cache INSTANCE
Package

lispcord.classes

Source

cache.lisp (file)

Function: create-dm USER &optional BOT
Package

lispcord.http

Source

user.lisp (file)

Function: get-dms &optional BOT
Package

lispcord.http

Source

user.lisp (file)

Function: headers BOT
Package

lispcord.core

Source

core.lisp (file)

Function: key-cache KEY
Package

lispcord.classes

Source

cache.lisp (file)

Function: make-cache &optional N
Package

lispcord.classes

Source

cache.lisp (file)

Function: make-heartbeat-thread BOT SECONDS &optional STREAM
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: make-overwrite ID &optional ALLOW DENY TYPE
Package

lispcord.classes

Source

channel.lisp (file)

Function: make-status BOT STATUS GAME AFK
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: network-retry-loop FUNC DELAY REFRESH-GATEWAY RETRIES &optional RETRY
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: new-session BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-channel-create DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-channel-delete DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-channel-pin-update DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-dispatch BOT MSG
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-emoji-update DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-guild-ban DATA BOT KIND
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-heartbeat-ack BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-hello BOT MSG
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-member-add DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-member-remove DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-member-update DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-members-chunk DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-presence DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-reaction DATA BOT KIND
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-ready BOT PAYLOAD
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-recv BOT MSG
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-role-add DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-role-delete DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-role-update DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: on-typing-start DATA BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: permission-value KEY
Package

lispcord.classes

Source

permissions.lisp (file)

Function: permissions-add PERMISSIONS OTHER
Package

lispcord.classes

Source

permissions.lisp (file)

Function: permissions-overwrite PERMISSIONS OVERWRITES
Package

lispcord.classes

Source

permissions.lisp (file)

Function: permissions-remove PERMISSIONS OTHER
Package

lispcord.classes

Source

permissions.lisp (file)

Function: primitive-make-cache &key (DATA DATA) (LOCK LOCK)
Package

lispcord.classes

Source

cache.lisp (file)

Function: reconnect BOT &optional REASON CODE
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: reconnect-full BOT &optional REASON CODE

Used either when Discord refuses to send us Hello or on unknown errors.

Package

lispcord.gateway

Source

gateway.lisp (file)

Function: refresh-gateway-url ()
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: reset-rate-limits ()
Package

lispcord.ratelimits

Source

ratelimits.lisp (file)

Function: resolve-cache CACHE TABLE KEY
Package

lispcord.classes

Source

cache.lisp (file)

Function: send-heartbeat BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: send-identify BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: send-payload BOT &key OP DATA
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: send-resume BOT
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: send-status-update BOT &optional GAME STATUS
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: terminate-wsd-connection BOT &optional REASON CODE
Package

lispcord.gateway

Source

gateway.lisp (file)

Function: user-agent BOT
Package

lispcord.core

Source

core.lisp (file)

Function: user-or-webhook OBJ
Package

lispcord.classes

Source

message.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Generic functions

Generic Function: count OBJECT
Generic Function: (setf count) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: count (REACTION reaction)

automatically generated reader method

Source

message.lisp (file)

Method: (setf count) NEW-VALUE (REACTION reaction)

automatically generated writer method

Source

message.lisp (file)

Generic Function: icon-url OBJECT
Generic Function: (setf icon-url) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: icon-url (EMBED-AUTHOR embed-author)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf icon-url) NEW-VALUE (EMBED-AUTHOR embed-author)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: joined-at OBJECT
Generic Function: (setf joined-at) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: joined-at (AVAILABLE-GUILD available-guild)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf joined-at) NEW-VALUE (AVAILABLE-GUILD available-guild)

automatically generated writer method

Source

guild.lisp (file)

Method: joined-at (MEMBER member)

automatically generated reader method

Source

guild.lisp (file)

Method: (setf joined-at) NEW-VALUE (MEMBER member)

automatically generated writer method

Source

guild.lisp (file)

Generic Function: make-permissions PERMISSIONS
Package

lispcord.classes

Methods
Method: make-permissions (VALUE integer)
Source

permissions.lisp (file)

Method: make-permissions (PERMISSIONS list)
Source

permissions.lisp (file)

Generic Function: proxy-icon OBJECT
Generic Function: (setf proxy-icon) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: proxy-icon (EMBED-AUTHOR embed-author)

automatically generated reader method

Source

embed.lisp (file)

Method: (setf proxy-icon) NEW-VALUE (EMBED-AUTHOR embed-author)

automatically generated writer method

Source

embed.lisp (file)

Generic Function: role-everyone G
Package

lispcord.classes

Methods
Method: role-everyone (G guild)

Returns the @everyone role of the guild

Source

guild.lisp (file)

Generic Function: token OBJECT
Generic Function: (setf token) NEW-VALUE OBJECT
Package

lispcord.classes

Methods
Method: token (WEBHOOK webhook)

automatically generated reader method

Source

user.lisp (file)

Method: (setf token) NEW-VALUE (WEBHOOK webhook)

automatically generated writer method

Source

user.lisp (file)

Generic Function: update DATA OBJECT

Updates the internal fields of the object

Package

lispcord.classes

Source

core.lisp (file)

Methods
Method: update (TABLE hash-table) (G available-guild)
Source

guild.lisp (file)

Method: update (TABLE hash-table) (G guild)
Source

guild.lisp (file)

Method: update (TABLE hash-table) (M member)
Source

guild.lisp (file)

Method: update (TABLE hash-table) (R role)
Source

guild.lisp (file)

Method: update (TABLE hash-table) (C channel)
Source

channel.lisp (file)

Method: update (TABLE hash-table) (U user)
Source

user.lisp (file)

Method: update (TABLE hash-table) (E emoji)
Source

emoji.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Classes

Class: available-guild ()
Package

lispcord.classes

Source

guild.lisp (file)

Direct superclasses

guild (class)

Direct methods
Direct slots
Slot: name
Type

string

Initargs

:name

Readers

name (generic function)

Writers

(setf name) (generic function)

Slot: icon
Type

(or null string)

Initargs

:icon

Readers

icon (generic function)

Writers

(setf icon) (generic function)

Slot: splash
Type

(or null string)

Initargs

:splash

Readers

splash (generic function)

Writers

(setf splash) (generic function)

Slot: owner
Type

lispcord.util:snowflake

Initargs

:owner

Readers

owner-id (generic function)

Writers

(setf owner-id) (generic function)

Slot: region
Type

string

Initargs

:region

Readers

region (generic function)

Writers

(setf region) (generic function)

Slot: afk-id
Type

(or null lispcord.util:snowflake)

Initargs

:afk-id

Readers

afk-id (generic function)

Writers

(setf afk-id) (generic function)

Slot: afk-to
Type

fixnum

Initargs

:afk-to

Readers

afk-to (generic function)

Writers

(setf afk-to) (generic function)

Slot: embed?
Initargs

:embed?

Readers

embedp (generic function)

Writers

(setf embedp) (generic function)

Slot: embed-id
Type

(or null lispcord.util:snowflake)

Initargs

:embed-id

Readers

embed-id (generic function)

Writers

(setf embed-id) (generic function)

Slot: verification-level
Type

fixnum

Initargs

:verify-l

Readers

verify-level (generic function)

Writers

(setf verify-level) (generic function)

Slot: notification-level
Type

fixnum

Initargs

:notify-l

Readers

notify-level (generic function)

Writers

(setf notify-level) (generic function)

Slot: content-filter
Type

fixnum

Initargs

:content

Readers

content-filter (generic function)

Writers

(setf content-filter) (generic function)

Slot: roles
Type

(vector lispcord.classes:role)

Initargs

:roles

Readers

roles (generic function)

Writers

(setf roles) (generic function)

Slot: emojis
Type

(vector lispcord.classes:emoji)

Initargs

:emojis

Readers

emojis (generic function)

Writers

(setf emojis) (generic function)

Slot: features
Type

(or null (vector string))

Initargs

:features

Readers

features (generic function)

Writers

(setf features) (generic function)

Slot: mfa-level
Type

fixnum

Initargs

:mfa

Readers

mfa-level (generic function)

Writers

(setf mfa-level) (generic function)

Slot: application-id
Type