mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
docs: boilerplate -> template
This commit is contained in:
@@ -15,7 +15,7 @@ Discordeno follows [Semantic Versioning](https://semver.org/)
|
||||
- [Features](#features)
|
||||
- [Getting Started](#getting-started)
|
||||
- [Minimal Example](#minimal-example)
|
||||
- [Boilerplates](#boilerplates)
|
||||
- [Templates](#templates)
|
||||
- [Links](#links)
|
||||
- [Contributing](#contributing)
|
||||
|
||||
@@ -60,18 +60,18 @@ startBot({
|
||||
});
|
||||
```
|
||||
|
||||
### Boilerplates
|
||||
### Templates
|
||||
|
||||
Note to developers: don't worry a lot of developers start out programming a
|
||||
Discord bot as their first project (I did 😉) and it is not so easy to do so.
|
||||
Discordeno is designed and built considering all the issues that I and a lot of
|
||||
developers had when I first started out coding Discord bots with existing
|
||||
libraries. If you are a beginner, you can check out these awesome official and
|
||||
unofficial boilerplates:
|
||||
unofficial templates:
|
||||
|
||||
- [Discordeno Boilerplate (official)](https://github.com/discordeno/boilerplate)
|
||||
- [Serverless Slash Commands Boilerplate
|
||||
(official)](https://github.com/discordeno/slash-commands-boilerplate)
|
||||
- [Discordeno Template (official)](https://github.com/discordeno/template)
|
||||
- [Serverless Slash Commands Template
|
||||
(official)](https://github.com/discordeno/slash-commands-template)
|
||||
- [Add Your Own!](https://github.com/discordeno/discordeno/pulls)
|
||||
|
||||
## Links
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ experience for end users.
|
||||
## Why Doesn't Discordeno Use Classes or EventEmitter?
|
||||
|
||||
This is a design decision for the lib itself. You can still use class if you
|
||||
want on your bot. In fact, I hope someone makes a framework/boilerplate for this
|
||||
want on your bot. In fact, I hope someone makes a framework/templates for this
|
||||
lib one day using classes so that devs have a choice on which style they prefer.
|
||||
Without trying to write an entire thesis statement on the reasons why I avoided
|
||||
Classes in this lib, I will just link to the best resources I believe help
|
||||
|
||||
@@ -42,7 +42,7 @@ import { startBot } from "https://deno.land/x/discordeno@10.0.0/mod.ts";
|
||||
## Example Usage
|
||||
|
||||
Starting with Discordeno is very simple, you can start from scratch without any
|
||||
boilerplates/frameworks: Add this snippet of code into a new TypeScript file:
|
||||
templates/frameworks: Add this snippet of code into a new TypeScript file:
|
||||
|
||||
```ts
|
||||
import { startBot } from "https://deno.land/x/discordeno/mod.ts";
|
||||
|
||||
@@ -22,7 +22,7 @@ For the purposes of this guide, I will be using the current
|
||||
## Preparations
|
||||
|
||||
- First, create a Discordeno Bot using the
|
||||
[Generator Boilerplate](https://github.com/discordeno/boilerplate) I will name
|
||||
[Generator Template](https://github.com/discordeno/template) I will name
|
||||
it Zodiac.
|
||||
|
||||
- Then `git clone https://github.com/Skillz4Killz/Zodiac.git`
|
||||
@@ -329,7 +329,7 @@ createCommand({
|
||||
|
||||
Awesome, that is a full command converted from Discord.JS to Discordeno. See how
|
||||
easy it is! Let's convert one more command to see how to really take full
|
||||
advantage of Discordeno boilerplate and have something amazing.
|
||||
advantage of Discordeno template and have something amazing.
|
||||
|
||||
Discord.JS Kick Command Version
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ you go through this guide it will make a lot more sense.
|
||||
> If you don't have these yet please prepare them first before going forward.
|
||||
|
||||
- First, create a Discordeno Bot using the
|
||||
[Generator Boilerplate](https://github.com/discordeno/boilerplate/generate).
|
||||
[Generator Template](https://github.com/discordeno/template/generate).
|
||||
Give it any name you like. For the purpose of this guide we will call it,
|
||||
Stargate.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user