rename: Follow the camelCase by filename and foldername

This commit is contained in:
Siwoo Jeon 2024-10-04 21:50:34 +09:00
parent 84facc8e6f
commit 87fd5f0ab9
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA
5 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ const config = new Config()
// Load pieces // Load pieces
import './interaction-handlers/_load' import './interaction-handlers/_load'
import './listeners/_load' import './listeners/_load'
import './Commands/_load' import './commands/_load'
const release = version const release = version
.slice((semver.coerce(version)?.toString() + '-').length) .slice((semver.coerce(version)?.toString() + '-').length)

View file

@ -1,6 +1,6 @@
import './learning_data'
import './deleteLearn' import './deleteLearn'
import './information' import './information'
import './learnedData'
import './learn' import './learn'
import './help' import './help'
import './list' import './list'

View file

@ -10,7 +10,7 @@ import { ApplyOptions } from '@sapphire/decorators'
usage: '머핀아 학습데이터량', usage: '머핀아 학습데이터량',
}, },
}) })
class LearnDataCommand extends Command { class LearnedDataCommand extends Command {
public registerApplicationCommands(registry: Command.Registry) { public registerApplicationCommands(registry: Command.Registry) {
registry.registerChatInputCommand(builder => registry.registerChatInputCommand(builder =>
builder.setName(this.name).setDescription(this.description), builder.setName(this.name).setDescription(this.description),
@ -50,7 +50,7 @@ ${user.username}님이 가르쳐준 단어: ${userData.length}개`)
} }
void container.stores.loadPiece({ void container.stores.loadPiece({
piece: LearnDataCommand, piece: LearnedDataCommand,
name: 'learn_data', name: 'learnedData',
store: 'commands', store: 'commands',
}) })

View file

@ -1 +1 @@
import('./Client').then(a => new a.default().login()) import('./client').then(a => new a.default().login())

View file

@ -1,6 +1,6 @@
import previewWarning from './previewWarning' import previewWarning from './previewWarning'
import { NODE_ENV } from './env' import { NODE_ENV } from './env'
import ChatBot from './ChatBot' import ChatBot from './chatBot'
import Config from './config' import Config from './config'
import noPerm from './noPerm' import noPerm from './noPerm'