add verbs
This commit is contained in:
parent
3def4c807e
commit
6f7616823f
5 changed files with 13 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,4 +1,2 @@
|
|||
/node_modules
|
||||
|
||||
.env
|
||||
|
||||
.env
|
||||
3
app.js
3
app.js
|
|
@ -11,6 +11,7 @@ const client = new Client({
|
|||
]
|
||||
});
|
||||
|
||||
/*
|
||||
client.on(Events.MessageCreate, (message) => {
|
||||
if(message.content.toLocaleLowerCase().includes("quoi")) {
|
||||
message.reply(message.content.replace("quoi","feur"));
|
||||
|
|
@ -20,5 +21,5 @@ client.on(Events.MessageCreate, (message) => {
|
|||
client.on(Events.ClientReady, () => {
|
||||
console.log(`Hello World !`);
|
||||
});
|
||||
|
||||
*/
|
||||
client.login(process.env.DISCORDTOKEN);
|
||||
8
data/index.js
Normal file
8
data/index.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { createRequire } from 'module';
|
||||
const require = createRequire(import.meta.url);
|
||||
|
||||
const toInfinitiveJson = require('./toInfinitive.json');
|
||||
const verbsJson = require('./verbs.json');
|
||||
|
||||
export const toInfinitive = toInfinitiveJson;
|
||||
export const verbs = verbsJson;
|
||||
1
data/toInfinitive.json
Normal file
1
data/toInfinitive.json
Normal file
File diff suppressed because one or more lines are too long
1
data/verbs.json
Normal file
1
data/verbs.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue