Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/4surix/arkscord

Interagir avec l'API Discord en ArkScript
https://github.com/4surix/arkscord

api arkscript discord

Last synced: 4 months ago
JSON representation

Interagir avec l'API Discord en ArkScript

Awesome Lists containing this project

README

        

# Arkscord
**ArkSc**ript + Di**scord** = **Arkscord**
Module servant à interagir avec l'API [Discord](https://discord.com/) en langage [ArkScript](https://github.com/ArkScript-lang/Ark).

# Aperçu
```clojure
(let token "TOKEN-BOT-DISCORD")
(let bot (create-bot token))
(bot.listen-channels-ids [
"513284461555744768"
])
(bot.on-message (fun (message) {
(print message.author.name ": " message.content)
}))
(bot.run)
```