├── .gitignore ├── EP 1 ├── .gitignore ├── nodemon.json ├── package-lock.json ├── package.json ├── src │ └── index.ts └── tsconfig.json ├── EP 2 ├── .example.env ├── .gitignore ├── nodemon.json ├── package-lock.json ├── package.json ├── src │ ├── client │ │ └── index.ts │ ├── events │ │ ├── index.ts │ │ └── ready.ts │ ├── index.ts │ ├── keys │ │ └── index.ts │ ├── types │ │ ├── events.ts │ │ ├── index.ts │ │ └── keys.ts │ └── utils │ │ ├── event.ts │ │ └── index.ts └── tsconfig.json ├── EP 3 ├── .example.env ├── .gitignore ├── nodemon.json ├── package-lock.json ├── package.json ├── src │ ├── client │ │ └── index.ts │ ├── commands │ │ ├── debug │ │ │ ├── index.ts │ │ │ └── ping.ts │ │ └── index.ts │ ├── events │ │ ├── index.ts │ │ ├── interactionCreate.ts │ │ └── ready.ts │ ├── index.ts │ ├── keys │ │ └── index.ts │ ├── scripts │ │ └── deploy.ts │ ├── types │ │ ├── commands.ts │ │ ├── events.ts │ │ ├── index.ts │ │ └── keys.ts │ └── utils │ │ ├── command.ts │ │ ├── event.ts │ │ ├── index.ts │ │ └── replies.ts └── tsconfig.json └── EP 4 ├── .example.env ├── .gitignore ├── nodemon.json ├── package-lock.json ├── package.json ├── src ├── client │ └── index.ts ├── commands │ ├── debug │ │ ├── index.ts │ │ └── ping.ts │ ├── general │ │ ├── help.ts │ │ └── index.ts │ └── index.ts ├── events │ ├── index.ts │ ├── interactionCreate │ │ ├── commands.ts │ │ ├── help.ts │ │ └── index.ts │ └── ready.ts ├── index.ts ├── keys │ └── index.ts ├── pages │ └── help.ts ├── scripts │ └── deploy.ts ├── types │ ├── commands.ts │ ├── events.ts │ ├── index.ts │ └── keys.ts └── utils │ ├── chunk.ts │ ├── command.ts │ ├── event.ts │ ├── index.ts │ ├── interaction.ts │ └── replies.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Incase accidently copy over 2 | .env -------------------------------------------------------------------------------- /EP 1/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ -------------------------------------------------------------------------------- /EP 1/nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 1/nodemon.json -------------------------------------------------------------------------------- /EP 1/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 1/package-lock.json -------------------------------------------------------------------------------- /EP 1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 1/package.json -------------------------------------------------------------------------------- /EP 1/src/index.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /EP 1/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 1/tsconfig.json -------------------------------------------------------------------------------- /EP 2/.example.env: -------------------------------------------------------------------------------- 1 | CLIENT_TOKEN="client_token" -------------------------------------------------------------------------------- /EP 2/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | .env -------------------------------------------------------------------------------- /EP 2/nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/nodemon.json -------------------------------------------------------------------------------- /EP 2/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/package-lock.json -------------------------------------------------------------------------------- /EP 2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/package.json -------------------------------------------------------------------------------- /EP 2/src/client/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/client/index.ts -------------------------------------------------------------------------------- /EP 2/src/events/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/events/index.ts -------------------------------------------------------------------------------- /EP 2/src/events/ready.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/events/ready.ts -------------------------------------------------------------------------------- /EP 2/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/index.ts -------------------------------------------------------------------------------- /EP 2/src/keys/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/keys/index.ts -------------------------------------------------------------------------------- /EP 2/src/types/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/types/events.ts -------------------------------------------------------------------------------- /EP 2/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/types/index.ts -------------------------------------------------------------------------------- /EP 2/src/types/keys.ts: -------------------------------------------------------------------------------- 1 | export interface Keys { 2 | clientToken: string 3 | } -------------------------------------------------------------------------------- /EP 2/src/utils/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/src/utils/event.ts -------------------------------------------------------------------------------- /EP 2/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './event' 2 | -------------------------------------------------------------------------------- /EP 2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 2/tsconfig.json -------------------------------------------------------------------------------- /EP 3/.example.env: -------------------------------------------------------------------------------- 1 | CLIENT_TOKEN="client_token" 2 | TEST_GUILD="123456789" -------------------------------------------------------------------------------- /EP 3/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | .env -------------------------------------------------------------------------------- /EP 3/nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/nodemon.json -------------------------------------------------------------------------------- /EP 3/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/package-lock.json -------------------------------------------------------------------------------- /EP 3/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/package.json -------------------------------------------------------------------------------- /EP 3/src/client/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/client/index.ts -------------------------------------------------------------------------------- /EP 3/src/commands/debug/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/commands/debug/index.ts -------------------------------------------------------------------------------- /EP 3/src/commands/debug/ping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/commands/debug/ping.ts -------------------------------------------------------------------------------- /EP 3/src/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/commands/index.ts -------------------------------------------------------------------------------- /EP 3/src/events/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/events/index.ts -------------------------------------------------------------------------------- /EP 3/src/events/interactionCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/events/interactionCreate.ts -------------------------------------------------------------------------------- /EP 3/src/events/ready.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/events/ready.ts -------------------------------------------------------------------------------- /EP 3/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/index.ts -------------------------------------------------------------------------------- /EP 3/src/keys/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/keys/index.ts -------------------------------------------------------------------------------- /EP 3/src/scripts/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/scripts/deploy.ts -------------------------------------------------------------------------------- /EP 3/src/types/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/types/commands.ts -------------------------------------------------------------------------------- /EP 3/src/types/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/types/events.ts -------------------------------------------------------------------------------- /EP 3/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/types/index.ts -------------------------------------------------------------------------------- /EP 3/src/types/keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/types/keys.ts -------------------------------------------------------------------------------- /EP 3/src/utils/command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/utils/command.ts -------------------------------------------------------------------------------- /EP 3/src/utils/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/utils/event.ts -------------------------------------------------------------------------------- /EP 3/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/utils/index.ts -------------------------------------------------------------------------------- /EP 3/src/utils/replies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/src/utils/replies.ts -------------------------------------------------------------------------------- /EP 3/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 3/tsconfig.json -------------------------------------------------------------------------------- /EP 4/.example.env: -------------------------------------------------------------------------------- 1 | CLIENT_TOKEN="client_token" 2 | TEST_GUILD="123456789" -------------------------------------------------------------------------------- /EP 4/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | .env -------------------------------------------------------------------------------- /EP 4/nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/nodemon.json -------------------------------------------------------------------------------- /EP 4/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/package-lock.json -------------------------------------------------------------------------------- /EP 4/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/package.json -------------------------------------------------------------------------------- /EP 4/src/client/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/client/index.ts -------------------------------------------------------------------------------- /EP 4/src/commands/debug/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/commands/debug/index.ts -------------------------------------------------------------------------------- /EP 4/src/commands/debug/ping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/commands/debug/ping.ts -------------------------------------------------------------------------------- /EP 4/src/commands/general/help.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/commands/general/help.ts -------------------------------------------------------------------------------- /EP 4/src/commands/general/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/commands/general/index.ts -------------------------------------------------------------------------------- /EP 4/src/commands/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/commands/index.ts -------------------------------------------------------------------------------- /EP 4/src/events/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/events/index.ts -------------------------------------------------------------------------------- /EP 4/src/events/interactionCreate/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/events/interactionCreate/commands.ts -------------------------------------------------------------------------------- /EP 4/src/events/interactionCreate/help.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/events/interactionCreate/help.ts -------------------------------------------------------------------------------- /EP 4/src/events/interactionCreate/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/events/interactionCreate/index.ts -------------------------------------------------------------------------------- /EP 4/src/events/ready.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/events/ready.ts -------------------------------------------------------------------------------- /EP 4/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/index.ts -------------------------------------------------------------------------------- /EP 4/src/keys/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/keys/index.ts -------------------------------------------------------------------------------- /EP 4/src/pages/help.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/pages/help.ts -------------------------------------------------------------------------------- /EP 4/src/scripts/deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/scripts/deploy.ts -------------------------------------------------------------------------------- /EP 4/src/types/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/types/commands.ts -------------------------------------------------------------------------------- /EP 4/src/types/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/types/events.ts -------------------------------------------------------------------------------- /EP 4/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/types/index.ts -------------------------------------------------------------------------------- /EP 4/src/types/keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/types/keys.ts -------------------------------------------------------------------------------- /EP 4/src/utils/chunk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/utils/chunk.ts -------------------------------------------------------------------------------- /EP 4/src/utils/command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/utils/command.ts -------------------------------------------------------------------------------- /EP 4/src/utils/event.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/utils/event.ts -------------------------------------------------------------------------------- /EP 4/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/utils/index.ts -------------------------------------------------------------------------------- /EP 4/src/utils/interaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/utils/interaction.ts -------------------------------------------------------------------------------- /EP 4/src/utils/replies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/src/utils/replies.ts -------------------------------------------------------------------------------- /EP 4/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nobu-sh/tutorial-bot/HEAD/EP 4/tsconfig.json --------------------------------------------------------------------------------