summary refs log tree commit diff
path: root/src/util/plugin/plugin_data_objects
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-13 17:16:23 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-09-04 10:48:54 +0200
commit8769c7625cafd14e6f304601cc99a195e833d38b (patch)
tree94d37b1ef271490a032cde0605e1b1fb0fe01e0c /src/util/plugin/plugin_data_objects
parentPlugins finally load! (diff)
downloadserver-ts-8769c7625cafd14e6f304601cc99a195e833d38b.tar.xz
Fix config table, add plugin events, implement onPreMessageEvent, add
http error data field, migrations
Diffstat (limited to 'src/util/plugin/plugin_data_objects')
-rw-r--r--src/util/plugin/plugin_data_objects/ChannelCreateEventArgs.ts7
-rw-r--r--src/util/plugin/plugin_data_objects/GuildCreateEventArgs.ts7
-rw-r--r--src/util/plugin/plugin_data_objects/LoginEventArgs.ts7
-rw-r--r--src/util/plugin/plugin_data_objects/MessageEventArgs.ts7
-rw-r--r--src/util/plugin/plugin_data_objects/PluginLoadedEventArgs.ts3
-rw-r--r--src/util/plugin/plugin_data_objects/RegisterEventArgs.ts7
-rw-r--r--src/util/plugin/plugin_data_objects/TypingEventArgs.ts7
-rwxr-xr-xsrc/util/plugin/plugin_data_objects/_gen.sh21
-rw-r--r--src/util/plugin/plugin_data_objects/_pdo7
-rw-r--r--src/util/plugin/plugin_data_objects/_todo.txt1
-rw-r--r--src/util/plugin/plugin_data_objects/index.ts7
11 files changed, 0 insertions, 81 deletions
diff --git a/src/util/plugin/plugin_data_objects/ChannelCreateEventArgs.ts b/src/util/plugin/plugin_data_objects/ChannelCreateEventArgs.ts
deleted file mode 100644

index ce7dec87..00000000 --- a/src/util/plugin/plugin_data_objects/ChannelCreateEventArgs.ts +++ /dev/null
@@ -1,7 +0,0 @@ -export interface PreChannelCreateEventArgs { - -} - -export interface OnChannelCreateEventArgs { - -} diff --git a/src/util/plugin/plugin_data_objects/GuildCreateEventArgs.ts b/src/util/plugin/plugin_data_objects/GuildCreateEventArgs.ts deleted file mode 100644
index e10e675a..00000000 --- a/src/util/plugin/plugin_data_objects/GuildCreateEventArgs.ts +++ /dev/null
@@ -1,7 +0,0 @@ -export interface PreGuildCreateEventArgs { - -} - -export interface OnGuildCreateEventArgs { - -} diff --git a/src/util/plugin/plugin_data_objects/LoginEventArgs.ts b/src/util/plugin/plugin_data_objects/LoginEventArgs.ts deleted file mode 100644
index 391b852e..00000000 --- a/src/util/plugin/plugin_data_objects/LoginEventArgs.ts +++ /dev/null
@@ -1,7 +0,0 @@ -export interface PreLoginEventArgs { - -} - -export interface OnLoginEventArgs { - -} diff --git a/src/util/plugin/plugin_data_objects/MessageEventArgs.ts b/src/util/plugin/plugin_data_objects/MessageEventArgs.ts deleted file mode 100644
index 0a3498c2..00000000 --- a/src/util/plugin/plugin_data_objects/MessageEventArgs.ts +++ /dev/null
@@ -1,7 +0,0 @@ -export interface PreMessageEventArgs { - -} - -export interface OnMessageEventArgs { - -} diff --git a/src/util/plugin/plugin_data_objects/PluginLoadedEventArgs.ts b/src/util/plugin/plugin_data_objects/PluginLoadedEventArgs.ts deleted file mode 100644
index 58829f15..00000000 --- a/src/util/plugin/plugin_data_objects/PluginLoadedEventArgs.ts +++ /dev/null
@@ -1,3 +0,0 @@ -export interface PluginLoadedEventArgs { - -} \ No newline at end of file diff --git a/src/util/plugin/plugin_data_objects/RegisterEventArgs.ts b/src/util/plugin/plugin_data_objects/RegisterEventArgs.ts deleted file mode 100644
index 7f7c0c76..00000000 --- a/src/util/plugin/plugin_data_objects/RegisterEventArgs.ts +++ /dev/null
@@ -1,7 +0,0 @@ -export interface PreRegisterEventArgs { - -} - -export interface OnRegisterEventArgs { - -} diff --git a/src/util/plugin/plugin_data_objects/TypingEventArgs.ts b/src/util/plugin/plugin_data_objects/TypingEventArgs.ts deleted file mode 100644
index f6660692..00000000 --- a/src/util/plugin/plugin_data_objects/TypingEventArgs.ts +++ /dev/null
@@ -1,7 +0,0 @@ -export interface PreTypingEventArgs { - -} - -export interface OnTypingEventArgs { - -} diff --git a/src/util/plugin/plugin_data_objects/_gen.sh b/src/util/plugin/plugin_data_objects/_gen.sh deleted file mode 100755
index 9fbd1749..00000000 --- a/src/util/plugin/plugin_data_objects/_gen.sh +++ /dev/null
@@ -1,21 +0,0 @@ -#!/bin/sh -while read event -do - if [ ! -f "${event}EventArgs.ts" ] - then - echo Making event $event... - ( - echo "export interface Pre${event}EventArgs {" - echo ' ' - echo '}' - echo '' - echo "export interface On${event}EventArgs {" - echo ' ' - echo '}' - ) > ${event}EventArgs.ts - fi -done < _pdo - -echo '' - -node ../../../../scripts/gen_index.js .. --recursive \ No newline at end of file diff --git a/src/util/plugin/plugin_data_objects/_pdo b/src/util/plugin/plugin_data_objects/_pdo deleted file mode 100644
index fa207f77..00000000 --- a/src/util/plugin/plugin_data_objects/_pdo +++ /dev/null
@@ -1,7 +0,0 @@ -Register -Message -Login -GuildCreate -ChannelCreate -Typing -StatusChange \ No newline at end of file diff --git a/src/util/plugin/plugin_data_objects/_todo.txt b/src/util/plugin/plugin_data_objects/_todo.txt deleted file mode 100644
index a6a78c7e..00000000 --- a/src/util/plugin/plugin_data_objects/_todo.txt +++ /dev/null
@@ -1 +0,0 @@ -Voice events when we do voice. \ No newline at end of file diff --git a/src/util/plugin/plugin_data_objects/index.ts b/src/util/plugin/plugin_data_objects/index.ts deleted file mode 100644
index c75d43f9..00000000 --- a/src/util/plugin/plugin_data_objects/index.ts +++ /dev/null
@@ -1,7 +0,0 @@ -export * from "./ChannelCreateEventArgs"; -export * from "./GuildCreateEventArgs"; -export * from "./LoginEventArgs"; -export * from "./MessageEventArgs"; -export * from "./PluginLoadedEventArgs"; -export * from "./RegisterEventArgs"; -export * from "./TypingEventArgs";