tangled
alpha
login
or
join now
thevoid.cafe
/
voidy
0
fork
atom
A powerful and extendable Discord bot, with it's own module system :3
thevoid.cafe/projects/voidy
0
fork
atom
overview
issues
pulls
pipelines
✨ Add "description" to Feature class
Jo
1 year ago
f3871cd0
6c9ad90d
+4
2 changed files
expand all
collapse all
unified
split
src
features
chatbot
feature.json
utils
classes
Feature.ts
+1
src/features/chatbot/feature.json
···
1
1
{
2
2
"name": "chatbot",
3
3
+
"description": "Send random messages. Allows configuring profiles, messages, events and special filters.",
3
4
"version": "0.1.0"
4
5
}
+3
src/utils/classes/Feature.ts
···
1
1
export class Feature {
2
2
constructor(options: FeatureOptions) {
3
3
this.name = options.name;
4
4
+
this.description = options.description;
4
5
this.version = options.version;
5
6
}
6
7
7
8
public name: string;
9
9
+
public description: string;
8
10
public version: string;
9
11
}
10
12
11
13
export interface FeatureOptions {
12
14
name: string,
15
15
+
description: string,
13
16
version: string,
14
17
}