mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
Remove usage of path.join for version export
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
const path = require('path');
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
Client: require('./client/Client'),
|
Client: require('./client/Client'),
|
||||||
Shard: require('./sharding/Shard'),
|
Shard: require('./sharding/Shard'),
|
||||||
@@ -31,5 +29,5 @@ module.exports = {
|
|||||||
User: require('./structures/User'),
|
User: require('./structures/User'),
|
||||||
VoiceChannel: require('./structures/VoiceChannel'),
|
VoiceChannel: require('./structures/VoiceChannel'),
|
||||||
|
|
||||||
version: require(path.join(__dirname, '..', 'package')).version,
|
version: require('../package').version,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user