Skip to content

Commit 102247b

Browse files
authored
Merge pull request #3 from anuj-weebjs/ts
os v2 is here!
2 parents f9c870b + b22edc7 commit 102247b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2146
-1951
lines changed

.gitignore

Lines changed: 65 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,68 @@
1-
Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
.pnpm-debug.log*
9-
10-
# Diagnostic reports (https://nodejs.org/api/report.html)
11-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12-
13-
# Runtime data
14-
pids
15-
*.pid
16-
*.seed
17-
*.pid.lock
18-
19-
# Directory for instrumented libs generated by jscoverage/JSCover
20-
lib-cov
21-
22-
# Coverage directory used by tools like istanbul
23-
coverage
24-
*.lcov
25-
26-
# nyc test coverage
27-
.nyc_output
28-
29-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30-
.grunt
31-
32-
# Bower dependency directory (https://bower.io/)
33-
bower_components
34-
35-
# node-waf configuration
36-
.lock-wscript
37-
38-
# Compiled binary addons (https://nodejs.org/api/addons.html)
39-
build/Release
40-
41-
# Dependency directories
421
node_modules/
43-
jspm_packages/
44-
45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
47-
48-
# TypeScript cache
49-
*.tsbuildinfo
50-
51-
# Optional npm cache directory
52-
.npm
53-
54-
# Optional eslint cache
2+
.node_modules/
3+
built/*
4+
tests/cases/rwc/*
5+
tests/cases/perf/*
6+
!tests/cases/webharness/compilerToString.js
7+
test-args.txt
8+
~*.docx
9+
\#*\#
10+
.\#*
11+
tests/baselines/local/*
12+
tests/baselines/local.old/*
13+
tests/services/baselines/local/*
14+
tests/baselines/prototyping/local/*
15+
tests/baselines/rwc/*
16+
tests/baselines/reference/projectOutput/*
17+
tests/baselines/local/projectOutput/*
18+
tests/baselines/reference/testresults.tap
19+
tests/baselines/symlinks/*
20+
tests/services/baselines/prototyping/local/*
21+
tests/services/browser/typescriptServices.js
22+
src/harness/*.js
23+
src/compiler/diagnosticInformationMap.generated.ts
24+
src/compiler/diagnosticMessages.generated.json
25+
src/parser/diagnosticInformationMap.generated.ts
26+
src/parser/diagnosticMessages.generated.json
27+
rwc-report.html
28+
*.swp
29+
build.json
30+
*.actual
31+
tests/webTestServer.js
32+
tests/webTestServer.js.map
33+
tests/webhost/*.d.ts
34+
tests/webhost/webtsc.js
35+
tests/cases/**/*.js
36+
tests/cases/**/*.js.map
37+
*.config
38+
scripts/eslint/built/
39+
scripts/debug.bat
40+
scripts/run.bat
41+
scripts/**/*.js
42+
scripts/**/*.js.map
43+
coverage/
44+
internal/
45+
**/.DS_Store
46+
.settings
47+
**/.vs
48+
**/.vscode/*
49+
!**/.vscode/tasks.json
50+
!**/.vscode/settings.template.json
51+
!**/.vscode/launch.template.json
52+
!**/.vscode/extensions.json
53+
!tests/cases/projects/projectOption/**/node_modules
54+
!tests/cases/projects/NodeModulesSearch/**/*
55+
!tests/baselines/reference/project/nodeModules*/**/*
56+
.idea
57+
yarn.lock
58+
yarn-error.log
59+
.parallelperf.*
60+
tests/baselines/reference/dt
61+
.failed-tests
62+
TEST-results.xml
63+
package-lock.json
5564
.eslintcache
56-
57-
# Optional stylelint cache
58-
.stylelintcache
59-
60-
# Microbundle cache
61-
.rpt2_cache/
62-
.rts2_cache_cjs/
63-
.rts2_cache_es/
64-
.rts2_cache_umd/
65-
66-
# Optional REPL history
67-
.node_repl_history
68-
69-
# Output of 'npm pack'
70-
*.tgz
71-
72-
# Yarn Integrity file
73-
.yarn-integrity
74-
75-
# dotenv environment variable files
65+
*v8.log
66+
/lib/
7667
.env
77-
.env.development.local
78-
.env.test.local
79-
.env.production.local
80-
.env.local
81-
82-
# parcel-bundler cache (https://parceljs.org/)
83-
.cache
84-
.parcel-cache
85-
86-
# Next.js build output
87-
.next
88-
out
89-
90-
# Nuxt.js build / generate output
91-
.nuxt
92-
dist
93-
94-
# Gatsby files
95-
.cache/
96-
# Comment in the public line in if your project uses Gatsby and not Next.js
97-
# https://nextjs.org/blog/next-9-1#public-directory-support
98-
# public
99-
100-
# vuepress build output
101-
.vuepress/dist
102-
103-
# vuepress v2.x temp and cache directory
104-
.temp
105-
.cache
106-
107-
# Docusaurus cache and generated files
108-
.docusaurus
109-
110-
# Serverless directories
111-
.serverless/
112-
113-
# FuseBox cache
114-
.fusebox/
115-
116-
# DynamoDB Local files
117-
.dynamodb/
118-
119-
# TernJS port file
120-
.tern-port
121-
122-
# Stores VSCode versions used for testing VSCode extensions
123-
.vscode-test
124-
.vs
125-
126-
# yarn v2
127-
.yarn/cache
128-
.yarn/unplugged
129-
.yarn/build-state.yml
130-
.yarn/install-state.gz
131-
.pnp.*
68+
*.js

Action Commands.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# osBot
2-
<b>It is a prefix based Discord Bot Created in Node.js</b>
1+
# [Invite](https://discord.com/oauth2/authorize?client_id=1227972298653302826) | [Vote](https://top.gg/bot/1227972298653302826/vote)
2+
<b>Os is an Open Source prefix based Discord Bot With Lot Of Fun Features Like Meme, Afk, Actions, Emotion etc.</b>
3+
It is written in Typescript, intentionally made to solve day to day problems with the help of apis and database integration.
4+
35

46
# Setting up Locally
57
<p><b>Node.js is nessesory to run The bot</b></p>
@@ -16,14 +18,16 @@ TOKEN=YOURTOKENHERELIKETHIS
1618
```env
1719
MONGO_DB_CONNECTION_STRING=YOURCONNECTIONSTRINGHERELIKETHIS
1820
```
19-
- Now open terminal in osBot folder and type following commands
20-
```cmd
21-
npm install
21+
22+
- Now open terminal in osBot folder and type following commands To install Dependencies and Make a Build.
23+
```terminal
24+
npm run build
2225
```
2326
- And Finally Startup The Bot By typing following command in your terminal
24-
```cmd
25-
node src/index
27+
```terminal
28+
npm start
2629
```
30+
- Make sure to Change values in <B>config.json</b> as you like
2731
- And all set!
2832

2933

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{
2-
"PREFIX":"os",
3-
"activities":{
4-
"name":"os Help"
5-
},
6-
"status":"dnd",
7-
"adminId": "808318773257437216"
1+
{
2+
"PREFIX":"os",
3+
"activities":{
4+
"name":"os Help"
5+
},
6+
"status":"dnd",
7+
"developerId": "808318773257437216"
88
}

example.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TOKEN=
2+
MONGO_DB_CONNECTION_STRING=

0 commit comments

Comments
 (0)