Skip to content

Commit

Permalink
feat: Add locale variable for i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
adan-ea committed Feb 19, 2024
1 parent d6143d1 commit a4128e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "adroi.d.ea",
"description": "Types for the discord bot of the same name: Adroid_ea.",
"version": "1.1.0",
"version": "1.2.0",
"author": "adan-ea",
"license": "AGPL-3.0",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export interface IGuild {
id: string;
locale: string;
modules: {
auditLogs: IAuditLogsModule;
qotd: IQOTDModule;
Expand Down Expand Up @@ -161,6 +162,7 @@ export interface ITMStreamersData {
export function createGuildObject(guild: any): IGuild {
return {
id: guild.id,
locale: 'en',
modules: {
auditLogs: {
enabled: false,
Expand Down

0 comments on commit a4128e2

Please sign in to comment.