Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/4surix/arkscord
- Owner: 4surix
- Created: 2020-10-25T18:47:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-21T10:24:38.000Z (about 4 years ago)
- Last Synced: 2024-10-04T20:22:18.392Z (4 months ago)
- Topics: api, arkscript, discord
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
```