gizmo385 / discord.clj

A Clojure library for creating Discord bots
MIT License
45 stars 14 forks source link

bot/create-bot throwing NoClassDefFoundError #28

Open FullKickProductions opened 2 years ago

FullKickProductions commented 2 years ago

Trying to set up a notifications bot using this library. Not sure if I'm missing an import or something?

(ns gcloud-monitoring.core
  (:require [ring.adapter.jetty :refer [run-jetty]]
            [ring.util.request]
            [clojure.data.json :as json]
            [discord.http]
            [discord.bot :as bot]
            [discord.types]))

(bot/create-bot "CloudNotifications"
                "!"
                (discord.types/configuration-auth)) => Execution error (NoClassDefFoundError) at org.eclipse.jetty.websocket.common.extensions.fragment.FragmentExtension/<init> (FragmentExtension.java:44).