Skip to content

Instantly share code, notes, and snippets.

@gewenyu99
Last active March 28, 2022 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gewenyu99/ca71f345103bd6af46ad818963c934a8 to your computer and use it in GitHub Desktop.
Save gewenyu99/ca71f345103bd6af46ad818963c934a8 to your computer and use it in GitHub Desktop.
Collection for Discord Bot
{
"projectId": "discord-bot-with-appwrite",
"projectName": "",
"functions": [
{
"$id": "discord-bot-function",
"name": "discord-bot",
"runtime": "node-16.0",
"path": "functions/discord-bot",
"entrypoint": "src/index.js",
"execute": [],
"vars": {},
"events": [],
"schedule": "",
"timeout": 15
}
],
"collections": [
{
"$id": "warning-collection",
"$read": [],
"$write": [],
"name": "Warnings",
"enabled": true,
"permission": "collection",
"attributes": [
{
"key": "member",
"type": "string",
"status": "available",
"required": true,
"array": false,
"size": 255,
"default": null
},
{
"key": "warnings",
"type": "integer",
"status": "available",
"required": true,
"array": false,
"min": 0,
"max": 999,
"default": null
},
{
"key": "reasons",
"type": "string",
"status": "available",
"required": true,
"array": true,
"size": 255,
"default": null
}
],
"indexes": [
{
"key": "member",
"type": "key",
"status": "available",
"attributes": [
"member"
],
"orders": [
"ASC"
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment