refont
This commit is contained in:
parent
2da84f5d71
commit
5717f9874a
2 changed files with 4 additions and 4 deletions
6
app.js
6
app.js
|
|
@ -11,13 +11,13 @@ const client = new Client({
|
|||
]
|
||||
});
|
||||
|
||||
client.once(Events.MessageCreate, (message) => {
|
||||
client.on(Events.MessageCreate, (message) => {
|
||||
if(message.content.toLocaleLowerCase().includes("quoi")) {
|
||||
message.reply(`feur !`);
|
||||
message.reply(message.content.replace("quoi","feur"));
|
||||
}
|
||||
});
|
||||
|
||||
client.once(Events.ClientReady, () => {
|
||||
client.on(Events.ClientReady, () => {
|
||||
console.log(`Hello World !`);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ skip if in the middle of a long sentence (je sais pas quoi faire demain)
|
|||
const answers = [
|
||||
...Array(10).fill('feur'),
|
||||
'# feur',
|
||||
'||quoicoubeh|| feur'
|
||||
'||coubeh|| feur'
|
||||
];
|
||||
|
||||
export default class BasicDetector extends Detector {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue