Skip to content

Commit

Permalink
Make some properties readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
zajrik committed Jul 14, 2017
1 parent 0865c33 commit b96a067
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DMManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export class DMManager extends Plugin implements IPlugin
public static readonly dmManager: (guild: string) => PluginConstructor = dmManagerFactory;
public static readonly DMManager: PluginConstructor = DMManager;

public name: string = 'DMManager';
public readonly name: string = 'DMManager';

private client: Client;
private readonly client: Client;
private readonly storage: ClientStorage;
private readonly _guild: string;
private guild: Guild;
private _guild: string;
private storage: ClientStorage;
private channels: Collection<string, TextChannel>;

public constructor(client: Client, guild: string = '')
Expand Down

0 comments on commit b96a067

Please sign in to comment.