mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
カラーコードの表示がタグ化しないように
This commit is contained in:
parent
cb0878fab1
commit
c63341d8a6
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export default class extends Module {
|
||||||
const b = Math.floor(Math.random() * 256);
|
const b = Math.floor(Math.random() * 256);
|
||||||
// rgbをhexに変換する
|
// rgbをhexに変換する
|
||||||
const hex = `${r.toString(16)}${g.toString(16)}${b.toString(16)}`;
|
const hex = `${r.toString(16)}${g.toString(16)}${b.toString(16)}`;
|
||||||
const message = `RGB: ${r}, ${g}, ${b} (# ${hex})とかどう?`
|
const message = `RGB: ${r}, ${g}, ${b} (\`#${hex})\`とかどう?`
|
||||||
|
|
||||||
setTimeout(async () => {
|
setTimeout(async () => {
|
||||||
const file = await this.getColorSampleFile(r,g,b);
|
const file = await this.getColorSampleFile(r,g,b);
|
||||||
|
|
Loading…
Reference in a new issue