Skip to content

Commit

Permalink
Update Copyrights
Browse files Browse the repository at this point in the history
  • Loading branch information
BreadMoirai committed Nov 30, 2017
1 parent 8eaf8c8 commit 0bba114
Show file tree
Hide file tree
Showing 142 changed files with 1,852 additions and 993 deletions.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,20 @@ jacocoTestReport {
}
}

//task aonoengoeiioa {
//
// def tree = fileTree('src').include('**/*.java')
// tree.each { File file ->
// if (!file.isDirectory()) {
// def lines = file.readLines()
// if (lines.get(15).length() != 0) {
// lines.add(15, '')
// file.write(lines.stream().collect(Collectors.joining('\n')));
// }
// }
// }
//}

//System.setProperty('java.awt.headless', 'false')
//import groovy.swing.SwingBuilder
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework;

import com.github.breadmoirai.breadbot.framework.command.CommandHandle;
Expand Down Expand Up @@ -53,4 +54,4 @@ public interface BreadBotClient {


Map<String, CommandHandle> getCommandMap();
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,10 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework;

public interface CommandEngine {

void handle(CommandEvent event);

}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework;

import com.github.breadmoirai.breadbot.framework.parameter.CommandArgument;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework;

import net.dv8tion.jda.core.entities.Message;
Expand All @@ -24,4 +25,4 @@
public interface CommandEventFactory {

CommandEvent createEvent(GenericGuildMessageEvent event, Message message, BreadBotClient client);
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework;

import com.github.breadmoirai.breadbot.framework.builder.BreadBotClientBuilder;
Expand Down Expand Up @@ -47,4 +48,4 @@ default boolean loadJSONConfig(long guildId, JSONObject jsonObject) {
return false;
}

}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
/* Copyright 2017 Ton Ly
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
/*
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.github.breadmoirai.breadbot.framework.annotation;

import java.lang.annotation.*;
Expand All @@ -34,4 +36,3 @@
*/
String value() default "";
}

Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework.annotation;

import java.lang.annotation.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework.annotation;

import java.lang.annotation.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework.annotation.command;

import java.lang.annotation.*;
Expand All @@ -27,4 +28,4 @@

String[] value() default {};

}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 Ton Ly (BreadMoirai)
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework.annotation.command;

import java.lang.annotation.*;
Expand All @@ -26,4 +27,4 @@

int limit() default 0;

}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
/* Copyright 2017 Ton Ly
/*
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.github.breadmoirai.breadbot.framework.annotation.command;

import java.lang.annotation.*;
Expand All @@ -26,4 +28,4 @@
* @return a non-null, non-empty String
*/
String value();
}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
/* Copyright 2017 Ton Ly
/*
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.github.breadmoirai.breadbot.framework.annotation.command;

import java.lang.annotation.*;
Expand All @@ -26,4 +28,4 @@
* @return a non-null, non-empty String
*/
String value();
}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
/* Copyright 2017 Ton Ly
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/*
* Copyright 2017 Ton Ly (BreadMoirai)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.github.breadmoirai.breadbot.framework.annotation.command;

import java.lang.annotation.*;
Expand All @@ -28,4 +30,4 @@
public @interface MainCommand {

String[] value() default {};
}
}
Loading

0 comments on commit 0bba114

Please sign in to comment.