aboutsummaryrefslogtreecommitdiff
path: root/numerics.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 08:45:13 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 01:20:26 +0800
commitd810d12355873d3eaf61ed3f7f0ae52db06c2c96 (patch)
tree5cfa6d11c31377b459b06f4e3399bcc0542c57d8 /numerics.go
parentSlight refactor (diff)
downloadmeseircd-d810d12355873d3eaf61ed3f7f0ae52db06c2c96.tar.gz
meseircd-d810d12355873d3eaf61ed3f7f0ae52db06c2c96.tar.zst
meseircd-d810d12355873d3eaf61ed3f7f0ae52db06c2c96.zip
Add basic command handling
Diffstat (limited to 'numerics.go')
-rw-r--r--numerics.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/numerics.go b/numerics.go
new file mode 100644
index 0000000..ec3a09f
--- /dev/null
+++ b/numerics.go
@@ -0,0 +1,7 @@
+package main
+
+const (
+ ERR_UNKNOWNCOMMAND = "421"
+ ERR_INPUTTOOLONG = "417"
+ ERR_NEEDMOREPARAMS = "461"
+)