mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
chore: add success log for numeric channel join
This commit is contained in:
1 parent
05f090d83a
commit
62b5b09857
2 files changed
+2
-1
No files matched your search
@@ -275,6 +275,7 @@ export class TS3Client extends EventEmitter {
|
|||||||
if (isNumeric) {
|
if (isNumeric) {
|
||||||
try {
|
try {
|
||||||
await clientMove(this.client, this.clientId, BigInt(channelName), password);
|
await clientMove(this.client, this.clientId, BigInt(channelName), password);
|
||||||
|
this.logger.info({ channelName }, "Joined channel");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.logger.error({ err, channelName }, "Failed to join channel");
|
this.logger.error({ err, channelName }, "Failed to join channel");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>默认频道ID(可选)</label>
|
<label>默认频道ID(可选)</label>
|
||||||
<input v-model="channelId" :disabled="!!defaultChannel" placeholder="如 1234" class="input" :class="{ disabled: !!defaultChannel }" />
|
<input v-model="channelId" :disabled="!!defaultChannel" placeholder="如 12" class="input" :class="{ disabled: !!defaultChannel }" />
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-row">
|
<div class="btn-row">
|
||||||
<button class="btn-secondary" @click="currentStep = 0">上一步</button>
|
<button class="btn-secondary" @click="currentStep = 0">上一步</button>
|
||||||
|
|||||||
Reference in new issue
Block a user