Skip to content

Commit aea13a4

Browse files
committed
project: OpenTTD Discord Bot
1 parent e56a35a commit aea13a4

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed

app/src/Resources.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import Project from "./resources/project.png";
1111
import Gamepad from "./resources/gamepad.png";
1212
import Tree from"./resources/tree.png";
1313
import CV from"./resources/CV.png";
14+
import Discord from"./resources/discord.png";
1415

1516
export default class Resources {
1617
static startButton = start;
@@ -26,4 +27,5 @@ export default class Resources {
2627
static gamepad = Gamepad;
2728
static tree = Tree;
2829
static cv = CV;
30+
static discord = Discord;
2931
}

app/src/code/projects/Projects.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Resources from "../../Resources";
22

33
const ttsg = require("./ttsg.txt");
44
const att = require("./att.txt");
5+
const ottddiscordbot = require("./ottddiscordbot.txt");
56

67
export interface Project {
78
title: string,
@@ -22,6 +23,11 @@ export interface ProjectCategory {
2223

2324

2425
export const ProjectCategories = {
26+
discord :
27+
{
28+
name : "Discord Bots",
29+
iconUrl : Resources.discord
30+
},
2531
games :
2632
{
2733
name : "Games",
@@ -30,6 +36,18 @@ export const ProjectCategories = {
3036
}
3137

3238
export const Projects : Project[] = [
39+
{
40+
projectCategory: ProjectCategories.discord,
41+
title: "OpenTTD Discord Bot",
42+
id : "OttdDiscord",
43+
startDate: "2020",
44+
iconUrl: Resources.discord,
45+
path: ottddiscordbot,
46+
repository: "https://github.com/shoter/OpenttdDiscord",
47+
photosPaths : [
48+
"https://raw.githubusercontent.com/shoter/Homepage/master/media/OpenttdDiscordBot.png"
49+
]
50+
},
3351
{
3452
projectCategory: ProjectCategories.games,
3553
title: "Turn time strategy game",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Openttd Discord
2+
3+
![GitHub](https://img.shields.io/github/license/shoter/OpenttdDiscord?style=plastic)
4+
![Test badge](https://github.com/shoter/OpenttdDiscord/actions/workflows/test.yml/badge.svg)
5+
[![codecov](https://codecov.io/gh/shoter/OpenttdDiscord/branch/master/graph/badge.svg?token=1EC4AKIMD3)](https://codecov.io/gh/shoter/OpenttdDiscord)
6+
7+
Provides ability to integrate Discord with your OpenTTD servers.
8+
9+
## Functionalities
10+
11+
* Connects Discord channel to the Openttd Servers enabling communication between multiple servers and Discord.
12+
* Automatically translates ASCII emojis into Discord emojis and vice-versa.
13+
* Ability to execute rcon commands on server from Discord.
14+
* Ability to gather short reports from players about malicious behavior of other players
15+
* Contains information about connected clients
16+
* Contains last chat messages
17+
* Contains reason for the report
18+
* Some additional information
19+
* Creating auto-updated messages which can show status of current server.
20+
* It contains the same information as OpenTTD client on server browser screen.
21+
* Auto reply system
22+
* Players joining server are going to be welcomed with pre-defined message

app/src/resources/discord.png

1.14 KB
Loading

media/OpenttdDiscordBot.png

158 KB
Loading

0 commit comments

Comments
 (0)