aboutsummaryrefslogtreecommitdiffstats
path: root/api/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/models.py')
-rw-r--r--api/models.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/api/models.py b/api/models.py
index 6d07beff..877e3622 100644
--- a/api/models.py
+++ b/api/models.py
@@ -1,6 +1,16 @@
from django.db import models
+class DocumentationLink(models.Model):
+ """A documentation link used by the `!docs` command of the bot."""
+
+ package = models.CharField(primary_key=True, max_length=50)
+ base_url = models.URLField()
+ inventory_url = models.URLField()
+
+
class SnakeName(models.Model):
+ """A snake name used by the bot's snake cog."""
+
name = models.CharField(primary_key=True, max_length=100)
scientific = models.CharField(max_length=150)