Copy world name

This commit is contained in:
Natsumi
2023-02-09 22:18:01 +13:00
parent 6b1ff166aa
commit a6fef7a03b
3 changed files with 11 additions and 1 deletions

View File

@@ -17622,6 +17622,14 @@ speechSynthesis.getVoices();
this.copyToClipboard(`https://vrchat.com/home/world/${worldId}`);
};
$app.methods.copyWorldName = function (worldName) {
this.$message({
message: 'World name copied to clipboard',
type: 'success'
});
this.copyToClipboard(worldName);
};
$app.methods.copyUser = function (userId) {
this.$message({
message: 'User URL copied to clipboard',