Skip to content

Commit b033549

Browse files
committed
bump: 0.1
it's done
1 parent 854f939 commit b033549

File tree

2 files changed

+49
-16
lines changed

2 files changed

+49
-16
lines changed

README.md

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,59 @@
11
# Chatr
2-
A Discord XP bot
2+
A free and open-sourced Discord XP Bot.
3+
![Bot](https://img.shields.io/badge/Invite%20Chatr-5865F2?style=for-the-badge&logo=discord&logoColor=white)
4+
![Discord](https://img.shields.io/discord/1249813817706283019?style=for-the-badge&logo=discord&logoColor=white&label=Support%20Server&color=%235865F2)
35

4-
> [!CAUTION]
5-
> **Chatr** is currently in development and is open-sourced. The bot is functional in this state, however it shouldn't be used
6+
Please report bugs in `bug-reports` on our server or open an issue on this repo!
7+
8+
# Features
9+
- Earn XP from your messages!
10+
- Customisable xp cooldown on messages
11+
- Online leaderboard
12+
- Rankcard
13+
- Transfer your points from other bots!
14+
- MEE6
15+
- Polaris
16+
- Lurkr
17+
- Other bots soon
18+
19+
> [!WARNING]
20+
> **Chatr** has entered Beta! (don't worry, we will deal with the headaches for you)
21+
22+
# Developer Instructions
23+
24+
This a project created using (Bun)[https://bun.sh]
625

726
To install dependencies:
827

928
```bash
1029
bun install
1130
```
1231

13-
To run:
14-
32+
Run the **API**
33+
```bash
34+
bun run dev:api
35+
```
36+
Run the **Bot**
1537
```bash
16-
bun run index.ts
38+
bun run dev:bot
1739
```
1840

19-
This project was created using `bun init` in bun v1.1.10. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
2041

2142
# Changelog
22-
* Soon
43+
## Beta 0.1
44+
Thanks to @ToastedDev for his contributions to the bot. Here are some changes that were made
45+
* General formatting fixes (#8)
46+
* Refactored the database to be more performant (#13)
47+
* Added a message cooldown (#14)
48+
* Added a rankcard to /xp (#17)
49+
* User management (#19)
50+
* Added syncing (#24)
51+
52+
# Roadmap
53+
* Rewritten site using NextJS
54+
* Auto-updating cached user information
55+
* Better privacy controls
56+
* Live updates
57+
* Track guilds and users xp
58+
59+
Want to add more features? Join our server (linked above) and add a post to `feature-requests`

api/index.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -431,18 +431,14 @@ app.get("/", async (_req, res) => {
431431
res.render("index", { botInfo });
432432
});
433433

434+
app.get("/invite", (_req, res) => res.status(308).redirect("https://discord.com/oauth2/authorize?client_id=1245807579624378601&permissions=1099780115520&integration_type=0&scope=bot+applications.commands"));
435+
436+
app.get('/support', (_req, res) => res.status(308).redirect('https://discord.gg/fpJVTkVngm'));
437+
434438
app.use((_req, res) => {
435439
res.status(404).render("error", { error: { status: 404, message: "Page doesn't exist" } });
436440
});
437441

438-
app.get("/invite", (_req, res) =>
439-
res
440-
.status(308)
441-
.redirect(
442-
"https://discord.com/oauth2/authorize?client_id=1245807579624378601&permissions=1099780115520&integration_type=0&scope=bot+applications.commands",
443-
)
444-
);
445-
446442
app.listen(PORT, () => {
447443
console.log(`Server running on http://localhost:${PORT}`);
448444
});

0 commit comments

Comments
 (0)