Skip to content

Commit

Permalink
make everything lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed Dec 1, 2018
1 parent 4b1a7ac commit 1bd83d3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Client.js → src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const EventEmitter = require('events');
const { setTimeout, clearTimeout } = require('timers');
const fetch = require('node-fetch');
const transports = require('./transports');
const { RPCCommands, RPCEvents } = require('./Constants');
const { pid: getPid, uuid } = require('./Util');
const { RPCCommands, RPCEvents } = require('./constants');
const { pid: getPid, uuid } = require('./util');

function subKey(event, args) {
return `${event}${JSON.stringify(args)}`;
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';

const util = require('./Util');
const util = require('./util');

module.exports = {
Client: require('./Client'),
Client: require('./client'),
register(id) {
return util.register(`discord-${id}`);
},
Expand Down
4 changes: 2 additions & 2 deletions src/transports/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

module.exports = {
ipc: require('./IPC'),
websocket: require('./WebSocket'),
ipc: require('./ipc'),
websocket: require('./websocket'),
};
2 changes: 1 addition & 1 deletion src/transports/IPC.js → src/transports/ipc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const net = require('net');
const EventEmitter = require('events');
const fetch = require('node-fetch');
const { uuid } = require('../Util');
const { uuid } = require('../util');

const OPCodes = {
HANDSHAKE: 0,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1bd83d3

Please sign in to comment.