diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ea0a62 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +config.json +.idea/ \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..863b2c1 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 数据源本地存储已忽略文件 +/../../../../:\Workspace\x61bot\.idea/dataSources/ +/dataSources.local.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ + +* \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml new file mode 100644 index 0000000..95e22c3 --- /dev/null +++ b/.idea/dataSources.xml @@ -0,0 +1,17 @@ + + + + + sqlite.xerial + true + org.sqlite.JDBC + jdbc:sqlite:C:\Workspace\x61bot\DB.sqlite3 + $ProjectFileDir$ + + + file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.34.0/sqlite-jdbc-3.34.0.jar + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..d1e22ec --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..b514fb2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/x61bot.iml b/.idea/x61bot.iml new file mode 100644 index 0000000..4d555da --- /dev/null +++ b/.idea/x61bot.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/DB.sqlite3 b/DB.sqlite3 new file mode 100644 index 0000000..da57a56 Binary files /dev/null and b/DB.sqlite3 differ diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..140b8af --- /dev/null +++ b/config.example.json @@ -0,0 +1,14 @@ +{ + "misskey.io": { + "name": "misskey.io", + "url" : "https://misskey.io", + "token": "9v1t2poJeEh5RI74VqBCzJLHk9N6Weds", + "channel": "8hrcz5rdvp" + }, + "misskey.dev": { + "name": "misskey.dev", + "url" : "https://misskey.dev", + "token": "qnZl1OmgnAlTRbRO", + "channel": false + } +} \ No newline at end of file diff --git a/index.php b/index.php deleted file mode 100644 index dd43623..0000000 --- a/index.php +++ /dev/null @@ -1,5 +0,0 @@ -