Skip to content

Commit 26e6f13

Browse files
committed
refactor: clean up formatting and redundant code across multiple files
1 parent ed1b73b commit 26e6f13

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

apps/rainy/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ If you want to add Rainy to your discord server, please use the following link:
2424

2525
[![Badge]](https://discord.com/oauth2/authorize?client_id=760782052986978335&scope=bot)
2626

27-
2827
<!---------------------------------[ Badges ]---------------------------------->
2928

3029
[Badge]: https://img.shields.io/badge/discord-INVITE-blue/Buttons?style=for-the-badge&labelColor=blue&color=blue&logoColor=white&logo=Discord

apps/rainy/src/rainy.service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@ export class RainyService implements OnApplicationBootstrap {
117117

118118
this.client.on(Events.GuildCreate, async (guild) => {
119119
try {
120-
await indexGuild(
121-
this.guildsModel,
122-
guild,
123-
this.client.user.id,
124-
);
120+
await indexGuild(this.guildsModel, guild, this.client.user.id);
125121
} catch (errorOrException) {
126122
this.logger.error(`${Events.GuildCreate}: ${errorOrException}`);
127123
}

apps/test/src/test.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ export class TestService implements OnApplicationBootstrap {
111111
},
112112
});
113113

114-
const token =
115-
'';
114+
const token = '';
116115

117116
await this.client.login(token);
118117
this.rest.setToken(token);

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"version": "2.0.0",
44
"description": "Open your eyes",
55
"author": {
6-
"name": "alexzedim",
7-
"email": "907696+alexzedim@users.noreply.github.com"
6+
"name": "alexzedim"
87
},
98
"bugs": {
109
"url": "https://github.com/alexzedim/cmnw-oraculum/issues",

0 commit comments

Comments
 (0)