diff --git a/minecraft_discord_bridge/__init__.py b/minecraft_discord_bridge/__init__.py index f102a9c..68e2d13 100644 --- a/minecraft_discord_bridge/__init__.py +++ b/minecraft_discord_bridge/__init__.py @@ -1 +1,20 @@ +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# + __version__ = "0.0.1" diff --git a/minecraft_discord_bridge/__main__.py b/minecraft_discord_bridge/__main__.py index 4653883..d8d55e9 100644 --- a/minecraft_discord_bridge/__main__.py +++ b/minecraft_discord_bridge/__main__.py @@ -1,3 +1,22 @@ +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# + if __name__ == "__main__": from minecraft_discord_bridge import minecraft_discord_bridge minecraft_discord_bridge.main() diff --git a/minecraft_discord_bridge/auth_server.py b/minecraft_discord_bridge/auth_server.py index 4297972..a2e4e37 100644 --- a/minecraft_discord_bridge/auth_server.py +++ b/minecraft_discord_bridge/auth_server.py @@ -1,3 +1,22 @@ +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# + from datetime import datetime from quarry.net.server import ServerFactory, ServerProtocol diff --git a/minecraft_discord_bridge/config.py b/minecraft_discord_bridge/config.py index f05c77e..45a7925 100644 --- a/minecraft_discord_bridge/config.py +++ b/minecraft_discord_bridge/config.py @@ -1,3 +1,22 @@ +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# + import json import logging diff --git a/minecraft_discord_bridge/database.py b/minecraft_discord_bridge/database.py index 25c0553..988c9c5 100644 --- a/minecraft_discord_bridge/database.py +++ b/minecraft_discord_bridge/database.py @@ -1,3 +1,22 @@ +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# + from datetime import datetime, timedelta, timezone from sqlalchemy import Column, String, Integer, DateTime, ForeignKey diff --git a/minecraft_discord_bridge/database_session.py b/minecraft_discord_bridge/database_session.py index 3338687..81eda06 100644 --- a/minecraft_discord_bridge/database_session.py +++ b/minecraft_discord_bridge/database_session.py @@ -1,3 +1,22 @@ +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# + from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker diff --git a/minecraft_discord_bridge/elasticsearch_logger.py b/minecraft_discord_bridge/elasticsearch_logger.py index 37de930..c3cf991 100644 --- a/minecraft_discord_bridge/elasticsearch_logger.py +++ b/minecraft_discord_bridge/elasticsearch_logger.py @@ -1,3 +1,22 @@ +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# + import time from enum import Enum import logging diff --git a/minecraft_discord_bridge/minecraft_discord_bridge.py b/minecraft_discord_bridge/minecraft_discord_bridge.py index d577231..5763c08 100755 --- a/minecraft_discord_bridge/minecraft_discord_bridge.py +++ b/minecraft_discord_bridge/minecraft_discord_bridge.py @@ -1,4 +1,22 @@ #!/usr/bin/env python +# +# Copyright (c) 2018 Tristan Gosselin-Hane. +# +# This file is part of minecraft-discord-bridge +# (see https://github.com/starcraft66/minecraft-discord-bridge). +# +# 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. +# from __future__ import print_function