From fca889931e385b27e3375de2b2dc946057689404 Mon Sep 17 00:00:00 2001 From: chroventer Date: Fri, 2 Oct 2020 02:05:17 -0700 Subject: [PATCH] =?UTF-8?q?README=20badges=20=F0=9F=8E=89=F0=9F=8E=89?= =?UTF-8?q?=F0=9F=8E=89=F0=9F=8E=89=F0=9F=8E=89=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index d7c3ed0c0..662026ec3 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,13 @@ # Discordeno -Discord API library wrapper in Deno +> Discord API library wrapper in Deno -[Discord Server](https://discord.gg/J4NqJ72) +[![Discord](https://img.shields.io/discord/223909216866402304?color=7289da&logo=discord&logoColor=white)](https://discord.gg/J4NqJ72) +![Testing/Linting](https://github.com/Skillz4Killz/Discordeno/workflows/Testing/Linting/badge.svg) +[![nest.land](https://nest.land/badge-large.svg)](https://nest.land/package/Discordeno) [Website](https://discordeno.netlify.app) -[![nest badge](https://nest.land/badge-large.svg)](https://nest.land/package/Discordeno) -![Testing](https://github.com/Skillz4Killz/Discordeno/workflows/Testing/Linting/badge.svg) - ## Beginner Developers Don't worry a lot of developers start out coding their first projects as a Discord bot(I did 😉) and it is not so easy. With Discordeno, I tried to build it in a way that solved all the headaches I had when first starting out coding bots. If you are a beginner developer, please use a boilerplate: The official one is at: [GitHub](https://github.com/Skillz4Killz/Discordeno-bot-template) but there will be more listed on the website. It is a beautiful website indeed! Check it out! @@ -43,12 +42,15 @@ Don't worry a lot of developers start out coding their first projects as a Disco - Supports nested folders to keep cleaner translation files **Hot Reloadable** - - Easily update your code without having to restart the bot everytime. + +- Easily update your code without having to restart the bot everytime. **Step By Step Guide** - - There is a step by step walkthrough to learn how to create Discord bots with Discordeno on our website! + +- There is a step by step walkthrough to learn how to create Discord bots with Discordeno on our website! ## Advanced Developers + The instructions below are meant for advanced developers! 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: @@ -60,18 +62,18 @@ import { Intents } from "https://x.nest.land/Discordeno@9.0.1/src/types/options. import config from "./config.ts"; StartBot({ - token: config.token, - intents: [Intents.GUILD_MESSAGES, Intents.GUILDS], - eventHandlers: { - ready: () => { - console.log(`Logged!`); - }, - messageCreate: (message) => { - if (message.content === "!ping") { - sendMessage(message.channelID, "Pong"); - } - } - } + token: config.token, + intents: [Intents.GUILD_MESSAGES, Intents.GUILDS], + eventHandlers: { + ready: () => { + console.log(`Logged!`); + }, + messageCreate: (message) => { + if (message.content === "!ping") { + sendMessage(message.channelID, "Pong"); + } + }, + }, }); ```