Skip to content

Commit

Permalink
fix: I forgot the Case Sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
MDCYT committed Oct 2, 2022
1 parent 382b9a2 commit 0b38dc0
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion src/classes/Structures/User/Member.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { User } = require("./User");
const { User } = require("./user");

class Member {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/classes/Structures/User/MemberBan.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { UserSummary } = require('./UserSummary');
const { UserSummary } = require('./usersummary');

class MemberBan {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/classes/Structures/User/User.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const guser = require('../../../Helper/Members.js')
const guser = require('../../../helper/members.js')

class User {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/classes/client/Client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { EventEmitter } = require('events')
const { ClientWebSocket } = require('./WebSocket')
const { ClientWebSocket } = require('./websocket')

/**
* The main class for the Guilded.js library
Expand Down
12 changes: 6 additions & 6 deletions src/classes/client/WebSocket.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const { EventEmitter } = require("events");
const { WebSocket } = require("ws");
const { Message } = require("../Structures/Message");
const { User } = require("../Structures/User/User");
const { Member } = require("../Structures/User/Member");
const { MemberBan } = require("../Structures/User/MemberBan");
const { Webhook } = require("../Structures/Webhook");
const { Reaction } = require("../Structures/Reaction");
const { Message } = require("../structures/message");
const { User } = require("../structures/user/user");
const { Member } = require("../structures/user/member");
const { MemberBan } = require("../structures/user/memberban");
const { Webhook } = require("../structures/webhook");
const { Reaction } = require("../structures/reaction");

/**
* The ClientWebSocket class
Expand Down
8 changes: 4 additions & 4 deletions src/classes/structures/Message.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const msgs = require("../../Helper/Messages");
const guser = require("../../Helper/Members");
const { User } = require("./User/User");
const { Reaction } = require("./Reaction");
const msgs = require("../../helper/messages");
const guser = require("../../helper/members");
const { User } = require("./user/user");
const { Reaction } = require("./reaction");

/**
* Represents a message
Expand Down
6 changes: 3 additions & 3 deletions src/helper/Members.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { endpoints } = require('./Endpoints')
const { endpoints } = require('./endpoints')
const axios = require('axios')
const { User } = require('../Classes/Structures/User/User')
const { Member } = require('../Classes/Structures/User/Member')
const { User } = require('../classes/structures/user/user')
const { Member } = require('../classes/structures/user/member')

module.exports = new (class {
/**
Expand Down
6 changes: 3 additions & 3 deletions src/helper/Messages.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { endpoints } = require("./Endpoints");
const { endpoints } = require("./endpoints");
const axios = require("axios");

module.exports = {
Expand Down Expand Up @@ -47,7 +47,7 @@ module.exports = {
.then((res) => {
//Make a new message object
const messageData = res.data.message;
const Messages = require("../Classes/Structures/Message");
const Messages = require("../classes/structures/message");
const Message = new Messages.Message(authToken, messageData);
return Message;
})
Expand Down Expand Up @@ -104,7 +104,7 @@ module.exports = {
.then((res) => {
//Make a new message object
const messageData = res.data.message;
const Messages = require("../Classes/Structures/Message");
const Messages = require("../classes/structures/message");
const Message = new Messages.Message(authToken, messageData);
return Message;
})
Expand Down
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

module.exports.Client = require('./Classes/Client/Client.js').Client;
module.exports.Message = require('./Classes/Structures/Message.js').Message;
module.exports.MessageEmbed = require('./Classes/Structures/MessageEmbed.js').MessageEmbed;
module.exports.Client = require('./classes/client/client.js').Client;
module.exports.Message = require('./classes/structures/message.js').Message;
module.exports.MessageEmbed = require('./classes/structures/messageEmbed.js').MessageEmbed;
module.exports.Version = require('../package.json').version;
module.exports.ClientWebSocket = require('./Classes/Client/WebSocket.js').ClientWebSocket;
module.exports.ClientWebSocket = require('./classes/client/websocket.js').ClientWebSocket;

0 comments on commit 0b38dc0

Please sign in to comment.